The text renderer errors out when it encounters a positioned block-container

2001-11-02 Thread Chuck Paussa
This isn't a show stopper in any way since I can render text without FOP. I added a positioned block-container to my .FO. Now the text renderer bombs on that page. Is there any way to include a positioned block-container that does not crash the text renderer? Chuck value: FOP 0.20.2 OS Windows

Re: FOP Weakness

2002-02-04 Thread Chuck Paussa
Xie, David (IPCG-NJ) wrote: Hi All, I have three questions regarding FOP. First of all, does anyone know what FOP stands for? My guess File object program. Second question is regarding the FOP performance. I notice that every time FOP runs on Jakarta Tomcat 4.0, the cpu usage is almost 100%.

Re: XML : FOP

2002-02-04 Thread Chuck Paussa
EXT-Reddy, Swathi A wrote: Hi, I am new to XML FOP. I saw your message about Re: How to avoid using too much memory to create relatively large PDF file. I created an XML file with PAGE tags. In my XSL file, I am using the following code to do page breaks - xsl:apply-templates select=page/

Re: Help to get started in a servlet

2002-02-05 Thread Chuck Paussa
Chinn, Gale wrote: I am new to fop and can get it to run command line, but would like to get it to run in a servlet. I have followed the info on fop's embedding page using fop.war file in the webapps directory of Tomcat on ver 3.2 and 4, but cannot get it to work using:

Re: FOP SVG precision; how to keep thin lines precision???

2002-02-06 Thread Chuck Paussa
Irina Grigorieva wrote: Hi, I faced a problem. I need to generate barcodes (it is not a problem) and draw it into PDF. That is, to draw several rectangles... The FO document looks like: We had the same problem and, after much playing with SVG and the example apps at

Re: Page Sequence Question

2002-02-06 Thread Chuck Paussa
Lars, I believe you use fo:table table-omit-footer-at-break=true and then define the footer within fo:table:footer If you want to extend the footer across the whole page (So its not just a column footer) then you use fo:table-cell number-columns-spanned=the number of columns in the

Re: Dynamic Header in Page Sequence [region-before]

2002-02-12 Thread Chuck Paussa
Sharan, You can use marker and retrieve marker. The header has to be variable depending on the contents of the page. Example follows. Retrieve marker retrieves whatever you put within the fo:marker tags. Those contents are not output on the page. Also, your code used region-start, you want

Re: Watermarks

2002-02-20 Thread Chuck Paussa
For watermarks etc. you can use this open-source product http://www.etymon.com/pj/index.html Chuck S. Jayaraman wrote: Hi Is it possible to have pages printed out with watermarks ? Thanx in advance Rgds Jay --- S. Jayaraman Consor AG Ottikerstr. 14 CH-8006

Re: Error:

2002-02-22 Thread Chuck Paussa
Roland, The [ERROR]: message is a generic message meaning that a recoverable error occured. The recoverable errors are listed in the spec but, the most common reason is that some of the output text did not fit in the designated space. For instance, if you specify a fo:region-before extent

Re: font-size problem

