[xep-support] Re: Table Width Problem

From: Kevin Brown <kevin_at_ADDRESS_REMOVED>
Date: Tue Aug 30 2016 - 12:31:11 PDT

To me, best practice is knowing what is a large table and what is not. Then rotate all large ones and not others using something like PMSI from Ken Holman or throwing a new page sequence for the rotated table in it’s own page sequence.

 

There could possibly be other tricks but without a complete knowledge of all the said cases and the XSL FO you are using, it is not possible to guess at solutions.

 

Some people actually format tables in a separate sequence to XEPOUT format and then make decisions based on the width … but this does not good if you change the game (meaning you change something like the width of the table/table columns to solve the issue). And this especially will not work if your tables are 100% wide because 100% of what?

 

Reduce the problem to scenarios:

 

1) Leave the table alone

2) Maybe rotate, maybe shrink

3) Rotate

 

Then maybe create a new XSL that uses all your page dimensions in two repeating sequences. One would be portrait and one would be landscape.

Format that document (to XEPOUT or even PDF) with all tables repeated in each sequence.

In other words, the result would be table 1 portrait, table 1 landscape, table 2 portrait, table 2 landscape …. Key is that you cannot have 100% for width of table unless you have only two options …. A table is either 100% of the width or 100% of the height (rotated).

If you do so to XEPOUT, you can do some measuring/calculations programmatically to determine what should be Option #1 (Leave it), Option #2 (Shrink it), Option #3 Rotate it

 

Now, you can either remark the original OR you could actually just copy the XEPOUT from the document you created or even the PDFs and use them as images in the final run of your document.

 

Kevin Brown

(650) 327-1000 Direct

(650) 328-8008 Fax

(925) 395-1772 Mobile

skype:kbrown01

 <mailto:kevin@renderx.com> kevin@renderx.com

 <mailto:sales@renderx.com> sales@renderx.com

 <http://www.renderx.com/> http://www.renderx.com

 

 

 

From: Xep-support [mailto:xep-support-bounces@renderx.com] On Behalf Of uwe.goersch@lhind.dlh.de
Sent: Sunday, August 07, 2016 9:25 AM
To: xep-support@renderx.com
Subject: [xep-support] Table Width Problem

 

Dear RenderX Support,

 

We encounter the following situation:

* We render input XML documents to PDF, the page format is A4 portrait and the available width is reduced by several margins that must be provided.

* The input XML documents contain (CALS) tables, some of which have a large width so that such tables cannot be rendered in a readable way without an appropriate action like reducing the font size or even rotating the table.

* We cannot calculate the table width from the input documents reliably because proportional column width is being used so that we do not know which table requires an appropriate action and we cannot apply the action to all tables.

 

What are the best practices to solve such a problem? Thank you very much in advance for your support!

 

Best regards,

Uwe Goersch

________________________________

Uwe Görsch

Senior Consultant Technical Documentation

 

Lufthansa Industry Solutions BS GmbH

HAM AB/M-D

Sportallee 54 a

D-22335 Hamburg, Germany

Phone: +49 40 5070 1938

Mobile: +49 151 5892 2594

Fax: +49 40 5070 4611

SIP: <mailto:U405042@dlh.de> mailto:U405042@dlh.de

E-Mail: uwe.goersch@lhind.dlh.de

 <http://www.lufthansa-industry-solutions.com/> www.lufthansa-industry-solutions.com

 

 

Sitz der Gesellschaft / Corporate Headquarters: Lufthansa Industry Solutions BS GmbH, Raunheim, Registereintragung / Registration: Amtsgericht Darmstadt HRB 83850
Geschaeftsfuehrung / Management Board: Bernd Appel

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Tue Aug 30 12:26:16 2016

This archive was generated by hypermail 2.1.8 : Tue Aug 30 2016 - 12:26:32 PDT