encoding

2001-12-07 Thread Kristian_KESELI
Hi, I'm beginner in FOP. I have a problem with windows-1250 encoding, please help me. My source XML documents looks like this: ?xml version=1.0 encoding=windows-1250? did7 3 4 12 15 16 122/did acc2613233761/acc ... ... I use xsl-fo document to transform source document to

Specific footer on the last page

2001-12-07 Thread Thierry Gounelle
Hi everybody, Here is my problem: I have a document that may have 1 to N pages. I would like to print something on the footer of the last page (or at least on the bottom). But, if there is only one page, the last page is also the first. I tried something like: fo:layout-master-set !-- layout

Re: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-07 Thread Claus Nielsen
Christian, When is page-position last correct implemented ? Claus Christian Geisert

PDF Reports

2001-12-07 Thread Raúl Carazo
I've seen the messages from november about it, and I tryied to make something like it, but I'va got two problems... This is my adaptation to the solution from Yuri Shkuro // ---// 1. Get a Source for XML document//---XSLTInputHandler inputHandler = new

Automatic generation of cell size !

2001-12-07 Thread Kai Ulrich
My problem ! How can I build a table in a pdf-document whose cell-widths and hights are generated dynamicly depending on the text of the cell ! kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email:

RE: Automatic generation of cell size !