2002-02-22 Thread Chuck Paussa
Miya, (B (Bproperty - "line-stacking-strategy" is not implemented yet. (BUntil it is, you'll have to use line-height and calculate it. I've found (Bthat using 1/2 the maximum fon-size in mm works pretty good. So, your (Bfo:block would be (B (Bfo:block line-height="10mm"fo:inline

Re: markers

2002-02-27 Thread Chuck Paussa
Hi Bart, I've done some playing with markers also and gotten them to work pretty well. One of the things I've noticed is that FOP complains mightily about both fo:marker must be an initial child and marker-class-name' must be unique for same parent.but, they are recoverable errors and can be

Re: XMLSpy - FOP

2002-02-28 Thread Chuck Paussa
going on and tweak the batch file to make it work. (That's how I made the batch file in the first place.) This is what I get: 1:[ -q ] 2: [ -xml ] 3: [ C:\Fop-0.20.1\tmp.xml ] 4: [ -xsl ] 5: [ C:\Fop-0.20.1\pdf_master.xsl ] 6: [ -pdf ] 7: [ C:\Fop-0.20.1\Output.pdf ] 8: [ ] 9: [ ] Chuck Paussa

Re: Drawing a line at bottom of a table-row

2002-03-01 Thread Chuck Paussa
Olivier, You were trying to match a table cell border with a fo:block border that sits in a cell Try the attached code Chuck Paussa Olivier Rossel wrote: I have a 3 cells in a row in a table. I wish to draw a line at the bottom of the row. I tried table-row border-bottom=1pt solid black

Re: : XML - MS Word??

2002-03-04 Thread Chuck Paussa
into a pivot table. Chuck Paussa Savino, Matt C wrote: Do you know if this can be used to create a spreadsheet with a pivot table? I read the How To page but didn't see anything about it. thx, Matt Savino -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] Sent: Monday, March

Re: Relative position elements

2002-03-06 Thread Chuck Paussa
once. Anyone with some clues? Chuck Paussa Sebastien Foucault wrote: Thank's for that piece of advice but I'm rather looking for a solution allowing to position elements in a relative way. The problem is that I want to design absolute-positionned blocks but, because I don't know the number

Re: Table header.

2002-03-08 Thread Chuck Paussa
a new page sequence for each table, set the initial-page-number = 1, and then return the page number (Code attached) Chuck Paussa Olivier Rossel wrote: Is it possible to have when you are using a table header, a variable that tells how many times this header has already been duplicated, because

Re: table: column-width

2002-03-14 Thread Chuck Paussa
Mathy, To do the variable number of columns, you'll have to use a range function like this fo:table xsl:variable name=numcols select=./table/@numcols/ xsl:for-each select=1 to $numcols !-- xsl 2 structure i,plemented in Saxon v7 -- xsl:for-each select=saxon:range(1, $numcols) !-- extension

Re: AW: feature and limitation lists

2002-03-25 Thread Chuck Paussa
Here's a DTD segregated by FOP imlemented and non-implemented features. The implemented and non-implemented values have not been segregated. Chuck Paussa Fries, Markus, fiscus GmbH, Bonn wrote: On 2002.03.21 09:47 Fries, Markus, fiscus GmbH, Bonn wrote: Hi, a lot of questions on this list

Re: feature and limitation lists

2002-03-25 Thread Chuck Paussa
Here's an FOP specific xsd. I sent the segregated DTD in a previous response on this same thread. It's a pain to make a usable XSD from a DTD because the conversion tools tend to explode everything out and you get enormous repeating elements. Anyway. Here it is for what it's worth. Chuck

Re: font-family and font names list

2002-04-04 Thread Chuck Paussa
Oleg, You are right. The CSS method of defining font family lists is not supported by FOP (Mainly because they haven't figured out a good way to parse the list.) You can only say font-family=Arial or font-family=TimesNewRoman not both. Chuck Paussa Oleg Tkachenko wrote: Hello ! Yes, I do

Re: Question for FOP

2002-04-04 Thread Chuck Paussa
Jenny, 1. To convert an XML to PDF, you'll need a properly coded XSL document. (For instance, see if you can run the glossary example in ../examples/markers command line = fop -xsl glossary.xsl -xml glossary.xml -pdf glossary.pdf 2. Display the results in a web page. Look at the instructions

Re: New Colors in FOP ...

2002-04-05 Thread Chuck Paussa
Jose, The colors available to FOP should be the following pre-defined colors plus any color on the RGB format #00 through #FF aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate,

Re: Problem with and caracters

2002-04-05 Thread Chuck Paussa
are looking for here http://www.unicode.org/charts/PDF/U0100.pdf and here http://www.unicode.org/charts/PDF/U20A0.pdf Chuck Paussa MARTIN Franck wrote: Does anyone know a way to render using FOP? I think the fop developpers have forgotten about this caracter because , , , are implemented and are correctly

Re: Two columns

2002-04-05 Thread Chuck Paussa
-set . . . Chuck Paussa alex wrote: Hi folks, I haven't seen an example for this but is it possible to have one or more blocks in which text flows into the next column, as in a newspaper for example. I am trying to do a two column A4 newsletter and don't want to worry about inserting column

Re: column problem

2002-04-12 Thread Chuck Paussa
Stefan, use fo:block span=all Chuck Paussa Stefan Arn wrote: hi to all The PDF i want to create have 2 columns and a title over the columns(both in region-body).Just a Header and after that a text in 2 columns.. In my layout-master-set I defined my region-body like this: fo:region-body margin-top

Re: Variables

2002-04-12 Thread Chuck Paussa
Peter, Set the variable at the top of the stylesheet before any of your templates are defined. This makes the variable global. Chuck Paussa Norr, Peter wrote: What is the best way to set variables in stylesheets? For example, instead of constantly specifying the color for fo:block with a hex

Re: spna=all didn't work for fo:cell

2002-04-16 Thread Chuck Paussa
Argyn, fo:table-row fo:table-cell number-columns-spanned=3fo:block margin-left=2cmfo:inline font-weight=boldCOMMENTS: /fo:inlinexsl:value-of select=COMPONENT_ID//fo:block/fo:table-cell /fo:table-row Where number-columns-spanned=3 3 or 4 or 5 or how ever many columns are in your table Chuck

Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
Patrick, First. Don't cross post to the dev and user list! This is a user list question and the user list is a great resource for your answers. Don't annoy the developers. Next. Try this or something like it. fo:block-container height=8mm width=190mm top=0mm left=0mm text-align=center

Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
/fo:block-container /fo:static-content Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH -Ursprüngliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 18:11 An: [EMAIL PROTECTED] Betreff: Re: Absolute positioning? Patrick, Try

Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 18:38 An: [EMAIL PROTECTED] Betreff: Re: Absolute positioning? Patrick, The block container size needs to be big enough to fit the contents. Any contents that don't fit in the height and width get cut off

Re: How to get table to flow from first page squence to the next page sequence?

2002-04-17 Thread Chuck Paussa
Kilmer, Erich wrote: I am trying to design an article using FOP and could use some help in its layout. The document in an invoice. The first page has a large header and footer with various invoice data. In the body or content section of the first page I want to have a table that contains line item

Re: AW: Again: keep-together

2002-04-19 Thread Chuck Paussa
found to do at least a rough approximation of equally long columns with fop was to use the two columned layout and NOT a two columned table. Are wrong? Thanks again, Frank -Ursprüngliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 18. April 2002 19:12

Re: AW: page count

2002-04-25 Thread Chuck Paussa
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

Re: page count

2002-04-26 Thread Chuck Paussa
=$TotalPages/ /xsl:template /xsl:stylesheet Chuck Paussa Henrik Holle wrote: can you please explain me how to count the page in a fo with an xslt? -Ursprungliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Henrik, There is no way to do what you want in FO in one pass. What you'll

Re: table-footer at foot of table problem

2002-04-30 Thread Chuck Paussa
Steve What you could do is set the height of each table row to some length ie 5mm. You then know how many table rows will appear on each page. Count up the number of rows in the table, calculate the number of rows that will appear on the last page. Insert Y empty rows at the end of the table

Re: foregroundColor

2002-05-13 Thread Chuck Paussa
Michael J. Godfrey wrote: Greetings, How do I make this.. fo:table-row height=7mm background-color=#739ECE And add foreground-color=#FF ? I am using XML Spy and the auto-complete doesnt seem to display it. Thanks, Michael Foreground-color = color So: It's fo:table-row height=7mm

Re: foregroundColor

2002-05-16 Thread Chuck Paussa
Niki I posted a schema to the dev list last week. The schema is pretty good. Feel free to point it out to the folks at XMLSpy. They can use XMLSPY to generate their own DTD from that. The schema has a few tweaks left before I post it here. Chuck Paussa Niki Dinsey wrote: A note about using XML

Re: Fonts:: Can fop display *any* local font

2002-05-22 Thread Chuck Paussa
You can embed any font in the generated PDF following the instructions given here http://xml.apache.org/fop/fonts Your catalog of fonts are in your machine. So create a script to generate the font metric files, edit the userconfig.xml file and then generate an FO document that displays some

Re: design help for multiple output formats?

2002-05-29 Thread Chuck Paussa
Phillip, What we've done is perform all of the non-output-format transformations into an intermediate node-set. e.g.: xsl:varable name=letter letter salutationDear xsl:value-of select=/xml/@name//salutation xsl:for-each select=./content paragraphHere's some content xsl:value-of

Re: Control of long words inside a table cell

2002-06-11 Thread Chuck Paussa
Use fo:table-cell wrap-option=wrap Chuck pkrishnaswami wrote: We are using FOP to publish our documents in PDF. Some of the contents in the table cell contain long words; eg: full name of java classes where the length of the package is wider than the cell\column width; The contents of these long

Re: table-layout=fixed

2002-06-12 Thread Chuck Paussa
in the table tag. Chuck Paussa fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=first-page page-height=285mm page-width=200mm margin-top=5mm margin-bottom=5mm margin-left=10mm margin-right=10mm fo:region-body margin-top=68mm

Re: tabulator

2002-06-12 Thread Chuck Paussa
Chuck Paussa *-Ursprüngliche Nachricht-* *Von: *Moebius, Yvonne [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *An: *Fop User (E-Mail) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] *Datum: *Mittwoch, 12. Juni 2002 16:41 *Betreff: *tabulator Hi, can somebody

Re: computing table-column width

2002-06-13 Thread Chuck Paussa
Florence Deforge wrote: Hello I need to create a style sheet which displays tables. In the xml instance tables are defined as follow : table line cell.../cell cell.../cell ... /line /table Tables can have any number of columns and I wonder if it is possible to

Re: Region Border

2002-06-19 Thread Chuck Paussa
J.Pietschmann wrote: FOP Newsgroup (@Basebeans.com) wrote: Or Alternatively create a block that fills the region-body? Try an absolutely positioned fo:block-container. There are some exampoles in docs/examples. I'm not sure whether borders are implemented for block-container, if necessary, embed

Re: FW: keep-together in a multi-column document

2002-06-21 Thread Chuck Paussa
Thibodeaux, Paul wrote: I'm using FOP to build a multi-column, multipage document that is essentially a directory of sorts, with names, addresses, and phone numbers. I'd like to keep all the lines of each entry together in the same column, but keep-together.within-column on the parent block

Re: degree symbol in pdf

2002-06-21 Thread Chuck Paussa
[EMAIL PROTECTED] wrote: Hi, I'm unable to get the degree symbol('#xB0;') to be displayed properly in the pdf while displaying a temparature value, whereas i get the cubed symbol('#xB3') correctly displayed while showing a flow value such as meter cubed per hr. We have been sucessfully using FOP

Re: performance problem renedering nested fo-tables

2002-06-21 Thread Chuck Paussa
Argyn, In your case it looks like you should investigate using fo:marker and fo:retrieve-marker to get your page headers. Each level of your table nesting would use a different marker-class-name. The page header can then retrieve the contents of that marker (The contents do not print in the

Re: fo:marker - how to show the broken secion on the next page

2002-06-24 Thread Chuck Paussa
Argyn, (This is a work-around until markers are fixed.) What you need to do is put one marker at the beginning of the block and another at the end. FOP complains about this with a warning but still processes it. You can then use fo:retrieve-marker retrieve-class-name=className

Re: Float or alternative

2002-06-27 Thread Chuck Paussa
Thibodeaux, Paul wrote: Any idea on when FLOAT will be implemented? Are there other ways to nicely float text around an image to get a professional looking docuemnt? Paul, Float isn't coming soon. Therefore, you have to calculate your text lengths and then manually create the wrap around.

Re: i18n support

2002-06-28 Thread Chuck Paussa
word's save as web page feature to generate the entities. Chuck Paussa Kevin Yeung wrote: Hi all I would like to know if FOP supports i18n. Can I embed Chinese characters in my XSL and export it to PDF? Thanks regards Kevin