> Another ask - after reading documentation, command-line hints etc. I am able 
> to
> generate just only AreaTreeFormat, not the new IntermediateFormat. Could You 
> be
> so kind and write m two commands: how to generate IF for ODF output and how to
> generate PDF from IF?

...I am sorry, I read documentation of Trunk version of FOP and used 0.95. My 
fault in this point. Stepan

> ------------ Původní zpráva ------------
> Od: Stepan RYBAR <[email protected]>
> Předmět: How to create Intermediate Format and then PDF on command line?
> Datum: 01.2.2010 18:16:41
> ----------------------------------------
> Hello,
>
> I have discovered Apache FOP intermediate format features just now. It looks
> like this could solve my problem with custom element based on 
> <fo:page-number/>
> sent to conference of Friday, because intermediate format is already "page
> defined" and editable format, so I guess, I can easily count preceding-sibling
> to get absolute page position of current page and change some value within
> intermediate format. Am I right?
>
> I guess, that I should be aware to do changes just withing box model of 
> changed
> element - to ensure not to overflow its box, am I right?
>
> Another ask - after reading documentation, command-line hints etc. I am able 
> to
> generate just only AreaTreeFormat, not the new IntermediateFormat. Could You 
> be
> so kind and write m two commands: how to generate IF for ODF output and how to
> generate PDF from IF?
>
> The last ask - is IntermediateFormat and (or) AreaTreeFormat production ready
> now or will be in the near future? Can I rely on it in production environment?
>
> Thank You. Stepan
>
>
> > ------------ Původní zpráva ------------
> > Od: Stepan RYBAR <[email protected]>
> > Předmět: Where to do changes in source of <fo:page-number/> or how to write
> my
> > custom element based on <fo:page-number/>?
> > Datum: 28.1.2010 17:41:47
> > ----------------------------------------
> > Hello,
> >
> > I need to change behavior of <fo:page-number/> like any modulo division,
> > multiplication, additions etc. Originally I planned to write my custom
> element,
> > but I did not found any relevant information how to do that. So the easiest
> way
> > I guessed to write modification of <fo:page-number/>. Could You please point
> me
> > to the Java code of FOP, where is <fo:page-number/> calculated and returned?
> >
> > Or better and cleaner and sophisticated approach: Is there any document how
> to
> > write my custom element (based on <fo:page-number/> code)? My custom code
> should
> > looks like <myCustomElement:barCode addThisNumber="some XPath calculated 
> > from
> > XML"/> and should do something like (this is not any programming language
> code
> > ;-)
> >
> > int barCode
> > int pageNumber = <fo:page-number/>
> >
> > switch pageNumber
> > case 1 barCode = ....
> > case N barCode = ...
> > case 31 barCode = ...
> >
> > return barCode+addThisNumber
> >
> > Thank You in advance for Your hints, code examples, etc. Stepan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to