unsubscribe me
unsubscribe
external-graphic and ratio
Hello, Is it possible to apply a ratio on an image trhought an external-graphic fo element ? I mean I want to display a graphic at 1/3 its size for example. Can anyone help ? Thanks - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 25, 2002 10:36 PM Subject: Re: What kind of TIFF does FOP support > Oleg Tkachenko wrote: > > btw, isn't jimi some kind of obsolete library intended to be used by > > those tied to jdk1.1? > > Well, obsolete or not, it works, is available, platform neutral, > easy to install and provides support for a wide range of graphics > formats, some of them rather obscure. Do you know of a JAI > implementation, preferably OSS and/or freely available, which > supports all common subformats of TIFF, PNG, BMP and perhaps a > few more? > > A quick sweep through sourceforge revealed only a TIFF > implementation. > > The Sun JAI implementation offers all the formats, but > installation requires more than just dropping a jar into > the classpath, and it contains platform specific binaries > (good for speed but screws Mac users and others). > > J.Pietschmann >
Re: What kind of TIFF does FOP support
It's fantastic : Many responses to my problems. Thank you very much. - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 9:59 PM Subject: Re: What kind of TIFF does FOP support > Rodolphe VAGNER wrote: > > In fact the first tests I've done seem to indicate the contrary : > > my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ > > compressed files > > are well rendered. > > It's bizarre, isn'it ? > > What about jimy ? where can I find doc on it ? > > Ok, here it goes. > The Jimi home page is > http://java.sun.com/products/jimi/ > You can download the whole package there, including > Source, JavaDoc and, most valuable, additional docs > describing supported file and image formats. > > For TIFF, the following compression schemes are supported >- Uncompressed images >- CCITT compressed Bi-level images with CCITT RLE, CCITT > Group 3 1D Fax, CCITT Group 3 2D Fax, CCITT Group 4 Fax >- CCITT Class F Fax >- Packbits compressed images (a simple RLE type compression) >- LZW Compressed images > JPEG compression is not supported. > > The TIFF spec is available from > http://partners.adobe.com/asn/developer/PDFS/TN/TIFF6.pdf > Compression schemes are >Packbits: run length encoding (Sec. 9) >CCITT G3 Fax (Sec. 10) >CCITT Bilevel (Sec. 11) >LZW (Sec. 13) >JPEG (Sec. 22) > CCITT Class F compression is apparently defined in a RFC, > for example available here: > http://www.zvon.org/tmRFC/RFC2306/Output/chapter3.html > > It is also mentioned that Jimi does only understand > black and white (bilevel), grayscale (palette) and RGB > (palette and direct color). CMYK, Cie L*a*b* and YCbCr > color models are not implemented. > > It is not mentioned whether compression predictors are > supported, I supposed not (does anybody use them?). It is > also not explicitely noted how Jimi deals with alpha > channels. > > If uncompressed TIFF comes out black, probably the color > model or palette size is inconvenient for Jimi. > > J.Pietschmann >
Re: What kind of TIFF does FOP support
In fact the first tests I've done seem to indicate the contrary : my uncompressed file is a black area and my CCITT Gr4 or 3, and LWZ compressed files are well rendered. It's bizarre, isn'it ? What about jimy ? where can I find doc on it ? - Original Message - From: "Max Dcosta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 24, 2002 1:45 PM Subject: RE: What kind of TIFF does FOP support > I would like to recall this msg posted earlier by J. Pietschmann > > > Jimi.jar doesn't understand all possible compressions allowed > in TIFF. Use uncompressed or RLE compressed TIFFs. > > > > Cheers, > > Max > > > > > > -Original Message- > From: Max Dcosta [mailto:[EMAIL PROTECTED] > Sent: Monday, June 24, 2002 5:10 PM > To: '[EMAIL PROTECTED]' > Subject: RE: What kind of TIFF does FOP support > > > most renderers may support uncompressed tiffs... > > pls correct me if i am wrong. > > -Original Message- > From: Rodolphe VAGNER [mailto:[EMAIL PROTECTED] > Sent: Monday, June 24, 2002 3:47 PM > To: [EMAIL PROTECTED] > Subject: What kind of TIFF does FOP support > > > Hello, > I have to create document with TIFF illustrations. > It seems that some TIFF formats are supported and thers > are not ( a black area replace the illustration). > Can some one tells me what kind of TIFF FOP supports ? > > thanks
What kind of TIFF does FOP support
Hello, I have to create document with TIFF illustrations. It seems that some TIFF formats are supported and thers are not ( a black area replace the illustration). Can some one tells me what kind of TIFF FOP supports ? thanks
Re: Why FOP can not support outputing html?
why using fop when a xslt engine is possible to use ? it is simpler, no ? - Original Message - From: Cocia Lin To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 6:00 AM Subject: Why FOP can not support outputing html? I want to use FOP to output html and pdf? But it don't support html outputing, html is simple,why not support? how to resolve this problem?
Re: center a graphic in a table cell
Yes, in a horizontal way it works ! In fact my only problem were on the vertical dimension. I would ilke to have my graphic center both horizontaly and verticaly, and the second point is my problem, what was not very well explained in the previous mail, sorry. Does anyone know a mean to center verticaly a graphic in a table cell ? - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 22, 2002 1:00 PM Subject: Re: center a graphic in a table cell Hi, This should work! Swanil Roopa "Rodolphe VAGNER" <[EMAIL PROTECTED]> 05/22/02 04:21 PM Please respond to fop-user To: <[EMAIL PROTECTED]> cc: Subject: center a graphic in a table cellHi,I try to center a graphic in a table cell without success.The display-align property don't seem to work on table-cell, block, orexternal-graphic.Does anyone know a mean to center a graphic in a table cell ?Thanks- Original Message -From: "Oleg Tkachenko" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Wednesday, May 22, 2002 1:05 PMSubject: Re: servlet FOP multi-thread> Pierre-Adrien Coustillas wrote:> When the document is ok size = 63 ko, when the document is not ok size<> > 63 ko (always different) and it's impossible open pdf.>> Do you flush/close output stream explicitly? Could you show us outputrelated> snipped of your code?>> --> Oleg Tkachenko> Multiconn International, Israel>
center a graphic in a table cell
Hi, I try to center a graphic in a table cell without success. The display-align property don't seem to work on table-cell, block, or external-graphic. Does anyone know a mean to center a graphic in a table cell ? Thanks - Original Message - From: "Oleg Tkachenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 22, 2002 1:05 PM Subject: Re: servlet FOP multi-thread > Pierre-Adrien Coustillas wrote: > When the document is ok size = 63 ko, when the document is not ok size < > > 63 ko (always different) and it's impossible open pdf. > > Do you flush/close output stream explicitly? Could you show us output related > snipped of your code? > > -- > Oleg Tkachenko > Multiconn International, Israel >
Re: Rotating the generated pdf
The ACROBAT SDK does : your pages can be rotated, means all the page with the text in. - Original Message - From: "Andrius Sabanas" <[EMAIL PROTECTED]> To: "fop-user" <[EMAIL PROTECTED]> Sent: Monday, April 29, 2002 10:45 AM Subject: Rotating the generated pdf > Hello, > > Is it possible to generate the rotated pdf using FOP? I checked the > XSL:FO spec and found the reference-orientation property, but does not > seem to be supported by FOP as for now. > > Is there any other way to achieve a simple 90deg rotation of the whole > page? Maybe there is some pdf post-processing software? > > > thanks in advance, > > Andrius > >
Re: Root element trouble
(B (B (BI think UTF-16 is not yet supported by FOP (B(UTF-8 since 0.20.3) (BMaybe your problem is here. (B (B - Original Message - (B From: (B [EMAIL PROTECTED] (B To: [EMAIL PROTECTED] (B Sent: Thursday, April 25, 2002 3:06 (B PM (B Subject: AW: Root element trouble (B (B Hello, (B I (B had the same problem. It sounds a bit strange: Delete the (B xml-declaration line and all runs fine. But I don$B!-(Bt know what to do, if you (B don$B!-(Bt want to delete the declaration... (B (B André (B (B-Ursprüngliche Nachricht-Von: Matthew Huggett [mailto:[EMAIL PROTECTED]]Gesendet: (BDonnerstag, 25. April 2002 14:52An: (B[EMAIL PROTECTED]Betreff: Root element (Btrouble (B (B (BFOP doesn't seem to be recognizing the (Broot element in my fo doc. (BI've followed the recommendations in (Bother mailings, but still no results. The examples that came with Fop (Brun fine. I can't see how my fo doc is any different from them. (BSomeone enlighten me please. (B (B Here are the error message and (Bsome lines from my fo doc. (B (B [INFO]: FOP 0.20.3[INFO]: building (Bformatting object tree[ERROR]: Unknown formatting object ^[ERROR]: (BRoot element must be (B (Broot, not (none): (B (B (B (B (B (Bxmlns:fo="http://www.w3.org/1999/XSL/Format"> (B (BI'd appreciate any (B help.
Re: how to hide page numbers on empty pages
I can't really remember if it was that but I succed in doing such a thing ; you may try this ( a beat complex) : use a page-sequence-master with a simple-page-master for blank pages referenced in a conditionnal-page-master-reference.(so you have to define a simple-page-master !). In your page sequence use force-count-page="end-on-even"; put your first static-content the stactic-countent of your blank simple-page-master ; ... ... ... ... ... - Original Message - From: "Michal Kwiatek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 3:01 PM Subject: HELP: how to hide page numbers on empty pages > Hi there! > > I print my document on both sides of a page. However, I want chapters to > start on even pages. I achieved this by using break-before="odd-page" > attribute. > Fop simply adds an empty page where necessary. Buthow can I make fop hide > page numbers on those autatically generated empty pages? > > Thanks in advance, > Michal Kwiatek >
Re: upgrading from 0.20.1 to 0.20.3 question ...
see http://xml.apache.org/fop/relnotes.html for news - Original Message - From: "Christian Mallwitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 6:04 PM Subject: RE: upgrading from 0.20.1 to 0.20.3 question ... > > there was a change in the xsl spec which made it into FOP 0.20.3 but> www.renderx.com has a stylesheet which translates your FO from old to new> version which worked for me. > > bye> christian> -- > Christian Mallwitz INTERSHOP Communications Germany> Senior Technical Consultant phone: +49 3641 50 3453
Re: basic-link
You should try http://forum.planetpdf.com - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 11:22 AM Subject: RE: basic-link Hi, We r generating PDF files using fo. We want to provide some security features to the PDF like non-printable, non-editable etc., when opened thru Adobe acrobat. Can somebody help in achieving this? Can this be done thru FOP itself or do we need to use Adobe's API? If somebody could help me out thru Adobe API also, that would be appreciated. Regards, Vasantha Raju N -Original Message- From: MagnusSjöberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 April 2002 21:21 To: [EMAIL PROTECTED] Subject: fo:basic-link Hi all! When using fo:basic-link it appears that the 'hotspot' around the text in the PDF gets misaligned. The more links I have in a page, the more the hotspots stray away, making me think the error is cumulative. (My fo consists of several page sequences, if that could be a factor...) Are there any problems with the implementation of fo:basic-link? I saw earlier posts talking about this but haven't found anything conclusive. Anyone got any ideas? /// Magnus
force-page-count, blank page and text in this blank page
Hy I'm on a document composed with diferent page sequences. Those sequences are put together to realise a final document. So I have to generate sequences with a force-count-page to have an even number of pages in each sequence. The problem is that when a page is forced it appears without text in, and I would like this page to contain a text like : "normal blank page" . How can I do such a thing ?
Re: tabulation
I usually use a table, and the align property ( start/end ) if it could help... - Original Message - From: "Michal Kwiatek" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 09, 2002 1:56 PM Subject: RE: tabulation > Following Alex's advice, I went through both fop and w3-xsl-fo mailing > archives. > Here is what I found at > http://lists.w3.org/Archives/Public/www-xsl-fo/2001Nov/0015.html: > > last-line-end-indent="-2pc"> > Chapter 1 > > > 1 > > > > Looks good, but fop breaks the line just before page number and spoils the > job. Any idea why, or how it can be amended? > > Thanks in advance, > Michal Kwiatek > > --- > BiznesPartner.pl SA > ul. Mlynarska 48 > 01-171 Warszawa > tel. 5355560 > > > > > -Original Message- > > From: alex [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 09, 2002 1:17 PM > > To: [EMAIL PROTECTED] > > Subject: Re: tabulation > > > > > > I really thought this was in my FAQ > > http://www.owal.co.uk/cgi-bin/fopfaq.cgi > > but apparently not. I think this has been answered on the > > fop-dev mailing > > list some time ago. > > Please have a hunt through the archives and tell me the answer if > > you find > > it - or tell me you can't find it and I'll have a look. > > > > Alex > > > > > > At 12:10 09/04/2002, you wrote: > > >Hi! > > > > > >I need to enter a TOC into my document. Titles should be > > left-aligned, but > > >numbers of pages must be right-aligned, although they're in the > > same lines, > > >as titiles. There should also be dots between titles and page numbers. > > > > > >I looked for tabulators in xsl specs, but there seem to be none. So there > > >has to be some other way! Any ideas? > > > > > >I know this isn't strictle a fop question, but you're the only > > active xsl fo > > >community I've heard of. > > > > > >Thanks in advance, > > >Michal Kwiatek > > >
Re: Drawing a border around a simple word
You should try attribute 'border' in a fo:block : bla bla bla bla blaWithBordersbla bla bla Maybe a instead of the fo:block would be better bla bla bla blablaWithBorders bla bla bla - Original Message - From: "MARTIN Franck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 04, 2002 11:10 AM Subject: Drawing a border around a simple word > Hi all > > Does anyone know how to draw a border around a word placed in a > sentence? > > I would appreciate any suggestion very much ;) > > Franck >
Re: how to print page count ?
Mind if you use a force-page-count attribute : if a ppage is forced, it's add to the end of the document and after the block with the id ; So you may obtain 'page 89 of 88' !! - Original Message - From: "Argyn Kuketayev" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 02, 2002 11:48 PM Subject: RE: how to print page count ? > thank you, guys. it works. > > I thought it had to be a standard formatting property for fo:page-number > > > -Original Message- > > From: Argyn Kuketayev [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 02, 2002 4:28 PM > > To: [EMAIL PROTECTED] Apache. Org (E-mail) > > Subject: how to print page count ? > > > > > > I've to print "page X of Y", where Y is a total number of pages. how? > >
revision bars
Hy, I have to display revision bars on a document. I can't change the DTD ( SGML one, I transform sgml instances in xml before my fop treatment ) that specifies that the revisions bars must appear in front of the text which is between the tags and ; note that these tags are empty, and are included elements, in SGML sense ! Do you think I can display those bars - with XSL (if possible, and I think it's not ) - by inserting invisible marks in the PDF and have a post treatment on the PDK with the Adobe SDK. So, what kind of mark can I use ?? Thanks for helping
Re: Very bizarre
Persisting problem : the file is really present in C:/fop-0.20.3/GRAPH/Fig000.TIF, and jimi-1.0.jar is in lib too ; moreover my fo code is : Modification Description FIGURE 1 where the 3 '/' are. and the same fo is running well with the 0.20.2 version. Quite difficult to accept ! Thank you anyway - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 9:13 PM Subject: Re: Very bizarre > Rodolphe VAGNER wrote: > > I think it is ; for more information here is the error message I have : > > [ERROR]: Could not load external SVG: The markup in the document > > following the root element must be well-formed. > > [ERROR]: Error while creating area : No ImageReader for this type of > > image (file:/C:/fop-0.20.3/) > > [ERROR]: Error while creating area : Error creating FopImage object > > (Error creating FopImage object (file:/C:/fop-0.20.3/GRAPH/Fig000.TIF) : > > org.apache.fop.image.JimiImage > > This is indeed somewhat bizarre. However, my automated problem picker > points here: > > (Error creating FopImage object (file:/C:/fop-0.20.3/GRAPH/Fig000.TIF) : > What did you supply as the source name? > I suggest to check whether using a proper absolute URL fixes your > problem: > > Note the triple slash. Check also whether the file is indeed > there, and look for misspellings. > If this still fails, check whether your last error message continues > with something like "ClassDefNotFound". In this case, check whether > there is indeed a jimi.jar in the classpath and present at the place > where the classpath expects it to be (usually the FOP lib/ directory). > > J.Pietschmann >
Re: Very bizarre
I think it is ; for more information here is the error message I have : [ERROR]: Could not load external SVG: The markup in the document following the root element must be well-formed.[ERROR]: Error while creating area : No ImageReader for this type of image (file:/C:/fop-0.20.3/)[ERROR]: Error while creating area : Error creating FopImage object (Error creating FopImage object (file:/C:/fop-0.20.3/GRAPH/Fig000.TIF) : org.apache.fop.image.JimiImage - Original Message - From: Sam Prokop To: [EMAIL PROTECTED] Sent: Thursday, March 28, 2002 3:24 PM Subject: AW: Very bizarre i think this is because jimi.jar isn´t part of fop 0.20.3 anymore. but maybe you can compile fop 0.20.3 with jimi.jar in the classpath. -Ursprüngliche Nachricht-Von: Rodolphe VAGNER [mailto:[EMAIL PROTECTED]]Gesendet: Donnerstag, 28. März 2002 15:17An: [EMAIL PROTECTED]Betreff: Very bizarre Hy, I'm very surprised because the tiff illustrations were support on fop 0.20.2 but seam not to be on the fop 0.20.3 ! Is there anything that can enable fop 0.20.3 to support tiff ?
Very bizarre
Hy, I'm very surprised because the tiff illustrations were support on fop 0.20.2 but seam not to be on the fop 0.20.3 ! Is there anything that can enable fop 0.20.3 to support tiff ?
page intentionnally left blank
I would like to put the mention "page intentionnally left Blank" in every blank page forced by the force-page-count="end-on-even" ; I tried to use a static-content but without any success ; Does someone know if it's possible with FOP, and how to do that ?
Re: ohm symbol not supproted ?
Do you mean that it's a problem from Acrobat which can't reconize the glyphs, or a FOP problem to convert letters to glyphs that acrobat will reconize ? More over I found this in the docs of FOP, and it seams to mean that the Symbols (so almost one out of the two omegas) should be displayed properly : " FOP (building PDF files) normally supports only the base 14 font package defined in the Adobe PDF specification. That includes the following fonts: Helvetica, Times, Courier, Symbol and ZapfDingbats. " - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 9:56 PM Subject: Re: ohm symbol not supproted ? > Rodolphe VAGNER wrote: > > I try a fop transformation in UTF-16 with ohm symbol (greek omega > > capital letter) > > and I find a ' O ' in the pdf result, but µ is supported !! > > Did you use codepoint U+03A9 (GREE CAPITAL LETTER OMEGA) or > U+2126 (OHM SIGN)? I get a # for the first (meaning unknown > glyph mapping) and a W for the latter in the standard font > (which happens to occupy the same position in the mapping table > as the upper case omega). Selecting the Symbol font >ΩΩ > still results in a # for the first and the expected glyph > for the latter. > Get a font with glyphs for greek letters and look at the > instructions in the docs directory for installing it if > you need greek letters. > > J.Pietschmann >
Re: force-count-page : end on even
Ok, I understand the idea, and my problem. The next one is where should I insert the static content for this blank page ? In the page sequence (I have only one) ? And if my text is long enought to fill 40 pages there will be no block with my 'id' to count pages, no ? - Original Message - From: "J.Pietschmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 26, 2002 10:08 PM Subject: Re: force-count-page : end on even > Rodolphe VAGNER wrote: > > My format of footpage is : > > page x on X > > But it seems that the forced page is not counted ! > > I suppose you retrieve the page count using the standard > method: put a (usually empty) block at the end of the > flow and use the page-number-citation referring to this > block to get the total number X. > If you have text up to page 41, the last block ends up on > page 41, and X renders as 41. If you force even pages, > the block is *still* on page 41, and X renders as 41. > Bad luck! > Time for some more creativity. A suggestion: Use a > page-sequence-master contaqining a conditional page > sequence with a separate master for the last page. > Put the block referenced for the last page number into > the static content of the last page. > > HTH > J.Pietschmann >
force-count-page : end on even
Hy, My format of footpage is : page x on X But it seems that the forced page is not counted ! ( my last page is 'page 42 on 41' !!!) Is there a solution ?
ohm symbol not supproted ?
I try a fop transformation in UTF-16 with ohm symbol (greek omega capital letter) and I find a ' O ' in the pdf result, but µ is supported !! Can someone help ?