2001-12-07 Thread Buchtík, Michal
We solve this problem by computing cell-widths in XSLT style sheet. Michal -Original Message- From: Kai Ulrich [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:09 AM To: [EMAIL PROTECTED] Subject: Automatic generation of cell size ! My problem ! How can I build a table

AW: Automatic generation of cell size !

2001-12-07 Thread Kai Ulrich
It's my first intensiv contact XSLT stylesheet. Where can I find Informations about it ! kai -Ursprüngliche Nachricht- Von: Buchtík, Michal [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Dezember 2001 11:27 An: '[EMAIL PROTECTED]' Betreff: RE: Automatic generation of cell size ! We

RE: Automatic generation of cell size

2001-12-07 Thread Buchtík, Michal
It's not universal for all fonts, but we know font which is used and the font-size so we find a longest string in collumn column-width = longest_string_length * avg(charsizes_of_font); -Original Message- From: Matthias Fischer [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001

AW: Automatic generation of cell size

2001-12-07 Thread Kai Ulrich
How can I include it in the in a xsl-file ? -Ursprüngliche Nachricht- Von: Buchtík, Michal [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 7. Dezember 2001 12:13 An: '[EMAIL PROTECTED]' Betreff: RE: Automatic generation of cell size It's not universal for all fonts, but we know font

Re: Automatic generation of cell size

2001-12-07 Thread James Richardson
Although really you should use the font metrics kerning tables... James Buchtík, Michal wrote: It's not universal for all fonts, but we know font which is used and the font-size so we find a longest string in collumn column-width = longest_string_length * avg(charsizes_of_font);

Re: encoding

2001-12-07 Thread Joerg Pietschmann
[EMAIL PROTECTED] wrote I'm beginner in FOP. I have a problem with windows-1250 encoding, please help me. My source XML documents looks like this: [...] I use xsl-fo document to transform source document to plain text: ?xml version=1.0 encoding=windows-1250? xsl:stylesheet

Re: [PATCH] update FOP (maintenance branch) to REC syntax

2001-12-07 Thread Christian Geisert
Claus Nielsen wrote: Christian, When is page-position last correct implemented ? When someone sends a patch ;-) Seriously, I don't know anything about the current status of page-position last. Maybe Arved can comment on it ? Claus Christian

Re: Bleeding / Hyphenation issues

2001-12-07 Thread Joerg Pietschmann
Darrel Riekhof [EMAIL PROTECTED] wrote: We are having problems with our reports because FOP doesn't break on hyphens. Well, i tried fo:block hyphenate=true language=degoiue sk kalks aki aks kallk kajas kals siensalks yadadadadadada-

Re: Specific footer on the last page

2001-12-07 Thread Joerg Pietschmann
Thierry Gounelle [EMAIL PROTECTED] wrote: Here is my problem: I have a document that may have 1 to N pages. I would like to print something on the footer of the last page (or at least on the bottom). This may be more tricky than it seems at a first glance. One possibility is to put the text

whats FOP

2001-12-07 Thread Suhail Rashid
hi, What does FOP stand for ; FOPrint formatter ??? or something else... I tried the fop site but no use... thanks, suhail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Bleeding / Hyphenation issues

2001-12-07 Thread Matthias Fischer
A week ago we tried to use fo:block hyphenate=true language=de country=de and the thing didn't hyphenate at all. I asked for help in this list but I didn't get any response. Matthias -Original Message- From: Joerg Pietschmann [mailto:[EMAIL

Re: whats FOP

2001-12-07 Thread Bertrand Delacretaz
On Friday 07 December 2001 12:55, Suhail Rashid wrote: What does FOP stand for ; Formatting Objects Processor - Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Raúl Carazo
I'm trying to see a pdf-report, created dinamically with an XML-XSL process. But if I try to see it with an IE 5.0, I see just a blank page with an icon. If I try it with an IE 5.5, I can see it with no problem. Why is it? And there is a solution, because I cannot change the browser to

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon
It has been reported many times that IE5.0 needs some strong mime type information : not only you must set the content-type HTTP header to application/pdf but you also have to use an url with .pdf at the end... Cyril Rognon At 14:05 07/12/2001 +0100, you wrote: I'm trying to see a

Re: Spanning columns with tables

2001-12-07 Thread Edward Dowgiallo
Is there a way to span a table across multi-column text and have text flow around it? This would seem to be a common format. Ed - Original Message - From: Edward Dowgiallo To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:52 PM Subject: Spanning columns

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Is there a way to do this? Again, it is a very common book format. Ed - Original Message - From: Edward Dowgiallo To: [EMAIL PROTECTED] Sent: Thursday, December 06, 2001 12:49 PM Subject: Dictionary style pages Could someone point me to an example of

Re: Memory utilization

2001-12-07 Thread Edward Dowgiallo
Matthias, I am willing to try this. My documents do contain a lot of section headers. Can you provide me with more detail? Perhaps a syntax example of a header of the "certain level." Ed - Original Message - From: Matthias Fischer To: [EMAIL PROTECTED] Sent:

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Matt Savino
All my urls are .jsp and I don't have a problem with IE 4-5-6 recognizing them as PDF--as long as I set the response contentType. I have a myriad of other problems with older verisons of IE, but this is not one of them. Cyril Rognon wrote: It has been reported many times that IE5.0 needs some

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Jim Urban
you also have to use an url with ".pdf" at the end The url the client is posting to is a servlet which uses FOP to generate a PDF and feed it back to the browser. If the client post a request to myservlet.pdf the server will look for a file called myservlet.pdf and return a 403 when it

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread James Richardson
Jim Urban wrote: So how do you use a url that ends with .pdf when using servlets? I think you can do http://any.url/servlets/Blah?stuff=.pdf but not certain James - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Smith, Paul
You should be able to create a directory to servlet mapping in your web server (usually in the web.xml file). Something like: servlet-mapping servlet-nameMyServlet/servlet-name url-pattern/MyServletDir/url-pattern /servlet-mapping servlet servlet-nameMyServlet/servlet-name

Re: Dictionary style pages

2001-12-07 Thread Corinna Hischke
Hi, 1. page number on the left/right for left/right pages: You have to set up two page-sequences, one for the odd and one for the even pages, say 'left_pages' and 'right_pages'. Each sequence must have a separate name for the region-after. Tie them together in your page-sequence-master

Re: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Cyril Rognon
That's the trick if you have to use .pdf ended url, use the query string like Jamestold you to. This is a particular IE5.0 pb, and some times it does not appear, the response content type may be enough. Cyril Rognon At 15:05 07/12/2001 +, you wrote: Jim Urban wrote: So how do you

Re: Specific footer on the last page

2001-12-07 Thread Thierry Gounelle
I tried the footnote trick but I have the following problem: if the footnote doesnt fit in the first page, it has to go on the second with the reference still on the first. I then have a nasty exception (it works fine if everything is on the first page): javax.xml.transform.TransformerException

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Alex McLintock
--- Jim Urban [EMAIL PROTECTED] wrote: you also have to use an url with .pdf at the end The url the client is posting to is a servlet which uses FOP to generate a PDF and feed it back to the browser. If the client post a request to myservlet.pdf the server will look for a file called

page-number-citation and formatting

2001-12-07 Thread Phillip Harling
I'm having a small problem when using fo:page-number-citation/ and formatting. I am generating a table of contents using a table, and wish to right align the page numbers. If the table of contents appears at the beginning of the document, the numbers don't get right-aligned, but if the table

Preserving Line Breaks

2001-12-07 Thread Kunal Mittal
Title: Preserving Line Breaks Hello - I am using FOP to generate PDF files. The FOP code is generated through a Java Servlet. When I get the data from the database, do linebreaks in the data get preserved? Example - User enters text into a text field on a HTML (JSP page). This data is

RE: page-number-citation and formatting

2001-12-07 Thread Vladimir Sneblic
Hi Phillip, I'm trying to generate a contents page myself, but since I'm quite new to FOP I have no idea as to how to make a reference to page numbers of pages in the document. It seams like you've solved this problem and I was wondering if you would be willing to share this information, or

RE: Preserving Line Breaks

2001-12-07 Thread Jim Urban
Title: Preserving Line Breaks Depends on your FO. fo:block white-space-collapse="false" will maintain your line breaks, otherwise they are lost. Jim -Original Message-From: Kunal Mittal [mailto:[EMAIL PROTECTED]]Sent: Friday, December 07, 2001 12:03 PMTo: [EMAIL

RE: Preserving Line Breaks

2001-12-07 Thread Kunal Mittal
Title: Message Thanks Jim. Kunal Mittal Senior Consultant, i R i s e Bus: (510) 757-6145 eFax: (413) 460-5823 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message-From: Jim Urban [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 11:13 AMTo: [EMAIL

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread joseph . aloysius . gilvary
Do you write to the servlet response before you decide whether this is a job for FOP G. (Sorry) If the response to the browser hasn't begun, I think you should be able to call setContentType(application/pdf) on the ServletResponse instance as soon as you find the XSL:FO file. It's up to the

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Corrina, The example (franklin_2pageseqs.fo) does not do what I am looking for. Although starting with page 7, it does alternate between odd and even masters, the page number is always on the right hand bottom. I want to know how to make it appear on right hand bottom for odd pages and

Re: Dictionary style pages

2001-12-07 Thread Edward Dowgiallo
Corinna, For 2, markers are just what I was looking for. Thank you very much. Ed - Original Message - From: Corinna Hischke To: [EMAIL PROTECTED] Sent: Friday, December 07, 2001 10:14 AM Subject: Re: Dictionary style pages Hi, 1. page number on the

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Savino, Matt C
Jim, I've attached the servlet that we use to handle a simlar issue issue to what you describe. This serlvet handles both HTML and PDF requests and calls either method based on a parameter in the user's session (which could just as easily be in the request). Maybe it will help. -Original

Re: Dictionary style pages

2001-12-07 Thread spam_from_fop_dev
Hi Ed, Could someone point me to an example of producing a dictionary or telephone book style page with fop? I'd like to put the earliest name in the collating sequence that appears on the page on the left hand top and latest name in the collating sequece on the right hand top There is

Re: Preserving Line Breaks

2001-12-07 Thread spam-from-fop-dev
Hi Kunal, do linebreaks get preserved? They can be, but normally they are not; the default is similar to what HTML does. If you want the equivalent of HTML's pre element, you need to set a property on the block containing the data telling FOP how to treat them. I forget exactly what I did,

Re: Preserving Line Breaks

2001-12-07 Thread spam_from_fop_dev
Hi Kunal, do linebreaks get preserved? They can be, but normally they are not; the default is similar to what HTML does. If you want the equivalent of HTML's pre element, you need to set a property on the block containing the data telling FOP how to treat them. I forget exactly what I did,

RE: Bleeding / Hyphenation issues

2001-12-07 Thread Darrel Riekhof
Thanks for the tip, but we tried the hyphenate tag and we can't get it to work. Could some expand on the paragraph below. What are the other relevant attribs? What/Where is the database for my language (English)? Darrel -Original Message- From: Joerg Pietschmann [mailto:[EMAIL

RE: Problems with seeing pdf-files in IE 5.0

2001-12-07 Thread Jim Urban
You are correct, we set the content type to PDF before sending anything back. The problem is how to invoke this servlet and use a .PDF extension when we don't know we are going to get a PDF back. Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: whats FOP

2001-12-07 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 03:55 7-12-2001, Suhail Rashid wrote: What does FOP stand for ; FOPrint formatter ??? or something else... Originally, FO-to-PDF, but now something unspecific but broader, like (as Bertrand suggests) FO Processor. I tried the fop site but no

Re: whats FOP

2001-12-07 Thread Arved Sandstrom
Hey, Chris Maybe you could write up a paragraph (or 2 or 3) that explains FOP early history, and the origin of the name. That would be good stuff to put on the site. Arved - Original Message - From: Christopher R. Maden [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 07,

fo:inline error

2001-12-07 Thread Edward Dowgiallo
This may be an error or I may just not understand how this is supposed to work. In the following segment from a stylesheet, the starting and ending marker values are concatenated together with no spacing between them and the whole thing is left justified. Isn't fo:inline supposed to allow

Bad marker message

2001-12-07 Thread Edward Dowgiallo
When using marker values with page scope in the xsl-region-before region, I get the warning message "Some static content could not fit in the area." if there are no markers of the appropriate class-name on the page. This is confusing as the problem is the marker values are empty. A more

Re: Dictionary style pages

2001-12-07 Thread Arved Sandstrom
All *-page-master-references point at simple-page-masters. That means that one up to five regions get picked out, all of which can have user-specified names, using the 'region-name' property. There is nothing magic about names like 'xsl-region-before';they are only defaults. To associate a

Re: whats FOP

2001-12-07 Thread Christopher R. Maden
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 13:52 7-12-2001, Arved Sandstrom wrote: Maybe you could write up a paragraph (or 2 or 3) that explains FOP early history, and the origin of the name. That would be good stuff to put on the site. See URL:

Re: Dictionary style pages

2001-12-07 Thread Arved Sandstrom
All *-page-master-references point at simple-page-masters. That means that one up to five regions get picked out, all of which can have user-specified names, using the 'region-name' property. There is nothing magic about names like 'xsl-region-before';they are only defaults. To associate a

xsl:choice

2001-12-07 Thread Edward Dowgiallo
I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null fo:block font-family="Helvetica" font-size="18pt" text-align="end" xsl:choice xsl:when test="//eraname"

Re: fo:inline error

2001-12-07 Thread spam_from_fop_dev
Ed, Isn't fo:inline supposed to allow me to force part of the text to the other end of the line? You can't do this with today's FOP; people have asked on this list before, and the only suggestion has been to use a table. Whether you are supposed to be able to do this using FO I'm not sure.

Re: xsl:choice

2001-12-07 Thread Matt Savino
Try xsl:choose. I'm available for consulting. Edward Dowgiallo wrote: I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop to terminate with the message: ...; Line 78 Column 25; [ERROR]: null fo:block font-family=Helvetica

Re: xsl:choice

2001-12-07 Thread Matt Savino
Sorry, I didn't read the bottom. You can only include one xsl:when as a child of xsl:choose. (There is no concept of a case switch or elsif in XSLT.) test=//eraname returns true if there is an element eraname anywhere in the document. To search only the children of the current node, take out