Hi Andreas,
Still another thing: the same table of contents that showed the earlier
reported errors still showed on error: When running the fo-file from my
application, the fo:page-number-citation element was left aligned, although the
fo (snippet below) clearly said text-align="right". I ran the fo file through
fop directly and everything worked fine. Now I know what's the difference:
foUserAgent.setConserveMemoryPolicy(true);
When commenting this line in my application, the page number is aligned right,
uncommenting it aligns the page number left and the additional three output
lines ( most likely because I have three page-number-citation elements in my
TOC) from area.Area
WARN apps.FOUserAgent [main]: Line 1 of a paragraph overflows the available
area by 2157 millipoints. (Siehe Position 25986:433)
WARN area.Area [main]: Cannot update the IPD of an unresolved page number. No
font information available.
WARN area.Area [main]: Cannot update the IPD of an unresolved page number. No
font information available.
WARN area.Area [main]: Cannot update the IPD of an unresolved page number. No
font information available.
WARN apps.FOUserAgent [main]: Content overflows the viewport of an
fo:block-container in block-progression direction by 5198 millipoints. (Siehe
Position 30933:2125)
during PDF creation. Maybe that's helpfull. What I find interesting is, the
error appears somewhere after generating all the pages, since the table of
contents is far earlier than Position 25986. I guess, it appears when the
page-number-citation is revisited with the actual page numbers.
Are there any requirements for using setConserveMemoryPolicy? I only added the
above line, because I have long page sequences I can not shorten.
Here's the snippet showing the error, generating a complete testcase would take
some me some time, just shout, if you think it's necessary:
<fo:table-cell border-bottom-style="solid" border-bottom-width="0.6pt"
padding-before="0.8503937pt" padding-after="0.8503937pt" text-align="right"
display-align="before">
<fo:block-container>
<fo:block>
<fo:block line-height="7.5pt" text-align="right">
<fo:inline font-family="arial unicode ms"
font-size="7.5pt" line-height="7.5pt" text-align="right">
<fo:page-number-citation ref-id="3"
text-align="right"/>
</fo:inline>
</fo:block>
</fo:block>
</fo:block-container>
</fo:table-cell>
Regards,
Georg Datterl
------ Kontakt ------
Georg Datterl
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert
Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
www.geneon.de
Weitere Mitglieder der Willmy MediaGroup:
IRS Integrated Realization Services GmbH: www.irs-nbg.de
Willmy PrintMedia GmbH: www.willmy.de
Willmy Consult & Content GmbH: www.willmycc.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]