Java Mailing List Archive

http://www.java2.5341.com/

Home » fop-users-digest.xmlgraphics »

fop-users Digest 19 Dec 2012 11:21:27 -0000 Issue 2624

fop-users-digest-help

2012-12-19


Author LoginPost Reply

fop-users Digest 19 Dec 2012 11:21:27 -0000 Issue 2624

Topics (messages 36116 through 36120)

Re: How to disable ComplexScript features by code ?
 36116 by: Christian Pestel

Re: Omitting Bottom table border on page-break
 36117 by: Chris Bowditch
 36118 by: Bonekrusher
 36119 by: Chris Bowditch
 36120 by: Bonekrusher

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: fop-users@(protected)
To unsubscribe, e-mail: fop-users-digest-unsubscribe@(protected)
For additional commands, e-mail: fop-users-digest-help@(protected)

----------------------------------------------------------------------


Attachment: fop-users_36116.eml (zipped)
Thank you very much Alexis.

Christian Pestel

christian.pestel@(protected)


-----Message d'origine-----
From: Alexios Giotis
Sent: Friday, December 14, 2012 5:54 PM
To: fop-users@(protected)
Subject: Re: How to disable ComplexScript features by code ?

Hi Christian,

There is the -nocs command line option but programmatically this is set when
you create FopFactory, for example:

FopFactoryBuilder builder = new FopConfParser(new
File(fopConfigFile)).getFopFactoryBuilder();
builder.setBaseURI(new File(baseDir).getAbsoluteFile().toURI());
builder.setStrictFOValidation(strictValidation);
builder.setComplexScriptFeatures(complexScriptFeatures);
FopFactory fopFactory = builder.build();

Alexis




On 14 Dec 2012, at 18:24, "Christian Pestel" <christian.pestel@(protected)>
wrote:

> Hi,
>
> As complex script feature can decrease Fop performance, I would like to
> disable this feature.
>
> The method
> org.apache.fop.apps.FOUserAgent.setComplexScriptFeaturesEnabled( boolean )
> is not implemented.
> How I can do that ?
> I use Fop Trunk.
>
> Thanks.
>
> Christian Pestel
> christian.pestel@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
For additional commands, e-mail: fop-users-help@(protected)



Attachment: fop-users_36117.eml (zipped)
On 14/12/2012 10:48, Bonekrusher wrote:
> Hello,

Hi,

>
> I have the following requirement for my xsl:fo :
>
> "When a table is continued on more than one page.. The closing rule is
> omitted at the foot of a
> continued table; the opening rule is continued at the head of the continued
> portion along
> with the heading title data."
>
> Using xslt I could omit the bottom border if and only if I knew where the
> page-break was going to occur. This could be problematic and could be a lot
> of work for the xml author. Especially if the xml file is modified. That
> could change the location of where the page breaks. Is there a way to do
> this in xsl-fo, to know if the page is going to break? If not, any ideas on
> how to do this automatically?

Your requirement sounds similar to the conditionality component of
border property properties. By default this is set to discard, so I
would expect border-bottom to be absence on the bottom of a table
spanning 2 pages on page 1 and present on page 2. Setting conditionality
to retain will make the border be drawn on all pages that the table
spans over.

Thanks,

Chris

>
> Thx
>  
>
>
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/Omitting-Bottom-table-border-on-page-break-tp37527.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
> For additional commands, e-mail: fop-users-help@(protected)
>
>
>



Attachment: fop-users_36118.eml (zipped)
Thank you Chris, but unfortunately this is the opposite of what I want to
accomplish (if I understand your post). In this case I want the bottom
border to be absent except on the last page.


Chris Bowditch wrote
> Your requirement sounds similar to the conditionality component of
> border property properties. By default this is set to discard, so I
> would expect border-bottom to be absence on the bottom of a table
> spanning 2 pages on page 1 and present on page 2. Setting conditionality
> to retain will make the border be drawn on all pages that the table
> spans over.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
For additional commands, e-mail: fop-users-help@(protected)




--
Sent from the FOP - Users mailing list archive at Nabble.com.


Attachment: fop-users_36119.eml (zipped)
Hi,

On 17/12/2012 11:44, Bonekrusher wrote:
> Thank you Chris, but unfortunately this is the opposite of what I want to
> accomplish (if I understand your post). In this case I want the bottom
> border to be absent except on the last page.

With border-bottom-width.conditionality="discard" that is exactly the
behaviour you get; absent on all pages except the last.

Thanks,

Chris

>
>
> Chris Bowditch wrote
>> Your requirement sounds similar to the conditionality component of
>> border property properties. By default this is set to discard, so I
>> would expect border-bottom to be absence on the bottom of a table
>> spanning 2 pages on page 1 and present on page 2. Setting conditionality
>> to retain will make the border be drawn on all pages that the table
>> spans over.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
> For additional commands, e-mail: fop-users-help@(protected)
>
>
>
>
> --
> View this message in context: http://apache-fop.1065347.n5.nabble.com/Omitting-Bottom-table-border-on-page-break-tp37527p37553.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@(protected)
> For additional commands, e-mail: fop-users-help@(protected)
>
>
>



Attachment: fop-users_36120.eml (zipped)
Thanks Chris and sorry for the delay. I will give it a try.





--
Sent from the FOP - Users mailing list archive at Nabble.com.

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.