IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Text overflow in table cell Options · View
mgo_s4t
Posted: Friday, November 24, 2017 3:16:12 PM
Rank: Newbie

Joined: 11/24/2017
Posts: 6
Hello,

after updating to version 2017, I've noticed, that the XSL-FO output file is different from the 2013 version.
No changes were made, I simply created the XSL-FO in the 2017 version.

<fo:table-row>
<fo:table-cell border="0" border-color="black" border-style="solid" border-width="thin" line-height="0.8" margin-bottom="0" margin-top="0" white-space-collapse="true" linefeed-treatment="treat-as-space" wrap-option="no-wrap" white-space-treatment="ignore-if-surrounding-linefeed" padding="2pt" display-align="center">
<fo:block-container overflow="hidden">
<fo:block text-align="left">
<xsl:for-each select="position">


The red part is missing in the new XSLT. So currently the text displayed inside this cell is overflowing to the cells beneath it.

Can someone of you please explain me, how I can re-enable the "<fo:block-container overflow="hidden">"?

I tried to set "overflow: hidden" in the styles for the cell, column, the displayed text. But it got ignored.


Thank you in advance.

File Attachment(s):
stylevision_forum.zip (14kb) downloaded 738 time(s).


Phocus
Posted: Monday, November 27, 2017 6:23:56 AM
Rank: Member

Joined: 10/29/2002
Posts: 6
Location: MU
Hi,
without additional information it's not possible to identify where&when the problem occurs. You should attach your design -reduced to minimal- that demonstrates the problem. Also don't forget to include the schema and working xml files as well.
Or even better: contact Altova support with your files and used configuration (fop version etc)
Cheers
mgo_s4t
Posted: Wednesday, November 29, 2017 11:51:33 AM
Rank: Newbie

Joined: 11/24/2017
Posts: 6
Hi,

here is a short example of my problem:
A table with one row, two columns/cells and a long text without any spaces.
A line break is not the desired result. The overflow should simply be clipped.

Or maybe I have to add a "<fo:block-container>" to each cell?

File Attachment(s):
stylevision_forum.zip (14kb) downloaded 756 time(s).


Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.