Vertical alignmnet of external graphics
Hi, I want to vertical center an external graphics in an fo:block and i have no idea how i can do this. My code: fo:flow flow-name=xsl-region-body fo:block fo:external-graphic src=C:\Documents and Settings\holle\Desktop\debug.fo\checkbox.svg/ fo:inline font-family=Helvetica font-size=7ptTEST/fo:inline /fo:block /fo:flow !-- closes the flow element-- /fo:page-sequence /fo:root Using this xsl:fo document, my external-graphics is always some pts above the text. The image: ?xml version=1.0 standalone=no? !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; svg width=7 height=7 rect x=0 y=0 width=7 height=7 style=fill:rgb(255,255,255);stroke:rgb(0,0,0);stroke-width:0.7/ /svg Thanks! Best regards Henrik holle - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fixed size
hi can i make table-cells fixed size withe the current fop-release? for example a cell with 4cm height and 4cm width? and is it also possbile to avoid pagebreak on some of my page-master? thx henrik -Ursprungliche Nachricht- Von: Cyril Rognon [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 22. Mai 2002 11:47 An: [EMAIL PROTECTED] Betreff: Re: FOP's performances... Philippe, I do not think that native compilation is the main solution for FOP's speed. The main issue is the overal architecture of FOP. This is adressed by the redesign effort. If you are interested, please, go to the FOP web site to see the list of addressed issues and to see where you could help the FOP team. As for me, speed issue only appear with large document around 200-2000 pages (I don't even mention above these values). Of course, the more raw computing your software has to do, the more efficient it will be when native compiled. Yet I do not think this is the issue here. Hope this helps. By the way, what average speed would you consider ok ? Cyril At 11:32 22/05/2002 +0200, you wrote: At present there are problems of speed... To improve FOP's performances, Does anybody have to test products to compile class Java FOP ? Example: http://www.excelsior-usa.com/jet.html http://gcc.gnu.org/java/
unicode problem
hi, i have an java string with an greek alpha letter. i do not know how to convert the java unicode string so that i can display it with fop i need something like: fo:inline font-family=Symbol font-size=7pt#x03B1;/fo:inline
[ERROR]: Can't add attribute to 0-length text
[INFO]: Parsing of document complete, stopping renderer [ERROR]: Can't add attribute to 0-length text it is very strange. my fo is working fine with the pdf render, but the awt render throws this error ?? any ideas ?
external image scales to large
hi, i simply embedd larger jpg images using the external-image, but all my images scale wrong. It neiter works with the awt-viewer, nor in pdf. fo:external-graphic src=/
Re: Re: page count
can you please explain me how to count the page in a fo with an xslt? -Ursprungliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 25. April 2002 17:03 An: [EMAIL PROTECTED] Betreff: Re: AW: page count Henrik, There is no way to do what you want in FO in one pass. What you'll need to do is generate the fo: document with some marked up place holders in it. Something like fo:block placeholder=PutTotalPagesHere/. Then run that document through an XSLT transformation that adds up the total number of pages and replaces those special blocks with the information you want. (You'll see this technique referred to in the archives as Making a second pass over the document.) You can then use FOP to generate the output you want. Chuck Henrik Holle wrote: I have various page-sequences in my document: fo:page-sequence master-reference=NameOfMasterReference initial-page-number=1 but at the end of the document i need to count the whole pages of all page-sequences. !fo:page-number-citation ref-id = lastBlock/! does not work! -Ursprungliche Nachricht- Von: Ian Taylor [mailto:[EMAIL PROTECTED] Betreff: Re: page count I put this in my xsl:region-after fo:block font-size=9pt line-height=11pt text-align=end Page no: fo:page-number/ of fo:page-number-citation ref-id = lastBlock/ /fo:block where the last block in the document looks like this fo:block id = lastBlock/ Ian At 12:54 PM 4/24/2002 +0200, you wrote: Hello, I want to write something like page x of y where y is the number of pages in my document. x is generated by fo:page-number/ but how do I get y?? Harald
AW: page count
I have various page-sequences in my document: fo:page-sequence master-reference=NameOfMasterReference initial-page-number=1 but at the end of the document i need to count the whole pages of all page-sequences. !fo:page-number-citation ref-id = lastBlock/! does not work! -Ursprungliche Nachricht- Von: Ian Taylor [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 24. April 2002 13:08 An: [EMAIL PROTECTED] Betreff: Re: page count I put this in my xsl:region-after fo:block font-size=9pt line-height=11pt text-align=end Page no: fo:page-number/ of fo:page-number-citation ref-id = lastBlock/ /fo:block where the last block in the document looks like this fo:block id = lastBlock/ Hope this helps Ian At 12:54 PM 4/24/2002 +0200, you wrote: Hello, I want to write something like page x of y where y is the number of pages in my document. x is generated by fo:page-number/ but how do I get y?? Harald
print dialog
hi, at the moment i am printing directly from my application using fop printrenderer, but now i need a printdialog to select a specific printer ? i looked at PreviewDialog.java, but without any idea howto solve my problem? any ideas? thx henrik
subscript and symbol font
why is this not possible? fo:inline vertical-align=sub font-size=4pt fo:inline font-family=Symbol font-size=7pt#x03A9;/fo:inline /fo:inline this character ist not subscript : #x03A9; thx henrik
WG: page-number
hi, how can i count all pages in my document? i have different page-sequence master-reference but want to something like : this document has 12 pages. is it possible? regards henrik holle