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

Table cell alignment problem in FrameMaker 7.1 XML

New Here ,
Dec 30, 2009 Dec 30, 2009

Hai All,

I am using FrameMaker 7.1(Structure) and trying to align the table cell through “colspec” element using the “align” attribute, it is not working. But i have tried “colwidth” (eg., “colwidth="120.5"”) it is working fine when flowing the XML in to FrameMaker.

I have defined the colspec in rules file also find the below.

element "colspec"

{

is fm colspec;

attribute "colnum" is fm property column number;

attribute "colname" is fm property column name;

attribute "align" is fm property cell alignment type;

attribute "charoff" is fm property cell alignment offset;

attribute "char" is fm property cell alignment character;

attribute "colwidth" is fm property column width;

attribute "colsep" is fm property column ruling;

attribute "rowsep" is fm property row ruling;

}

Please provide some solution.

Thanks in Advance

Mathew.cj

TOPICS
Structured
1.1K
Translate
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
Guide ,
Jan 04, 2010 Jan 04, 2010
LATEST

Matthew,

I do not use colspec elements, so this is a guess.

A colspec element in the XML does not become a table part when read into FrameMaker. Cell alignment properties are associated with the table cells themselves. So, in your EDD, you need to  find the element that is used as a Table Cell element and give it additional attributes named align and valign. Then create format rules for each value of each attribute. If you need only horizontal alignment, you can add just the align attribute. The read/write rules tell FrameMaker how to interpret some of the elements and attributes in XML files, but the EDD does the actual formatting.

I suggest reading the Structure Application Developer Guide for details about CALS tables and the colspec element.

Van

Translate
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