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

Extendscript for "By scaling to widths totalling ..."

Community Beginner ,
Jun 24, 2015 Jun 24, 2015

Copy link to clipboard

Copied


Hello,

I started from a script example found on this very useful forum that allows to reformat tables across a document. This is very useful when many new tables are imported from Word, Excel or any other source and need to be reformated all at once with the default document template. This involves many steps when done by hand like:

- changing table tag

- revert to default ruling and shading

- colapse the anchor line

- copy the table title from a body line to the table title line

- apply paragraph tag to the title line

- Reformat top row(s) as heading row(s)

- apply paragraph tags to paragraphs whithin the table cells

- Remove min or max rows height

- Resize columns "By scaling to widths totalling ..."

I have not been able to find a method for the last item that correspond to the following menu in FM11: Table -> Format -> resize colums -> By scaling to widths totalling ...".

I would appreciate any help to put me on the tracks for resizing columns in Fm Extendscript.

Cheers,

Bruno

TOPICS
Scripting

Views

327

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
Community Beginner ,
Jun 29, 2015 Jun 29, 2015

Copy link to clipboard

Copied

LATEST

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