Running FOP without JRE
Is there a way to natively compile FOP so it can be run on Windows without needing a JRE installed on the system? I'm trying to bundle FOP with a windows application but the user of the application is not needed to have JRE. Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dynamic charts issues in batch PDF generation
Instead of running just the servlet, can you also pass a unique number/string along with the servlet which makes it a unique call. eg. instead of using ChartServlet maybe you can use ChartServlet?id= where unique_id is different for each image. The charts are probably being cached. This will force it to generate the chart each time. Hope this helps. Prakash --- vijay visu <[EMAIL PROTECTED]> wrote: > hi > > i am doing a code which generates the PDF in a batch > process. > > These PDFs include dynamically built charts by > servlets. > I am making use of external-graphic tag to pick the > images. > These servlets throw jpeg image of the charts in the > output stream. > > These servlets should be called for each PDFs > generated since each chart will be unique. > My problem is that the servlets which builds the > dynamic charts are called > for the first time only. On the subsequent calls the > old charts are > only built in PDF and the servlets are not getting > called. > > Please help me out in this problem > > > __ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > - > 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]
RE: Long Table repeat header
Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt <[EMAIL PROTECTED]> wrote: > Hi, > > and are your best > friends here. Example: > > >marker-class-name="continued"> > ... > > > > Header retrieve-class-name="continued"/> > > > > > >marker-class-name="continued">cont. > content... > > > > > > Cheers, > Sascha > > -Original Message- > From: Prakash R [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 19, 2005 8:23 AM > To: fop-users@xmlgraphics.apache.org > Subject: Long Table repeat header > > I have a document (FO-PDF) made up of multiple > tables. > Some of these tables are long and span multiple > pages. > I want to be able to repeat the header on the next > page. But at the same > time I want to add the word continued for any > subsequent pages. i.e. > > col1 col2 col3 > TABLE HEADER > --- > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > --- page break > col1 col2 col3 > TABLE HEADER (CONTD) > --- > fjs jflsda jklfds > fjs jflsda jklfds > > col1 col2 col3 > TABLE HEADER2 > --- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > --- page break > col1 col2 col3 > TABLE HEADER3 > --- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > > Is there anything in FO that will allow repeating of > table header and also > modification of table header in subsequent pages? > > Thank you. > Prakash > > - > 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]
RE: Long Table repeat header
Isn't it true that fo:retrieve-marker can only be used within a fo:static-content? If so, how will this work? Are there any other options? Thank you. Prakash --- Sascha Schmidt <[EMAIL PROTECTED]> wrote: > Hi, > > and are your best > friends here. Example: > > >marker-class-name="continued"> > ... > > > > Header retrieve-class-name="continued"/> > > > > > >marker-class-name="continued">cont. > content... > > > > > > Cheers, > Sascha > > -Original Message- > From: Prakash R [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 19, 2005 8:23 AM > To: fop-users@xmlgraphics.apache.org > Subject: Long Table repeat header > > I have a document (FO-PDF) made up of multiple > tables. > Some of these tables are long and span multiple > pages. > I want to be able to repeat the header on the next > page. But at the same > time I want to add the word continued for any > subsequent pages. i.e. > > col1 col2 col3 > TABLE HEADER > --- > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > jjf jflkds jflkds > fjs jflsda jklfds > --- page break > col1 col2 col3 > TABLE HEADER (CONTD) > --- > fjs jflsda jklfds > fjs jflsda jklfds > > col1 col2 col3 > TABLE HEADER2 > --- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > --- page break > col1 col2 col3 > TABLE HEADER3 > --- > fjs jflsda jklfds > fjs jflsda jklfds > fjs jflsda jklfds > > Is there anything in FO that will allow repeating of > table header and also > modification of table header in subsequent pages? > > Thank you. > Prakash > > - > 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]
Long Table repeat header
I have a document (FO-PDF) made up of multiple tables. Some of these tables are long and span multiple pages. I want to be able to repeat the header on the next page. But at the same time I want to add the word continued for any subsequent pages. i.e. col1 col2 col3 TABLE HEADER --- jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds jjf jflkds jflkds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER (CONTD) --- fjs jflsda jklfds fjs jflsda jklfds col1 col2 col3 TABLE HEADER2 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds --- page break col1 col2 col3 TABLE HEADER3 --- fjs jflsda jklfds fjs jflsda jklfds fjs jflsda jklfds Is there anything in FO that will allow repeating of table header and also modification of table header in subsequent pages? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP font width for custom font (Arial)
Thanks Manuel. I understand the difference now. Let me rephrase my question. I'm using Arial font in FOP and when I render it to PDF with a specific font type and size (bold, size 12 pt) and I do the same with Microsoft word and print both. It is exact same line and same font etc. The Microsoft version of it is longer (when I overlay and compare) than the FOP version even though both are using the same fonts? Somehow the spacing of the characters/words seems to be different in FOP than with word. Is this a known issue? Can this be corrected? This is causing some inconsistency between 2 formats namely word and PDF. Please help. Thank you. Prakash --- Manuel Mall <[EMAIL PROTECTED]> wrote: > On Fri, 18 Nov 2005 04:46 am, Prakash R wrote: > > I'm using Arial font with FOP. I installed the > fonts > > by following the step to install custom fonts from > TTF > > on the FOP website using the TTFReader and adding > > entries in userconfig.xml. > > > > When I generate a PDF which uses the Arial font, > the > > width of characters are different for uppercase > and > > lowercase. The lowercase being lesser width. Is > there > > anyway I can set any property so that the > lowercase > > characters are also the same width as the > uppercase > > characters? > > > Arial is a so called proportional font. Not only > have lowercase letters > different widths to uppercase letters but even > within the same case > letters will have different widths, e.g. i will have > a different width > to m and W is different in width to J. > > If a fixed character width is important to your > layout you need to use a > fixed width (= non proportional) font. For example > Courier. > > > Thank you. > > Prakash > > > Manuel > > - > 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]
FOP font width for custom font (Arial)
I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width of characters are different for uppercase and lowercase. The lowercase being lesser width. Is there anyway I can set any property so that the lowercase characters are also the same width as the uppercase characters? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Images in PDF
How can I pass images as XML to FOP to be rendered in PDF? I don't want to pass an URL as the image is not available as a file but rather as a stream. Is this possible? If so, how? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Image - Scale Width/Height
Can someone have a box (eg: table cell) set to a specific height and width and say to have an image scale to the size of that box?? If images are taller than the height, then scale by height. But if images are wider than the widths, then scale by width. But if both height and width are higher, then scale it such that the image fits in the box but still maintains its aspect ratio. Thank you. Prakas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
hide header/footer
Is there a way to hide the header/footer for a particular page within a page-sequence? I just want to hide the header/footer for a particular page not the last or any alternate page. I know there are ways to do that. But is there a way to hide header/footer for a random page in between? Thank you. Prakash __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
determine if block is before page-break
I have the following fo: 123 xyz abc def I want to put the leader only if it is not followed by a page break. Is there a way to determine if fo:leader is followed by page break? Thank you. Prakash __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
multiple tables in same row on page
I have a fo which looks like this: ... ... ... ... The number of tables in the fo:block is variable. Is there a way to lay the tables in a single row one after the other and if it does not fit in the same row to go on the next row. In the above example table1, table2 and table3 fit across the width of the page. table4 and table5 are on the next row. Each of the individual pages would resize to content and so in some cases 2 tables might be on one row while in some other case it might be as much as 4 in a row. Thanks in advance. Prakash __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Centering content with FO:LEADER
Hi, I need to center text in a fo:block. At the same time I need fo:leader on either side of the text. How can I align the text and at the same time have fo:leader on either side of equal length? Also the text is small enough that it won't wrap. Here is what I have. But it doesn't render right. TEXT Thank you. Prakash __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XSL Question - Unique list
I have an xml document which looks like this: shirt long sleeve red RG LN short sleeve blue RG SM sleeveless red LN SM t-shirt long sleeve red AA BB short sleeve blue CC DD sleeveless red AA EE Is there any way using XSL I can get the unique [EMAIL PROTECTED]/fieldvalues for each product. I know I can do it across the entire XML doc. In this example for product(name=shirt) it would be RG,LN and SM , product(name=t-shirt) it would be AA,BB,CC,DD,EE. I want to be able to get these separately for each product and iterate through it within the product if possible. Thank you. Prakash __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FO - Force Pages on same spread
Let me try to explain this with an example. I have a document which has say 10 pages. Within this document somewhere in between I have 2 pages(page number not known until the PDF is generated) which are consecutive and are someway related. So I would like for these two pages to be side-by-side (on 2 different pages) as when you open a book i.e. first page is on left and second page on right (even followed by odd) in the generated PDF. If by virtue of the XML the first page ends up being on the right, I want to force a blank page before so that the first page comes on the left which will automatically lay the second page on the right (making these 2 pages side-by-side). Hope this clarifies my requirement. Thank you. Prakash --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > I'm still not sure I understand you correctly, but > then I think you need > to look at fo:conditional-page-master-reference > which allows you to > specify separate simple-page-masters for odd and > even pages. > http://www.w3.org/TR/xsl/slice6.html#fo_conditional-page-master-reference > > http://www.dpawson.co.uk/xsl/sect3/evenodd.html > > On 22.08.2005 15:34:24 Prakash R wrote: > > I meant putting the two pages on two different > pages > > but making sure they are side by side like when > you > > open the book you can see the pages side by > side(i.e. > > on the same spread). > > > > Thank you. > > Prakash > > > > --- Jeremias Maerki <[EMAIL PROTECTED]> > wrote: > > > > > Are you talking about imposition (two-up)? > Putting > > > two pages besides > > > each other on one piece of paper? FOP can't do > that, > > > yet. You'd have to > > > use a third-party tool to do that. > > > > > > On 20.08.2005 06:44:20 Prakash R wrote: > > > > Hi, > > > > > > > > I'm preparing a FO document in order to > generate a > > > > catalog book. I would like to have two pages > > > together > > > > such that they are on the same spread i.e. if > the > > > > first page is an even page(left) then the next > > > would > > > > be the following odd pages(right) making it on > the > > > > same spread. On the other hand if the first > page > > > falls > > > > on an odd page(right), I would like to force a > > > blank > > > > page and start it as an even page(left) so > that > > > the > > > > second page is an odd page(right) making it on > the > > > > same spread. > > > > > > > > How can I achieve this? Any ideas would be > greatly > > > > appreciated. > > > Jeremias Maerki > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FO - Force Pages on same spread
No. I have two pages within my document(which has pages preceding and following these pages) and I need to make sure they end up side by side pages (as when you open the book the two pages are next to each other rather than having to turn pages). The first of these 2 pages needs to be on the left and the second of these 2 pages on the right. In case the first page ends up on the right then a blank page needs to be inserted and the first page needs to be forced to start on the left so that the second page ends up on its side. Hope that is clear. Thank you. Prakash --- Rymasz Jacky <[EMAIL PROTECTED]> wrote: > Do you mean using this property of fo:page-sequence: > force-page-count="end-on-even" > > This will give you a blank page at the end of your > page sequence if the last page is odd... Making you > last page even and blank. > > Is that what you're looking for? > > Jack > > -Message d'origine- > De : Prakash R [mailto:[EMAIL PROTECTED] > Envoyé : lundi 22 août 2005 15:34 > À : fop-users@xmlgraphics.apache.org > Objet : Re: FO - Force Pages on same spread > > I meant putting the two pages on two different pages > but making sure they are side by side like when you > open the book you can see the pages side by > side(i.e. > on the same spread). > > Thank you. > Prakash > > --- Jeremias Maerki <[EMAIL PROTECTED]> > wrote: > > > Are you talking about imposition (two-up)? Putting > two pages besides > > each other on one piece of paper? FOP can't do > that, yet. You'd have > > to use a third-party tool to do that. > > > > On 20.08.2005 06:44:20 Prakash R wrote: > > > Hi, > > > > > > I'm preparing a FO document in order to generate > a catalog book. I > > > would like to have two pages > > together > > > such that they are on the same spread i.e. if > the first page is an > > > even page(left) then the next > > would > > > be the following odd pages(right) making it on > the same spread. On > > > the other hand if the first page > > falls > > > on an odd page(right), I would like to force a > > blank > > > page and start it as an even page(left) so that > > the > > > second page is an odd page(right) making it on > the same spread. > > > > > > How can I achieve this? Any ideas would be > greatly appreciated. > > > > > > > > Jeremias Maerki > > > > > > > - > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > > - > 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] > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FO - Adding Filler Pages for page count multiple of 16
Jeremias, When you said a two-pass approach, would that be both through FO processor or would I have to do the second run with some other tool? At the end of the first run I would have a PDF. If I would be using FO Processor for the second run then how would I go about doing the second run? If not, what are some other tools which I can use to do the second run? Thank you. Prakash --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > I don't think such a thing is directly possible with > XSL-FO. Your best > chance is probably to do a two-pass approach, noting > the number of > generated pages in the first run and then injecting > additional blank > pages in the second run. > > On 20.08.2005 06:32:59 Prakash R wrote: > > Hi, > > > > I'm new to FO. I'm developing a FO document to > > generate a catalog which has multiple sections. I > have > > a constraint on the length of each of these > sections. > > It has to be a multiple of 16 pages. If the data > for a > > particular section is less than a multiple of 16 > pages > > then the extra pages need to be blank pages or > notes > > pages with rules. eg. a section is 14 pages of > data > > then it should be followed by 2 blank pages to > make it > > 16 pages. another section is 25 pages of data then > it > > should be followed by 7 blank pages to make it 32 > > pages. This is almost like force-page-count=16*x. > > > > First of all I would like to know if this is > possible. > > If so, I would appreciate any pointers to get it > done. > > > > Jeremias Maerki > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FO - Force Pages on same spread
I meant putting the two pages on two different pages but making sure they are side by side like when you open the book you can see the pages side by side(i.e. on the same spread). Thank you. Prakash --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Are you talking about imposition (two-up)? Putting > two pages besides > each other on one piece of paper? FOP can't do that, > yet. You'd have to > use a third-party tool to do that. > > On 20.08.2005 06:44:20 Prakash R wrote: > > Hi, > > > > I'm preparing a FO document in order to generate a > > catalog book. I would like to have two pages > together > > such that they are on the same spread i.e. if the > > first page is an even page(left) then the next > would > > be the following odd pages(right) making it on the > > same spread. On the other hand if the first page > falls > > on an odd page(right), I would like to force a > blank > > page and start it as an even page(left) so that > the > > second page is an odd page(right) making it on the > > same spread. > > > > How can I achieve this? Any ideas would be greatly > > appreciated. > > > > Jeremias Maerki > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FO - Force Pages on same spread
Hi, I'm preparing a FO document in order to generate a catalog book. I would like to have two pages together such that they are on the same spread i.e. if the first page is an even page(left) then the next would be the following odd pages(right) making it on the same spread. On the other hand if the first page falls on an odd page(right), I would like to force a blank page and start it as an even page(left) so that the second page is an odd page(right) making it on the same spread. How can I achieve this? Any ideas would be greatly appreciated. Thank you. Prakash __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FO - Adding Filler Pages for page count multiple of 16
Hi, I'm new to FO. I'm developing a FO document to generate a catalog which has multiple sections. I have a constraint on the length of each of these sections. It has to be a multiple of 16 pages. If the data for a particular section is less than a multiple of 16 pages then the extra pages need to be blank pages or notes pages with rules. eg. a section is 14 pages of data then it should be followed by 2 blank pages to make it 16 pages. another section is 25 pages of data then it should be followed by 7 blank pages to make it 32 pages. This is almost like force-page-count=16*x. First of all I would like to know if this is possible. If so, I would appreciate any pointers to get it done. Thank you. Prakash __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]