Skip to main content
Jan 29, 2014 1:49 PM UTC
Question

S1000D PDF output ignores table column dimensions

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?

4 replies

Jan 29, 2014 6:59 PM UTC

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.

Jan 30, 2014 11:42 AM UTC

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

Jan 30, 2014 10:47 PM UTC

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