Skip to main content
Participant
August 5, 2011
Answered

Property for determining text frame orientation?

  • August 5, 2011
  • 1 reply
  • 1308 views

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

This topic has been closed for replies.
Correct answer milligramme

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.

1 reply

milligramme
milligrammeCorrect answer
Inspiring
August 6, 2011

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.

Participant
August 10, 2011

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.