Custom Ruling and Shading of Tables via xml and EDD rules

Rick Quatro rick at rickquatro.com
Wed Jul 10 04:08:16 PDT 2013


Hi Ed,

 

I am not sure if this is possible with stock FrameMaker but it could be done automatically with an ExtendScript script when you open the file. If you are interested in exploring this, please contact me off-list. Thanks.

 

Rick

 

Rick Quatro

Carmen Publishing Inc.

585-283-5045

rick at frameexpert.com

 

 

 

From: framers-bounces at lists.frameusers.com [mailto:framers-bounces at lists.frameusers.com] On Behalf Of Ed Nodland
Sent: Tuesday, July 09, 2013 7:41 PM
To: framers at lists.frameusers.com
Subject: Custom Ruling and Shading of Tables via xml and EDD rules

 

I have XML files that include tables.  Some cells include a class such as:

<td class="cheader"> Centered text with gray shading

<td class="header"> Left justified text with gray shading

<td class="cbody"> Centered text not shaded

<td class="body"> Left justified text not shaded

 

I want to be able to open the XML file using FM10 and have the cells formatted.

 

I do not see a "Custom Ruling and Shading" EDD Rule that allows ruling and shading to be defined for a cell based on a Context Rule such as [class="cheader"]. 

 

Am I missing something?

 

It appears that using the table format styles are limited to an orderly set of rulings and shadings rather than being totally custom or XML attribute driven for specific rows or cells.

 

I can change the markup or take a totally different approach but I nered the format to be driven by the XML data not manual activity in Framemaker aftrer opening the XML file..

 

Any suggestions?

 

 Ed Nodland

 

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


More information about the framers mailing list