Specific Requirement - Help Me

2002-11-26 Thread sanjeev
Hi,       I have the following requirement. I am not sure how to use FOP for meeting this requirement. Can anyone please help me with some of your ideas.     ***

RE: Specific Requirement - Help Me

2002-11-26 Thread Calero, Roberto
It  looks to me your requirement is to create content in a variety of formats and not just PDF files. As for preview... I would generate links to the proper files to be displayed and for your database records I would generate html content.   Very simple... -Original Message-From:

Re: Strange hyphenation

2002-11-26 Thread lepekhine
Thank you very much! On Monday 25 November 2002 17:31, Oleg Tkachenko wrote: > lepekhine wrote: > > Could you help me with the very strange > > hyphenation of Russian words? > > I use fop 0.20.4 and docbook 1.55.0 > > In the multysyllable russian words sometimes > > the middle syllable is left at

RE: HttpServletResponse.setHeader("Content-Disposition","attachme nt; filename=Report.pdf ")

2002-11-26 Thread Miguel Angel Busto
Hi Christian. If you set content-disposition, attachment. Web Browser will open save as dialog. You must put HttpServletResponse.setHeader("Content-Disposition","inline; filename=Report.pdf ") This works for me. regards -Original Message- From: Christian Geisert [mailto:[EMAIL PROTECTE

Re: Specific Requirement - Help Me

2002-11-26 Thread Oleg Tkachenko
sanjeev wrote: I have the following requirement. I am not sure how to use FOP for meeting this requirement. Can anyone please help me with some of your ideas. FOP is just an xsl-fo formatter, it's not a versatile processor of "any other type of format". PS. Don't post messages in html format

Re: Font embending

2002-11-26 Thread Nyári Győző
I've the embed-file param in the userconfig.xml file. I read up the config file with Options options = new Options("userconfig.xml"); Then when I watch the file with Acrobat, it a message shows up: "Unable to extract the embedded font 'ArialHU'. Some characters..." userconfig.xml: Tha

RE: Font embending

2002-11-26 Thread Dennis Myrén
Try to embed the PFB file instead of the PFM file Regards Dennis >"Unable to extract the embedded font 'ArialHU'. Some characters..." > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Font embending

2002-11-26 Thread Oleg Tkachenko
Nyári Győző wrote: userconfig.xml: Should be Probably font embedding page should updated to provide an example of type1 font registration in userconfig.xml. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel -

Re: Font embending

2002-11-26 Thread Jeremias Maerki
Are you sure your Arial font is really a Type 1 font? I've never seen Arial in Type 1 before. Are you sure you have an Arial.pfb and an Arial.pfm? I think you will more likely have a Arial.ttf which you have to specify in the embed-file attribute. That's the file you will have generated the font me

Re: Font embending

2002-11-26 Thread Jeremias Maerki
On 26.11.2002 09:25:12 Oleg Tkachenko wrote: > Nyári Gyõzõ wrote: > > > userconfig.xml: > >> embed-file="d:\pdflib\Arial1.pfm"> > Should be > embed-file="d:\pdflib\Arial1.pfb"> > > Probably font embedding page should updated to provide an example of > type1 font registration in usercon

Re: Font embending

2002-11-26 Thread Nyári Gyõzõ
Thanks, it works. Gyõzõ Dennis Myrén wrote: > > Try to embed the PFB file instead of the PFM file > > Regards > Dennis > > >"Unable to extract the embedded font 'ArialHU'. Some characters..." > > > > - > To unsubscribe, e-mai

Re: Font embending

2002-11-26 Thread Nyári Gyõzõ
Another question: '#' character replaces the 'õ' characters (and all iso-8859-2 specific characters). The font contains the characters, we used it already. Whats the problem? Thanks, Gyõzõ Nyári Gyõzõ wrote: > > Thanks, it works. > > Gyõzõ > > Dennis Myrén wrote: > > > > Try to embed the PFB

Tables

2002-11-26 Thread Nyári Gyõzõ
Can I make a table with different rows: |=| | ROW 1 | |=| | | ROW 2| | |=| Where row 1 is made of one cell but row 2 contains different number of cells

AW: Tables

2002-11-26 Thread Harald Meyer
> Where row 1 is made of one cell but row 2 contains different number of > cells. > ? > Or shall I make two different tables? You can work with the attribute number-columns-spanned for table-cell to have cells span several columns. Harald ---

Re: Tables

2002-11-26 Thread Olivier GUCKERT
Nyári Gyõzõ a écrit : > > Can I make a table with different rows: > > |=| > | ROW 1 | > |=| > | | ROW 2| | > |=| > > Where row 1 is made of one cell

Re: Tables

2002-11-26 Thread Olivier GUCKERT
Olivier GUCKERT a écrit : > > Nyári Gyõzõ a écrit : > > > > Can I make a table with different rows: > > > > |=| > > | ROW 1 | > > |=| > > | | ROW 2| | > > |===

xml FOP JSP

2002-11-26 Thread manzano
Hello, my name is Raul and I have lots of problems. I try every thing and I cant make it. Any one knows how get a pdf file from a jsp with FOP, and that the xml source is get from another jsp file that is dynamically generated??? Solutions? An example would be wonderful….. Help!

RE: xml FOP JSP

2002-11-26 Thread Stephan Wiesner
Hi Raul, I have an application running that does this. However it is integrated and I can't make an easy example form it. This is what I am doing: The XML is generated by a standard Java class, which is called by a JSP. The resulting DOM Node ist then evaluated and saved in the session. The user ha

German/French Special Characters in FOP

2002-11-26 Thread M.Weiss
Hi everybody, I got a serious problem with special characters, when doing the following: I build up an XML-Document from given data-records. Theese records may contain special characters, such as German "umlaute" ä,ö,ü,ß or french "accents" à, û and so on. The whole story runs fine with recors w

RE: German/French Special Characters in FOP

2002-11-26 Thread Dennis Myrén
Try saving your FO documents in UTF-8 and send to FOP. Regards Dennis -Original Message- From: M.Weiss [mailto:[EMAIL PROTECTED] Sent: 26. november 2002 14:57 To: FOP-Mailinglist (engl) Subject: German/French Special Characters in FOP >Hi everybody, >I got a serious problem with special

Re: German/French Special Characters in FOP

2002-11-26 Thread Jeremias Maerki
Or even better: Generate SAX events and pipe them through to FOP. That way you'll stay in Unicode the whole time and should not have any problems with non-ASCII7 characters. And you avoid a temporary result that's using up memory and slowing down the whole process with a serialization and parsing s

AW: German/French Special Characters in FOP

2002-11-26 Thread Gehrer Helmut
Hi Marcus Define encoding in your Data-xml Works fine for french and german data. Regards, Helmut > -Ursprüngliche Nachricht- > Von: M.Weiss [mailto:[EMAIL PROTECTED] > Gesendet am: Dienstag, 26. November 2002 14:57 > An: FOP-Mailinglist (engl) > Betreff: German/French Special Charac

Reading XML from JAR.

2002-11-26 Thread Trevor Vaughan
Hi, I'm working on a program that uses fop for output and I would like to read my xml file directly from a JAR. Is this possible? If so, does anyone have any tips on how to get started? Thanks, Trevor - To unsubscribe, e-mail:

Re: German/French Special Characters in FOP

2002-11-26 Thread Nyári Gyõzõ
I've a similar problem. fo file is in UTF-8, sended directly to FOP. Embedded fonts are used (which contains the special characters), but '#' characters shows up instead non ASCII7 characters. Gyõzõ Dennis Myrén wrote: > > Try saving your FO documents in UTF-8 and send to FOP. > > Regards > Den

RE: German/French Special Characters in FOP

2002-11-26 Thread "Buchtík, Michal"
try to embed unicode font see http://xml.apache.org/fop/fonts.html for details Michal -Original Message- From: Nyári Gyozo [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 3:20 PM To: [EMAIL PROTECTED] Subject: Re: German/French Special Characters in FOP I've a similar proble

Unknown formatting object null^null ... once again

2002-11-26 Thread Matthias Kräuter
Hello Jeremias, thanks for your help, but the problem still exists. Below is my stacktrace with line numbers. [reports] [ERROR] Unknown formatting object null^null BUILD FAILED java.lang.NullPointerException at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:238) at

RE: Reading XML from JAR.

2002-11-26 Thread Norr, Peter
try this.. java.util.zip.ZipFile zippy = new java.util.zip.ZipFile("fullpathtothejar.jar"); java.util.zip.ZipEntry zipEntry = zippy.getEntry("com/package/thexml.xml"); InputStream is=zippy.getInputStream(zipEntry); -Original Message- From: Trevor Vaughan [mailto:[EMAIL PROTECTED] Sent: Tu

Re: Unknown formatting object null^null ... once again

2002-11-26 Thread Jeremias Maerki
Yes, that seems to be the uri parameter that comes in null. Let's look at it from another angle: You have the FO in a DOM, right? It looks like that DOM doesn't support namespaces for some reason. You said you've checked that you've got a relatively new version of Xerces. Do you use JDK 1.4? If ye

Re: Reading XML from JAR.

2002-11-26 Thread Johan Åbrandt
Another option might be: InputStream is = someObjectLoadedFromSameJarAsTheXMLFileIsLocatedIn.getClass().getResourceAsStream( "/theXml.xml" ); Norr, Peter wrote: try this.. java.util.zip.ZipFile zippy = new java.util.zip.ZipFile("fullpathtothejar.jar"); java.util.zip.ZipEntry zipEntry = zippy.get

Re: Reading XML from JAR.

2002-11-26 Thread Trevor Vaughan
Thanks to the both of you. It's been ages since I've tried messing with JARs. Trevor Johan Åbrandt wrote: Another option might be: InputStream is = someObjectLoadedFromSameJarAsTheXMLFileIsLocatedIn.getClass().getResourceAsStream( "/theXml.xml" ); Norr, Peter wrote: try this.. java.util.zip.Z

PDF Encryption and Access rights

2002-11-26 Thread Trevor Vaughan
Hi, Are there any tips on how to encrypt and/or add access rights to the pdf generated by fop? Thanks, Trevor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: PDF Encryption and Access rights

2002-11-26 Thread "Buchtík, Michal"
Fop does not support this. Use other sw, iText for example http://www.lowagie.com/itext Michal -Original Message- From: Trevor Vaughan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 5:45 PM To: [EMAIL PROTECTED] Subject: PDF Encryption and Access rights Hi, Are there any ti

Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Howdy, I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under Windows) & *.sh scripts (in *NIX). I'd like to be able to pass xsl:param or

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Did you use xsp? Clay Leeds wrote: Howdy, I didn't find this answer in the archives. I'd like to pass an xsl:param value to FOP. Is this possible? I found some information about doing this through the use of a servlet, however I'm using *.BAT files (under Windows) & *.sh scripts (in *NIX). I'd l

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
No. (at least I don't know what xsp is). My clients have installed JRE 1.4 & FOP, and that is all. I'd rather not have to install other items (if possible, of course). I'm just wondering if it's possible to pass variable & param values directly to FOP through the command line. If it makes any d

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Sorry, but can't help. I am using fop within cocoon. XSP stands for Extensible Server pages. But if you pass values to fop, can't you insert the params BEFORE passing it to fop? Clay Leeds wrote: No. (at least I don't know what xsp is). My clients have installed JRE 1.4 & FOP, and that is all. I

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
That's what I'm trying to do by passing the PARAM in the COMMAND line. It may just be that I don't completely understand the process. I have a system which outputs an XML file, and if a setting exists, will print that file using XSL:FO. I have a 2nd page in the XSL:FO that is static (it's a gov

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
Clay Leeds wrote: That's what I'm trying to do by passing the PARAM in the COMMAND line. It may just be that I don't completely understand the process. I have a system which outputs an XML file, and if a setting exists, will print that file using XSL:FO. I have a 2nd page in the XSL:FO that is

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
... At 09:22 AM 11/26/2002, you wrote: So I would store the information in that script. Then you need two fop-Stylesheets. 1) with the rear page 2) without As they say here in the United States... Well, duh! That solves it for me. The only problem now, is that I'll have two separate files to main

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Thorsten Scherler
STOP! I tought about something: the .bat is for generating the the xml, right? Then just do like you wanted: take an element call it e.g. . then if rear 1 else 0 From there it is stylesheet work: Backpage front only Regards Clay Leeds wrote: ... At 09:22 AM 11/26/2002, you wrote: So I would store t

Re: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Won't work. The .BAT is *not* for generating XML. It just prints it. Our primary app does the XML file generation. Regards & stuff. :-) At 09:37 AM 11/26/2002, you wrote: STOP! I tought about something: the .bat is for generating the the xml, right? Then just do like you wanted: take an element c

UML diagrams for FOP

2002-11-26 Thread Raffi Simon
Does anyone know if there are any UML diagrams for FOP. I am still trying to extend FOP to allow me to insert some custom PCL commands with a custom element, but I do not know where to begin, I do not understand the just by looking at the code, I do not understand where or when the elements get

Re: UML diagrams for FOP

2002-11-26 Thread Konstantin Priblouda
--- Raffi Simon <[EMAIL PROTECTED]> wrote: Does anyone know if there are any UML diagrams for FOP. I am still trying to extend FOP to allow me to insert some custom PCL commands with a custom element, but I do not know where to begin, I do not understand the just by looking at the code, I do

Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
I'm having a couple of problems with my XSL-FO: 1. My EVEN page is not rendering every other page (EVEN pages). PROBLEM: It prints at the end of the document. 2. My LAST-ODD page is not rendering. (The difference between ODD and LAST-ODD is that the TOTALS section is blank on all pages except th

RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Evraire, Jonathan
> 2. My LAST-ODD page is not rendering. (The difference between ODD and > LAST-ODD is that the TOTALS section is blank on all pages except the > LAST-ODD page). I believe page-position="last" is not yet implemented in FOP. Jonathan Evraire jonevrai at justice.gc.ca

RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
D'oh! Does anyone _know_ where I can look to find out for certain? At 10:49 AM 11/26/2002, you wrote: > 2. My LAST-ODD page is not rendering. (The difference between ODD and > LAST-ODD is that the TOTALS section is blank on all pages except the > LAST-ODD page). I believe page-position="last" is no

RE: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
Sorry for responding to my own post, but... does anyone know of a workaround for this? Originally, I was thinking of doing something like this:   (NOTE: that is "page-position=last()" and not position of XML content). I need to have a blank in the "TO

Re: Odd, Even & Last-odd Problem

2002-11-26 Thread Oleg Tkachenko
Clay Leeds wrote: D'oh! Does anyone _know_ where I can look to find out for certain? It's not implemented yet indeed. Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7140. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel -

Re: Odd, Even & Last-odd Problem

2002-11-26 Thread Clay Leeds
Thanks for the input! BTW, I noticed that "bug" was added to bugzilla back in March, and referenced 0.20.3. Unfortunately, I scoured the release notes and did not find a "fix" for it in 0.20.4. :-( A workaround I'm considering, is to use the combination of this at the end of my Doc: and

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Not sure exactly if your .BAT file is calling a Java app or something else, but here is how we set an external xsl:param within our report generator servlet: transformer.setParameter("pdfImagePath", getServletConfig().getServletContext().getAttribute("pdfImagePath")); Then the xslt style

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
Matt, Thanks. Actually, my .BAT file is calling _FOP_ through the command line. As for servlets, I don't think we are using them at all. Because all the examples I've seen discuss how to pass param values to servlets instead of how to pass them to FOP, I was stuck. However, Thorsten gave me a g

RE: Which logging library is needed to run fop 0.20.4 servlets

2002-11-26 Thread Ciot, Thierry
Answering my own question in case someone else encounters this problem too. I worked around the problem by rebuilding the FopServlet. My conclusion is that the FOPServlet class file in the distributed war file is incorrect. Thanks, Thierry -Original Message- From: Ciot, Thierry [mailto:

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Savino, Matt C
Do you use XSLT to generate your FO file from XML data, or are you building it some other way? I know you can pass properties to FOP through the command line, but as far as something like "don't print the second page", I imagine that would have to be in your FO. -Matt > -Original Message---

RE: Pass xsl:param value to FOP through command line

2002-11-26 Thread Clay Leeds
I use XML Spy to write the FO file itself. Then I use FOP to take XML input & XSL inputs to generate the output. My command line looks like this: c:\Program Files\java\fop-0.20.4>fop -d -xml C:\test_NYNF.xml -xsl C:\fo\2Page.fo -pdf C:\fo\2Page.pdf This is the command .BAT file sends the system

Does anyone know how to extend elements in FOP

2002-11-26 Thread Raffi Simon
Can anyone help me? I have looked into the outline and label, but it does not help me, I have also tried looking into SVG, and it does not help me either, can anyone give me an exampl of which methods I need to override in the FObj etc... -RafHelp STOP SPAM with the new MSN 8 and get 2 months FRE

Re: Does anyone know how to extend elements in FOP

2002-11-26 Thread Clay Leeds
Raf, I think one example of how to extend is adding bar codes to the style sheet. You can find some nice examples here: http://www.renderx.com/barcodes.html (I don't work for RenderX) You might also look here: http://exslfo.sourceforge.net From the Announcement: "The EXSLFO project is a community