Skip to main content
1-Visitor
January 29, 2014
Question

S1000D PDF output ignores table column dimensions

  • January 29, 2014
  • 1 reply
  • 1709 views

Ok, I'm using 5.3 and I've created some S1000D PDF output and I've noticed that the tables ignore the column settings. Instead of getting columns of variable width I get columns of equal width.

I have clearly set the columns as follows

<table colsep="1" frame="all" rowsep="1">

<title>Something</title>

<tgroup cols="7" tgstyle="1"><colspec

colwidth="2.00pi"/><colspec colwidth="7.50pi"/>

<colspec colwidth="3.00pi"/><colspec

colwidth="2.00pi"/><colspec colwidth="10.00pi"/>

<colspec colwidth="7.00pi"/><colspec

colwidth="3.00pi"/>

However in the output the columns are equally divided between 38 pi, which is chaos. I have content running across cell borders etc.

How can I force the output to use the column widths I've entered?

1 reply

1-Visitor
January 29, 2014

Further to this, if you change the colspec measurement to "pc" or "mm" it reverts back to "pi" with the first CSDB save, except for some random columns. If you use the toolbar to create a PDF the columns which use "pc" are rendered with the proper column width, the others with "pi" are evenly distributed.

1-Visitor
January 30, 2014

Here are some screenshots of the error.

Source Code, showing the variable width colwidth attributes:

S1000D_PDF_Editor_Source.jpg

The table in the editor clearly shows variable column widths:

S1000D_PDF_Editor_View.jpg

S1000D PDF Output: divides all columns equally between 38 picas

S1000D_PDF_Output.jpg

1-Visitor
January 30, 2014

Hi Gregory,

You should file a support case for this, providing the document and stylesheet as attachments. Someone can help you sort it out or file an SPR for it. Be sure to include your screen snapshots. They show things nicely.

Here is the link to file a case:

https://www.ptc.com/appserver/cs/case/case_logger.jsp

Regards,

Jerry Tippie