Automatic column widths on import of XML file

Scott Prentice sp14 at leximation.com
Mon Feb 23 13:26:27 PST 2015


Fei Min...

FM won't auto-adjust table columns in any useful way. The only way I 
know of is to write a script or plugin to analyze the contents of the 
cells and do the width adjustment based on some predefined logic (widest 
graphic, or amount of text, etc.).

Would love to hear I'm wrong .. but hot holding my breath.

...scott

On 2/23/15 9:16 AM, Fei Min Lorente wrote:
>
> Hi folks:
>
> I found this discussion from 2008: 
> https://forums.adobe.com/message/1279946#1279946 
> <https://forums.adobe.com/message/1279946#1279946>, and this helpful 
> answer from Russ Ward in 2010: 
> https://forums.adobe.com/thread/577820?tstart=0, but I don’t see the 
> solution that I’m looking for. My manager (a software development guy) 
> would like to create an XML file that I can import into FrameMaker 
> that doesn’t specify the width of each column. He’s taking output from 
> Jira, and people can create tables in the Description field there, but 
> he has no way of knowing how wide the columns are. He figures that if 
> HTML can automatically size the columns to suit the contents, surely 
> FrameMaker can do this too (I’m not so sure).
>
> I’ve tried it myself, and the column widths in the table template 
> apply when you don’t specify widths in XML. If you have more columns 
> than are in your template, it seems to use the width of the last 
> templated column. And the tables might contain graphics as well as text.
>
> Anyone have any better ideas?
>
> I’m using FrameMaker 10 on Windows 7. I think my manager is using Perl 
> or some other scripting language. Jira outputs HTML as well as some 
> other text format.
>
> Fei Min Lorente
>
> Senior Technical Communicator
>
> Medical and Wireless Division
>
> feimin.lorente at onsemi.com <mailto:feimin.lorente at onsemi.com>
>
> +1 519-884-9696 ext. 2297 | Waterloo office
>
> +1 519-831-4931 | mobile
>
> +1 905-631-5724 | fax
>
> www.onsemi.com <http://www.onsemi.com/>
>
>
>
> _______________________________________________
>
>
> You are currently subscribed to framers as sp14 at leximation.com.
>
> Send list messages to framers at lists.frameusers.com.
>
> To unsubscribe send a blank email to
> framers-unsubscribe at lists.frameusers.com
> or visit http://lists.frameusers.com/mailman/options/framers/sp14%40leximation.com
>
> Send administrative questions to listadmin at frameusers.com. Visit
> http://www.frameusers.com/ for more resources and info.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20150223/ddb9ee29/attachment.htm>


More information about the framers mailing list