• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Property for determining text frame orientation?

New Here ,
Aug 05, 2011 Aug 05, 2011

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

TOPICS
Scripting

Views

1.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Aug 05, 2011 Aug 05, 2011

Hi.

Is what you want convert to "縦組み(tate-gumi)" text frame?

スクリーンショット(2011-08-06 13.43.39).png

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.

Votes

Translate

Translate
Contributor ,
Aug 05, 2011 Aug 05, 2011

Copy link to clipboard

Copied

Hi.

Is what you want convert to "縦組み(tate-gumi)" text frame?

スクリーンショット(2011-08-06 13.43.39).png

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 10, 2011 Aug 10, 2011

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines