Re: i18n support

2002-06-28 Thread Chuck Paussa
re 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

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. I've

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 Chuck Argyn Kuketayev wrote: I have a block. Whenever the page br

Re: performance problem renedering nested fo-tables

2002-06-21 Thread Chuck Paussa
Argyn, In your case it looks like you should investigate using and 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 page, are there only to be re

Re: degree symbol in pdf

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

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: 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 a

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 : ... ... ... Tables can have any number of columns and I wonder if it is possible to create a single template that would first c

Re: tabulator

2002-06-12 Thread Chuck Paussa
all numbers. If they aren't equal, then add the right number of zeros after the number to pad it correctly wrapped in an inline element 000 Chuck Paussa *-Ursprüngliche Nachricht-* *Von: *Moebius, Yvonne <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>

Re: table-layout=fixed

2002-06-12 Thread Chuck Paussa
le in the table tag. Chuck Paussa http://www.w3.org/1999/XSL/Format";> header

Re: Control of long words inside a table cell

2002-06-11 Thread Chuck Paussa
Use 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 words spills beyond the table ce

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.: Dear Here's some content And then write a set of output-specific transformations Chuck Phillip Rhodes wrote: Hi. I have created a html document as

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 tex

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: Newbie: html-like table to fo-table

2002-05-16 Thread Chuck Paussa
Jens Here's my partial 2 minute solution untested (a hint Take a look at the spec here http://zvon.org/xxl/xslfoReference/Output/index.html ) etc. etc. Chuck Paussa Jens Posi

Re: foregroundColor

2002-05-13 Thread Chuck Paussa
Michael J. Godfrey wrote: Greetings, How do I make this.. 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 Chuck

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 to

Re: page count

2002-04-26 Thread Chuck Paussa
L/Format"; exclude-result-prefixes="fo"> Chuck Paussa Henrik Holle wrote: can you please explain me how to cou

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 . Then run that document through an XSLT transformation that adds up the total number of pages and replaces those special bl

Re: AW: Again: keep-together

2002-04-19 Thread Chuck Paussa
ed table. Are wrong? Thanks again, Frank -Ursprüngliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet am: Donnerstag, 18. April 2002 19:12 An: [EMAIL PROTECTED] Betreff: Re: Again: keep-together Frank, H I'm not exactly sure what you're trying for but, here'

Re: RE : footnote design

2002-04-18 Thread Chuck Paussa
Nicolas and Ingo, Use to surround the footnoted text Chuck > Nicolas Mazziotta wrote: > > Don't forget you can use e.g. to format the reference numbers in footnotes (as well as in text!). > > For the "short line", if someone has an idea, I'm interrested too. > > N. Mazziotta > > -Message d

Re: Again: keep-together

2002-04-18 Thread Chuck Paussa
those 1 column headers into separate tables with the one column header on the area (That way, if the table happens to break across a page boundary, the table header is repeated on the next page.) Chuck Paussa > Nestel, Frank ISC 6 wrote: > > I know you all work hard. But just to ex

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: Absolute positioning?

2002-04-16 Thread Chuck Paussa
ou think ? -Ursprüngliche 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

Re: Absolute positioning?

2002-04-16 Thread Chuck Paussa
Test3 Dipl. Inform. Patrick Chaumette T-Systems ITS GmbH -Ursprüngliche Nachricht- Von: Chuck Paussa [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. April 2002 18:11

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. Chuck Chaumette, Patrick wrote: Hello Jerome, do you put the "position" attribute on

Re: spna="all" didn't work for

2002-04-15 Thread Chuck Paussa
Argyn, COMMENTS: Where number-columns-spanned="3" 3 or 4 or 5 or how ever many columns are in your table Chuck Paussa Argyn Kuketayev wrote: this didn't work either :( COMMENTS: -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Monday, A

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: column problem

2002-04-12 Thread Chuck Paussa
Stefan, use 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: Now i have my columns but what must I do

Re: Tables inside of tables

2002-04-10 Thread Chuck Paussa
Ken, I have done exactly what you describe, so I know it is possible. The only thing I can think of is that you haven't allowed enough room for the inner table to be displayed. Test it making sure that the width of that 5th column is wider than the combined widths of the three columns of the en

Re: Two columns

2002-04-05 Thread Chuck Paussa
Alex, You need to include a column-count in your fo:region-body like this: . . . 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

Re: Problem with â and Å caracters

2002-04-05 Thread Chuck Paussa
://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 rendered

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, cor

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 instruction

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

Re: Error

2002-04-02 Thread Chuck Paussa
y are less than the page width minus the margins Chuck Paussa Woods, John T. wrote: I am converting a very large fo file into PDF and I get this error message at the very end of the conversion process. This is causing the PDF file to not open due to a file damaged error. Has anyone seen this

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'

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 o

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 To do the column and row spanning, use number-columns-spanned and number-rows-spanned Chuck Mathy V Arumugam wrote: I need a table looking like this :))) ***

Re: FOP Performance Limitations?

2002-03-12 Thread Chuck Paussa
David, Most likely you're running out of memory. You should set a new page-sequence every once in a while (~60 lines of report would make it every page) Look on the FAQ about memory consumption Chuck David Le Strat wrote: All, I am currently working on a project where we are dynamically creating

Re: Table header.

2002-03-08 Thread Chuck Paussa
n create 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,

Re: Relative position elements

2002-03-06 Thread Chuck Paussa
one it successfully 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, beca

Re: : XML -> MS Word??

2002-03-04 Thread Chuck Paussa
nto 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: Mon

Re: Relative position elements

2002-03-01 Thread Chuck Paussa
Sebastien, They are on block-container. I don't know about block but here's some code I use: Chuck Paussa Sebastien Foucault wrote: Hello, Are relative position attributes implemented in fop (either on block element or on block-container element) ? If so how to make them work ?

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 but it didn't work. Is it a FO normal beha

Re: XMLSpy - FOP

2002-02-28 Thread Chuck Paussa
7: [ "C:\Fop-0.20.1\Output.pdf" ] 8: [ ] 9: [ ] Chuck Paussa Savino, Matt C wrote: Thanks Chuck, I see I can actually use your workaround to go straight from XML-PDF with XMLSpy. But my problem right now is I can't even get XMLSpy to run FOP on an FO file that I know works. I just get that sam

Re: How to expand blocks in table in table ?

2002-02-28 Thread Chuck Paussa
t the line wrap requirement. I've attached an example. Chuck Paussa Torsten Krämer wrote: I need to show a set ( a lot of ) of key-value pairs layed out in grid. I took a table, in each cell I put a block with border and background set into which goes a new table with 2 rows each one cell. Firs

Re: XMLSpy - FOP

2002-02-27 Thread Chuck Paussa
Let's see Path to FOP bat file = C:\Fop-0.20.1\fopx.bat fopx.bat file = saxon -o test.fo %3 pdf_master.xsl @java -Xms256m -Xmx256m -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\avalon-framework-4.0.jar;lib\logkit-1.0b4.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -c

Re: markers

2002-02-27 Thread Chuck Paussa
I think that Markers are completely broken in Fop-0.20.3rc2. I've posted a bug to bugzilla on it [INFO]: FOP 0.20.3rc [INFO]: building formatting object tree [ERROR]: null Chuck Paussa

Re: markers

2002-02-27 Thread Chuck Paussa
t the style sheet doesn't insert space data as the initial child Chuck Paussa

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

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 (B . . . (B (BChuck (B (BMiya Chiharu wrote: (

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 If you examine the PDF and

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: Unicode numbered entities.

2002-02-20 Thread Chuck Paussa
Paul, You need to render them in a font that is able to render those characters. To do that, you need to find a font and then follow the directions on the FOP page re "embedding fonts". A good general purpose font for unicode characters is the cyberbit font from bitstream. You can get it from

Re: controlling orientation

2002-02-15 Thread Chuck Paussa
Sampige, You set the page size to 11" x 8.5". The printer then figures out that it should be printed landscape http://www.w3.org/1999/XSL/Format";> Chuck Sampige, Srinivas wrote: I want my PDF pages to be generated in a LandScape orientation. How do I do that? thanks Srinivas

Re: FOP --> PDF

2002-02-14 Thread Chuck Paussa
Karim, I'm able to touch up my own PDFs. (I'd never tried it before but, I just did it now.) I generated the PDFs with FOP-0.20.2 and touched it up with Adobe Acrobat 4.0 all under Windows 2000. I've heard there are problems with certain versions of Acrobat 5. Chuck Karim Karman wrote: Hi Chuc

Re: Overflow processing

2002-02-14 Thread Chuck Paussa
Mike, You're right. Overflow is not yet implemented. (It's not on http://xml.apache.org/fop/implemented.html) Chuck Mike Wilkinson wrote: I am working with a program that generates the following which is processed by fop. I need to add text overflow to the text area to stop the text overflowing

Re: Problems with SVG and PDF

2002-02-13 Thread Chuck Paussa
Stefano, Two possibilities: 1. I believe you need to wrap the external-graphic in a block. Otherwise, there's no container with a height and width in which fop can place the contents. 2. you've got an extraneous inside your tag (That must be

Re: Borders not displaying

2002-02-12 Thread Chuck Paussa
Stephan, I've found that often border-style="solid" is required Chuck Stephen Clarke wrote: Hi again, For my next question, can anyone tell me what could be wrong with the following. It doesn't seem to display any borders. Is this a problem with FOP or with me? I've followed the reference manual as

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 tags. Those contents are not output on the page. Also, your code used region-start, you want region-before

Re: Getting system-time

2002-02-12 Thread Chuck Paussa
Meena, You'll have to use an XSL extension function and use an XSL processor that implements that function. The most standard date implementation is the one offered by EXSLT. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"xmlns:date="http://exslt.org/date

Re: Page Sequence Question

2002-02-06 Thread Chuck Paussa
Lars, I believe you use and then define the footer within If you want to extend the footer across the whole page (So its not just a column footer) then you use Lars Karschen wrote: Hi, I've got a question concerning page-sequences. I tried to create a sequence of pages, which all

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 http://www.renderx.com/bar

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: http://localhost:8080/fop/fo

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 tags. In my XSL file, I am using the following code to do page breaks - . I have a document that will gen

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: problems with unicode in a table

2002-01-09 Thread Chuck Paussa
Michael, I saw this discussed before. Apparently your fontname.xml file does not have a character width defined for the euro symbol. So, FOP calculates the starting position for printing the text assuming that the euro symbol has no size. The fix was to alter the fontname.xml file pointed to by

Re: table-alignment

2002-01-07 Thread Chuck Paussa
Michael Whay you are looking for is Chuck Michael König wrote: Hello, I have a tabel like this: long line with | text a break| | next line | text but what I want is this: long line with | a break| text | next line

Re: REgarding fo:retrieve-marker

2002-01-04 Thread Chuck Paussa
Hi Meena, fo:retrieve-marker is used (usually in the header) to retrieve the contents of an fo:marker which has been placed in the flow (body of the page). For instance, if someone is trying to build a phone book, you would do this for every phone book entry LastNameLastName, FirstName ...

Re: Need more diagnostic info from FOP ... how?

2001-12-19 Thread Chuck Paussa
Trevor, Hm. I'm not sure but, I think that you're having a "dueling spec collision" problem. The old spec used "master-name" the new spec uses "master-reference". I don't think the change has yet been released in FOP since the spec change is only a few weeks old. Do a search and replace on

Re: True Type Fonts in Fop

2001-12-14 Thread Chuck Paussa
Sam, What I have found is that, in certain situations, you have to also install the font in your print manager so that the font can be properly sent to the printer. It all depends on the software being used to print the .pdf file. We're printing from Adobe Acrobat® under windows in one scenario

Re: fo:inline error

2001-12-07 Thread Chuck Paussa
Edward, You are right aligning the inline element within the block. You need to have 2 blocks one start, one end like this: Chuck Edward Dowgiallo wrote: This may be an error or I may just not understand how this is supposed

Re: xsl:choice

2001-12-07 Thread Chuck Paussa
Edward #1 You should be sending these questions to the XSL list #2 You need to use a dot at the front of your query so that the current context is set (.//eraname) Chuck Edward Dowgiallo wrote: I seem to be not getting the intended use of xsl:choice. The following stylesheet segment causes fop

Re: How to avoid using too much memory to create relatively large PDF file

2001-11-14 Thread Chuck Paussa
Xingjian, 80 Mb is not bad. We allocate 250Mb to process my documents. I've been monitering the conversations on memory usage on fop-dev and the short story is this: They're working on several schemes to reduce memory usage. Those schemes won't bear fruit for a while. Until then, the only sugge

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 2