Copy link to clipboard
Copied
Has anyone found a property to set a text frame orientation? I am writing a script in the Japanese version of InDesign to add a vertical index on the side of a page. I can do everything except set the orientation to vertical by a script. Pulling my hair out trying to determine what makes a text frame vertical...
Leif
Hi.
Is what you want convert to "縦組み(tate-gumi)" text frame?
text frame can convert like this code
var textframe_obj;
textframe_obj.parentStory.storyPreferences.storyOrientation = StoryHorizontalOrVertical.VERTICAL;
var cell_obj;
cell_obj.writingDirection = HorizontalOrVertical.VERTICAL;
I posted blog-entry about this:
http://www.milligramme.cc/wp/archives/570
Thankyou
mg.
Copy link to clipboard
Copied
Hi.
Is what you want convert to "縦組み(tate-gumi)" text frame?
text frame can convert like this code
var textframe_obj;
textframe_obj.parentStory.storyPreferences.storyOrientation = StoryHorizontalOrVertical.VERTICAL;
var cell_obj;
cell_obj.writingDirection = HorizontalOrVertical.VERTICAL;
I posted blog-entry about this:
http://www.milligramme.cc/wp/archives/570
Thankyou
mg.
Copy link to clipboard
Copied
This is absolutely what I was looking for. Thank you so much. You've saved me many hours of work trying to figure this out.