Quantcast
Channel: Adobe Community : 全コンテンツ - InDesignコミュニティフォーラム (Japan)
Viewing all articles
Browse latest Browse all 1392

Unable to access Mojikumi settings set by InDesign using jsx DOM

$
0
0

Hello all,

 

I am using Japanese InDesign version 7.5 on windows 7. I've set paragraph indent through mojikumi settings and trying to acces it through jsx object model. The following is what I did:

 

I have created a new Mojikumi set based on default LINE_END_ALL_ONE_HALF_EM_ENUM. All I have changed in new set is "Paragraph Mojikumi Indent" from none to 1 char. I want to access this setting from java script using its object model. I've tried the method paragraphObject.mojikumi.overrideMojikumiAkiList which seems to be the related method to access the customized settings. The output of the function I'm getting is a big array:

 

2,23,false,1,1,1,0,false,3,23,false,1,1,1,0,false,4,23,false,1,1,1,0,f alse,5,23,false,1,1,1,0,false,6,23,false,1,1,1,0,false,21,23,false,1,1 ,1,0,false,7,23,false,1,1,1,0,false,8,23,false,1,1,1,0,false,9,23,fals e,1,1,1,0,false,10,23,false,1,1,1,0,false,11,23,false

,1,1,1,0,false,12,23,false,1,1,1,0,false,24,23,false,1,1,1,0,false,25, 23,false,1,1,1,0,false,18,23,false,1,1,1,0,false,33,23,false,1,1,1,0,f alse,28,23,false,1,1,1,0,false,29,23,false,1,1,1,0,false,30,23,false,1 ,1,1,0,false,31,23,false,1,1,1,0,false,32,23,false,1,1,1,0

,false,1,23,false,1,1,1,0,false,26,23,false,1,1,1,0,false,27,23,false, 1,1,1,0,false

 

Of these values, how can I deterministically find the one that corresponds to paragraph mojikumi indent? Also the size of array seems to be changing as we add or change override values for diefferent mojikumi sets. So its definitely not based on array index.

 

API description says:

overrideMojikumiAkiListArray of
akiDoesNotFloat:Boolean
compressionPriority:Short Integer
desired:Real
maximum:Real
minimum:Real
Ordered array containing targetMojikumiClass:Short Integer
sideIsAfterTarget:Boolean
sideMojikumiClass:Short Integer
r/wThe mojikumi overrides for aki. Can return: Ordered array containing targetMojikumiClass:Short Integer, sideMojikumiClass:Short Integer, sideIsAfterTarget:Boolean, minimum:Real, desired:Real, maximum:Real, compressionPriority:Short Integer, akiDoesNotFloat:Boolean.

 

 

Any pointers to help links or any insights on how to  decode the above array deterministically for all mojikumi sets will be of great help to me.

 

Thanks,

Srikanth


Viewing all articles
Browse latest Browse all 1392

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>