Re: Problem with TTFReader FileNotFoundException

2005-03-23 Thread Chris Bowditch
Klearchou Klearchos wrote: Hello all, I am trying to generate the xml file from a ttf file in order to use it with my FOP Engine. I run win2k. I run it exactly as the instructions write but I always take a FileNotFoundException. java -cp

Re: Inserting a background image.

2005-03-21 Thread Chris Bowditch
Ramakrishnan, Deivanayagam wrote: Hi, I have a new requirement and would like to know if anyone of you have done this before. I have a PDF already generated. There is an image strored as a TIF file. Now, on request I have to programmatically insert the TIF as a BACKGROUND to the pdf file.

Re: HTML Tables converted to FO Tables

2005-03-10 Thread Chris Bowditch
Eckbert P. Dollhofer wrote: snip/ Hm? Are there any FO Formatters alternativ to apache-fop that will render tables with table-layout=auto to pdf? Would be off a big help! Yes. Try XEP 4 from RenderX Chris - To unsubscribe,

Re: Leader dots not showing up and Compilation exited abnormally with code 255 at Wed Mar 09 14:20:11

2005-03-10 Thread Chris Bowditch
Glen Mazza wrote: snip/ (2) fo:blockSIGNITEKfo:leader rule-thickness=1pt leader-pattern=dots/ does not seem to be producing a complete row of dots for my table of contents. It did in 0.19. In our /examples directory, we have a leader.fo sample somewhere. Run that and see if it works, if so

Re: Simple form?

2005-03-09 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: I want to produce a PDF-version of a simple html form and want to write labels and draw lines with specific length like: Name ___ Address___ Phone ___ (I am using a fo:table) What is the best way to do this? I

Re: How to adjust row width for overflowing text ?

2005-03-09 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: I have an issue where the text in a row is so long that it overflows to the next line and the top of the characters touch the lower part of the upper line. The 2 lines therefore appears squished. I have tried everything to set this right but nothing seems to be working..I

Re: FopServlet

2005-03-09 Thread Chris Bowditch
Ben Gill wrote: Hi, I am trying to use the FopServlet, but ideally, dont want to have to produce the XML file on disk, and then load it up again, just to pass in File, File into XSLTHandler (or TraxInputHandler)... So, I was trying to just pass in InputSources..(ie): ProjectTeam projectTeam = new

Re: Images and https

2005-03-08 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: The problem is very clear . The FOP transformation fails when the fo:external-graphics tag has a source to an image which is in secured site(ex: https:///someimage.jpg;. ) . Please let me know if you have any ideas for this. Joerg has already stated his ideas. This is

Re: impositions

2005-03-08 Thread Chris Bowditch
Mike Sierra wrote: This is not directly related to fop, but wonder if someone can help me out. Is there a batch utility available that allows you to create impositions from PDF input? I dimly remember seeing something like that for plain PostScript. Thanks, You mean like psup utility? Have

Re: How do you switch between page-sequences?

2005-03-07 Thread Chris Bowditch
Talken, Patrick (AGRE) wrote: Is it possible to switch between page-sequences based on an xml tag? What I need to have is a document that starts with pages in portrait and then at some point in the document switch to landscape for an unknown number of pages and then back into portrait for an

Re: Using FOP with docbook

2005-03-03 Thread Chris Bowditch
Peter Harrison wrote: We have started using docbook and using our existing FOP processing along with Ant. It appears that certain things are not supported in the currently released FOP - such as keeping a heading and the first paragraph together, not breaking up paragraphs, and not breaking figure

Re: Blank Pages between Page Sequences.

2005-02-24 Thread Chris Bowditch
Puppala, Kumar (LNG-DAY) wrote: snip/ Does anyone know if there is a way to get the correct behavior in Case 1. I have tested this using AntennaHouse and found similar results. I am not sure if this is a bug in both Apache and AntennaHouse (0R) if it is the desired behavior. Any input is

Re: Out of Memory problem

2005-02-24 Thread Chris Bowditch
Manisha Sathe wrote: I am trying for one Chinese PDF. When i do not make use of Arial Unicode MS font then i do not get this error. All chinese characters are displayed as #. Once i use this font then i get this error (even if it is just 2-3 pages long - sometimes at very beginning i get the 1

Re: Problem with report tail

2005-02-21 Thread Chris Bowditch
Miroslav Pukhalsky wrote: Hi! Chris Bowditch wrote: If you need to ensure content is always placed at the bottom of the last page, then I suggest you try putting this content into a fo:footnote. Sorry, but footnotes not workin properly. If body has more than one page, footnote prints on the first

Re: Printing PDF with background image

2005-02-21 Thread Chris Bowditch
Jeremias Maerki wrote: On 18.02.2005 11:18:21 Chris Bowditch wrote: Java 1.5, also has support for printing PDFs. Although other users on this list have reported problems rendering XSL-FO using FOP on JDK 1.5 Others may know of other tools that can be used to print a PDF That Java 1.5 has

Re: Printing PDF with background image

2005-02-18 Thread Chris Bowditch
Neil Guinto wrote: Jeremias, Thanks for taking the interest. Ok I'm looking for a quick solution at this point without me going into the nitty gritty of implementing a method (crunch time :-( ). I've got the actual PDF's rendered somewhere on the server side and wanted to route it straight to

Re: Problem with report tail

2005-02-18 Thread Chris Bowditch
Arun Sinha wrote: Hi, Alternatively you can say that you are trying to make last page special. Have a look on the following link that makes first page special. http://xml.apache.org/fop/fo.html#fo-first-page You can replace first page with last page. page-position=last is not supported by FOP

Re: Problem with report tail

2005-02-18 Thread Chris Bowditch
Miroslav Pukhalsky wrote: Hi, there! I have problem. I should generate PDF file. This report has 2 parts e.g. body and tail. If there is enough space for tail on a page after body, tail should be on the same page like page footer. If there is not enough space for tail on a page after body, tail

Re: Problem with report tail

2005-02-18 Thread Chris Bowditch
David Causse wrote: Chris Bowditch wrote: You can place your tail content into a table with 1 row and 1 cell, and put keep-together=always on the table-row. This should have the desired effect. Hi, but how do you force the tail to be placed at the bottom of the page 2 if 2 pages are needed

Re: Version from CVS building...

2005-02-15 Thread Chris Bowditch
J.Pietschmann wrote: The CVS head still hasn't keeps, footnotes, multi-column layout and proper table footer layout and will probably choke on a lot of features the current DocBook style sheets generate. OTOH there's a better block layout and a nearly compliant vertical alignment in lines... minor

Re: Why none replies to FOA experience

2005-02-11 Thread Chris Bowditch
Subbiah wrote: I have never got a single reply whenver I ask an question on FOA. I know this is FOP mailing list but only the guys on FOP will ever think of using FOA so definately this is worth asking here and I have been on this is list for quite some time and it is quite active. So please do

Re: are there alternatives to Apache FOP?

2005-02-11 Thread Chris Bowditch
Kai Hackemesser wrote: Hello, all, I am looking for a good FO-PDF converter. I tried so far FOP from Apache, but it looks like it currently doesn't support all features I would like to use (for example all border styles I tried result in solid borders, and the border collapsing sometimes doesn't

Re: HTML Tables converted to FO Tables

2005-01-31 Thread Chris Bowditch
Chris Greene wrote: Folks, I'm hoping that someone has already solved this problem... --- I have an input XML file that has a Body tag which contains an HTML Table as its content. --- If I save the HTML content to a file and open it in a browser, the browser very nicely formats the table with, I

Re: list in list

2005-01-20 Thread Chris Bowditch
Tommaso Taglioni wrote: snip/ I tried to consider it as simple lists but it doesn't work. Why doesnt it work? What does the generated FO look like? your xml and xsl look ok to me. snip/ Chris - To unsubscribe, e-mail: [EMAIL

Re: Space betweens columns

2005-01-20 Thread Chris Bowditch
Sönke Ruempler wrote: Hi, is it possible to control the space / margin between columns in multi-column documents? specify column-gap on region-body. snip/ Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Page background color

2005-01-07 Thread Chris Bowditch
Dennis Myrén wrote: snip/ Is there a way to set the background color of the entire page, regardless of whether objects are placed No, you cant set background color on the entire page. But you can set it on region-*. So in your case, as well as setting background color on region-body you will

Re: Image Problem in FOP url(...)

2004-12-21 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: I am trying to resolve my images dynamically. When I perform the following: fo:block xsl:variable name=pic select=../[EMAIL PROTECTED]/ fo:external-graphic src=url(quot;$picquot;) content-height=201in scaling=uniform/fo:external-graphic Image= xsl:value-of

Re: multi-column page and background colors

2004-12-17 Thread Chris Bowditch
Sönke Ruempler wrote: Hi, I want to setup a page layout with 2 columns. The page background should have a background-color while the columns' backgrounds remain white. How is that possible? I did not find how to set the background for the whole page, but only for the columns, maybe it's a mix of

Re: PDF that is printed and folded

2004-12-13 Thread Chris Bowditch
Sönke Ruempler wrote: Hi, I'm creating a flyer filled with events using fop. It's a A3 formatted page with 4 columns printed on both sides. After the flyer is printed, it's folded in the middle (to A4) and the order of pages changes. The start page (the first column of the original first page) is

Re: Column Span

2004-12-08 Thread Chris Bowditch
Sajeesh N Kakkat wrote: How do I add a row in a table that spans multiple cells after adding the regular rows which have the individual cells. This row with span has the total on it. put number-columns-spanned=@number on the fo:table-cell, replacing @number with an expression that evalutes to

Re: Column Span

2004-12-08 Thread Chris Bowditch
Chris Bowditch wrote: Sajeesh N Kakkat wrote: How do I add a row in a table that spans multiple cells after adding the regular rows which have the individual cells. This row with span has the total on it. Sorry for the noise, slight typo in my previous message: put number-columns-spanned=@number

Re: FOP distorting images

2004-12-07 Thread Chris Bowditch
Saptarshi Sen wrote: Hi, I am trying to generate PDF images (charts with embedded fonts) using FOP version 0.20.5. We first generate a SVG image using a charting tool called PopChart (version 5.1.0). We then create the 'fo' file from this SVG. This is finally fed to FOP to generate

Re: How to preserve new line

2004-12-06 Thread Chris Bowditch
Yann Bonnaillie wrote: I generate a DOM by using Java, with values that can be long text with new line inside... But when i apply transformation with FOP, new line contained in my texts are not preserved. How can i do to keep them ? Should i replace them by some special code representing new

Re: Font style problem

2004-12-02 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: So does it mean that I create an xml file for every required ttf font file ? Yes you must create font metrics xml files for every font you wish to use, except for the standard adobe 14 fonts. Generally this is not a problem as most documents tend to use at most 3 or 4

Re: [fop] linefeed-treatment=preserve doesn't preserve the linefeed

2004-11-23 Thread Chris Bowditch
Gunter D'Hondt wrote: snip/ which still outputs Line1Line2 so it replaces the newline character instead of preserving it Anybody who gots an idea what I'm doing wrong here? Any help is welcome... This is a FAQ. See: http://xml.apache.org/fop/faq.html#fo-preformat Chris

Re: [fop] linefeed-treatment=preserve doesn't preserve the linefeed

2004-11-23 Thread Chris Bowditch
Gunter D'Hondt wrote: Looking at the FAQ I think I don't do anything wrong in my code coz I'm placing the attrbute linefeed-treatment=preserve into it. The attr white-space-collapse I don't need or has nothing to do with the linefeed (I assume). Incorrect assumption, the FAQ says you need to

Re: intelligent page breaks with fop

2004-11-22 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: hi everybody, i am generating pdf using fop, the problem now is, that if e.g. the content of a table cell is longer than a page fop doesnt manage to split this up in an intelligent way, so it just extends the table cell on the next page, which looks really bad. in

Re: References on same page

2004-11-19 Thread Chris Bowditch
Sven Waibel wrote: My problem is that i don't know how many details i will have, so i can't say id=detail1, id=detail2. The way to tackle this problem is use the generate-id() in your xsl stylesheet. I cant really be more specific without seeing an example of your XML. Chris

Re: Current CVS - break-after/before=page not working?

2004-11-16 Thread Chris Bowditch
Tom Frey wrote: Hi, I don't seem to get break-after=page working with the current CVS snapshot. Is there something I might be doing wrong or is there something broken? Here's some test xsl which renders page breaks with v0.20.5 but not with the current CVS snapshot: There are currently two lines

Re: XSL-FO Specification

2004-11-09 Thread Chris Bowditch
Balamuraly wrote: Hello All, We are very interested in XSL-FO concepts. Can you please clarify the Specification version of XSL-FO as per W3C. What are the limitations in this version? See the compliance page for details: http://xml.apache.org/fop/compliance.html When is the next version

Re: Footer placement...

2004-11-08 Thread Chris Bowditch
Anil R. Pinto wrote: snip/ But with the marker approach I noticed that the footer area has to be allocated to the other pages (using the layout and region-after values applicable to the pages) irrespective. So, untimately although no footer is printed on the middle pages, the area is consumed by a

Re: bold font

2004-11-04 Thread Chris Bowditch
Mark Donnelly wrote: Im trying to get a bold font using the following snip block font-style=boldblah blah blah/block This should be: block font-weight=boldblah blah blah/block snip/ Chris - To unsubscribe, e-mail: [EMAIL

Re: MICR font in FOP as an embedded application..

2004-11-03 Thread Chris Bowditch
Anil R. Pinto wrote: snip/ But, the main requirement is to use this behavior with FOp running as an embeded application (using fop.jar). Can someone please guide me to a thread that covers this ? How to use a config file in an embedded environment is described on the website:

Re: Conversion of a SVG image (RGB) into PDF (CMYK)

2004-10-26 Thread Chris Bowditch
Saptarshi Sen wrote: Hi, What exactly is the org.apache.fop.dataTypes.ColorSpace.java file for? Does is provide any kind of support for CMYK? This is the java class that is used to represent the colour space specified in the FO. Although it clearly has enumerations for CMYK, the renderers

Re: I need your help

2004-10-19 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hi everybody, This is a pure XSLT question and probably best asked on the XSLT list: http://xml.apache.org/fop/maillist.html#xslt-mulberry This new tag can go n times each time I need the value of cureent tag vaue new and it immediate previous. The following XSL snippet

Re: I need your help

2004-10-19 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hi everybody, This is a pure XSLT question and probably best asked on the XSLT list: http://xml.apache.org/fop/maillist.html#xslt-mulberry This new tag can go n times each time I need the value of cureent tag vaue new and it immediate previous. The following XSL snippet

Re: text alignment

2004-10-19 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: hi, i got a problem which hasn 't been described in the mailing list archives. i have a standard block article, what i know want is that the right-most char of every line of text output is exactly aligned to every other right-most char of the other lines of this

Re: Base font and russian

2004-10-12 Thread Chris Bowditch
Cédric Augustin wrote: snip/ Does fop use the X11 font ? No. In fop configuration it says that fop need X11 to be installed. Thats right, or if you have Java 1.4 you can run with the -headless option. If not, which font does fop is using ? Depends on what you specified in font-family property?

Re: Printing from multiple trays with FOP generated output

2004-10-07 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: Hello, I am looking into implementing a XML--XSLFO--PS or PDF process, but need the ability to have different pages of the output print from different printer trays ( one with letterhead, one on blank paper). Is there a way to instruct FOP to insert the printer tray

Re: Problem with headers

2004-10-01 Thread Chris Bowditch
Philip Snyder wrote: I have a problem with the headers not showing on any even numbered pages on 1 of my pdfs. The XSL can be seen here: http://comstar.dotgeek.org/period_report.pdf.xsl I can't figure out what is wrong - the header is written almost exactly the same as my other report and I

Re: different header on first page

2004-10-01 Thread Chris Bowditch
Robert Guggenberger wrote: i got pages with a JPG on the top (in the region before) now this JPG-header should only be visible on the first page there is no special content on the first page ( a must not for a page break - otherwise i would do it with 2 page sequences, flows) i found how to use

Re: TeX output in FOP

2004-09-29 Thread Chris Bowditch
Ganesh Babu Nallamothu, Integra-India wrote: Dear All, In my project I have to display TeX, MathML and GIF output to PDF. For MathML, I have taken new snap shot from apache site. and it is working fine. For GIF, Any how this is external image we can able to display. Do you mean how can you include

Re: margin-bottom, region-before ingnored by region-body with column

2004-09-29 Thread Chris Bowditch
Johannes Wolfgang Woger wrote: Does that mean that the whole page is reserved for region-body and other regions can only exist when the region-body provides enough margin space ? Even the outer margins are consummed by region-body ? is this XSL-FO compliant? Yes this is correct and as presecribed

Re: Adjacent tables

2004-09-29 Thread Chris Bowditch
Mark Donnelly wrote: Been looking through the FO documentation and cant find anything to do with creating adjacent tables. Id like to have one table on the left and then two tables on top of each other next to the first (ie to the right of the first). Anyone know of any methods? Create an outer

Re: Preserving blank table rows

2004-09-28 Thread Chris Bowditch
Mark Donnelly wrote: Does anyone know how to preserve blank table rows? If I create a table with a bunch of empty table rows at the end, they do not appear in the resulting pdf doc. If however, I put a full stop in one table cell of each of these rows then they appear. Does anyone know, is this

Re: Preserving blank table rows

2004-09-28 Thread Chris Bowditch
Mark Donnelly wrote: Im using an xslt/fo transform of an xml document and dont have any html in it. As such nbsp; isnt recognised. Ive also tried the UTF-8 sequence: #xa0; but that is then not recognised by the fop parser. #xA0; should work. Can you post the error here, along with a snippet of the

Re: ERROR -2

2004-09-24 Thread Chris Bowditch
Mark Donnelly wrote: snip/ java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.ja va:130) This is the key to solving the problem. Looks like you have defined a table row with more cells than columns have been defined in the

Re: problem with function

2004-09-24 Thread Chris Bowditch
Eldho George wrote: Hai all The following is my code snippet.Here I am passing html string for making its xhtml But its showing error like the function should return string.A tried with diff possibilities.But its not get solved .If anyone know please help me I'm struggling to understand how this

Re: FW: Problem with font

2004-09-21 Thread Chris Bowditch
Eldho George wrote: I have a problem with font.The following is my font template fo:inline font-size={$size} font-family={$face} color={$color} line-height=12pt xsl:apply-templates select=*|text()/ /fo:inline The problem is FOP doesnt handle fo:inlines properly. It should generate its

Re: Probably simple build issue

2004-09-08 Thread Chris Bowditch
Thomson, Alisa wrote: I have installed FOP 0.20.5 and ant 1.6.1 running JDK 1.4.2_03. I was just trying to run build -projecthelp and I received the error below. ant.jar is in my Classpath. I know why I am receiving the error...it is because org/apache/tools/ant/launch/AntMain does not exist in

Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Pascal Sancho wrote: snip/ codegen: [echo] Resetting codegen directory [echo] Generating the java files from xml resources [style] Processing D:\cvs\xml-fop\src\codegen\encodings.xml to D:\cvs\xml-fop\build\gensrc\o rg\apache\fop\fonts\CodePointMapping.java [style] Loading

Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Jeremias Maerki wrote: Chris, have you tried under JDK 1.3? Because Pascal tries to compile under 1.3. Unfortunately, I'm at work on my notebook where I don't have a current FOP HEAD to try. I can check this out this evening. I'm running 1.4 at the moment. Ive just tried 1.3 and it fails! Not with

Re: Error while building FOP dev1

2004-09-07 Thread Chris Bowditch
Jeremias Maerki wrote: Looks like we don't have JDK 1.3 compatibility at the moment. I think I have seen this myself under JDk 1.3 lately. Yes, I agree. snip/ Note to Devs: We should see to it that at least the Transcoders compile again under JDK 1.3 as Batik still depends on it. Unless there is a

Re: problem with the combination of numberation and sort

2004-09-03 Thread Chris Bowditch
Dirk Sonne wrote: Hello List, i have a little problem with the combination of numberation (xsl:number format=1.1 level=multiple count= value | anOtherValue /) and sort (xsl:sort select=value/) If I use only xsl:number or xsl:sort, it works fine. But a combination of both won't work. The sort

Re: 2 images with different sizes in a table row

2004-09-03 Thread Chris Bowditch
Sven Waibel wrote: Hello, i've two images with different sizes, one 2cm the other one max. 2cm. Table-row --- | Image1 |Image2 | --- So should be the height 2cm, but it doesn't work: fo:external-graphic

Re: 2 images with different sizes in a table row

2004-09-03 Thread Chris Bowditch
Sven Waibel wrote: It doesn't work. I don't understand it. What behaviour are you observing? What is the dpi of your image? Without width/height specified, FOP defaults to 72dpi and sizes the image accordingly. To scale your image to a particular size, I find that specifying both width and

Re: use already existing PDF for XSL:FO

2004-09-02 Thread Chris Bowditch
Peter wrote: Hello lists, I know it's probably not the right list. situation: on a client i have a C++ application that creates a pdf by list labels. the data from the client application ist transferd by webservice to a server, the server make out of the object an xml file. problem: Can I make a

Re: AW: Create special Last Page

2004-08-31 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: snip/ Could you tell me please a little bit more about the workaround with markers? Place the contents for the last footer inside fo:marker tags after the rest of your content. In the region-after, retrieve this marker for every page. Now, because in previous pages the

Re: Configuration Details

2004-08-23 Thread Chris Bowditch
Ryan Eldridge wrote: I apologize if this is document somewhere but I was unable to locate it. I need to be able to turn on and off the Flate and ascii-85 filters. as far as i understand this should be achieved via the userconfig.xml file imported using the Options method. I do not know the

Re: FOP 1.0 Dev.

2004-08-20 Thread Chris Bowditch
Sun, Tiffany (Tong) wrote: Chris, Thanks for your reply. Is there a planned release date for FOP-1.0? The software I'm working on will be in Production early next year, guess I'll have to do all my modifications based on FOP-0.20.5. There are no deadlines in the Open Source world. Volunteers

Re: FOP 1.0 Dev.

2004-08-19 Thread Chris Bowditch
Sun, Tiffany (Tong) wrote: Hi, I'm currently using FOP 0.20.5, but when I downloaded FOP1.0 Dev from CVS in hope it will fix some of my problems, I ran into more problems: Yes, you will. The 1.0 Dev branch isnt ready yet. First, I have to change most of the method calls for it to compile, then I

Re: Where to find FOP 1.0 Dev

2004-08-19 Thread Chris Bowditch
Dennis Myrén wrote: Hi. Where can I find and download the FOP 1.0 Dev sources? You will need to install a CVS client and connect anonymously to the Apache CVS server. it is all described on the website: http://xml.apache.org/fop/dev/index.html#dev-code Chris

Re: Table-of-Contents Headlines

2004-08-19 Thread Chris Bowditch
Johannes Franz wrote: Hi is it possible to declare certain sentences as a headline and generate autmatically a table-of-contents in JFOR/FOP? Perhaps somebody could send me an example. No this is not possible in general within XSL-FO. You can do something in XSLT. Using markers and

Re: Problem with table and borders.

2004-08-19 Thread Chris Bowditch
Johan Andersson wrote: Hi all, I'm using FOP 0.20.5 to create a PDF document. The document contains a table with 5 columns and varying number of rows. There is a line drawn around the table using the border-* properties of the cells at the edge of the table. The line drawn however appears to

Re: Having trouble removing linefeeds

2004-08-18 Thread Chris Bowditch
Glen Mazza wrote: snip/ fo:table-cell fo:block text-align=end System Codes fo:retrieve-marker retrieve-position=first-starting-within-page retrieve-boundary=page retrieve-class-name=code/ fo:block-/fo:block Glen, I think this is your problem. Try placing the minus inside a

Re: different input type to org.apache.fop.apps.XSLTInputHandler;

2004-08-17 Thread Chris Bowditch
Andrew S Moy wrote: The constructor of org.apache.fop.apps.XSLTInputHandler takes the XML file and XSL file. I was wondering if anyone knows other XSLTInputHandler which takes some source of input stream objects. This way we don't have to write the data to a physical file and knowing that it

Re: different input type to org.apache.fop.apps.XSLTInputHandler;

2004-08-17 Thread Chris Bowditch
Chris Bowditch wrote: In FOP 0.20.5 XSLInputHandler has three public constructors: public XSLTInputHandler(File xmlfile, File xsltfile) public XSLTInputHandler(String xmlURL, String xsltURL) public XSLTInputHandler(InputSource xmlSource, InputSource xsltSource) either of the the later

Re: different input type to org.apache.fop.apps.XSLTInputHandler;

2004-08-17 Thread Chris Bowditch
Chris Bowditch wrote: Sorry about all the noise, but I got it wrong again. ByteArrayInputStream xmlin = new ByteArrayInputStream(xml.getBytes()); ByteArrayInputStream xslin = new ByteArrayInputStream(xsl.getBytes()); XSLTInputHandler transform = new XSLTInputHandler(xmlin, xslin); Correct version

Re: fo:table-header - between 2 pages

2004-08-16 Thread Chris Bowditch
Philippe PITHON wrote: snip/ For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the fo:table-header will not have enough place, there will be a page break and the fo:table-header will be written at the beginning of the next

Re: Java App using FOP : How to communicate on the number of pages generated ?

2004-08-10 Thread Chris Bowditch
[EMAIL PROTECTED] wrote: snip/ Is there a better way than using a specific logger ? Implementing a logger class that looks for the [INFO] [1] [INFO] [2] etc messages is the only way to report progress to the user. There is no way to know the total page count before hand either. Chris

Re: generating PDFs in non-english

2004-08-09 Thread Chris Bowditch
Nuno Lopes wrote: Hello, I was trying to make some PDFs of the PHP manual when I got some problems. The manual is written in docbook and then I have a XSL sheet. I can generate the manual in english, portuguese, french,... but not in russian. Firstly, please post user related questions to the user

Re: Enhancing FOP command line speed

2004-08-09 Thread Chris Bowditch
Markus wrote: snip/ so we would like to see a very fast pdf generation. our environment is perl on linux. whicht tipps to speed up generation? so far it seems to make not much differnce wheter i call fop fop -xsl ticket.xsl -xml ticket.xml -c myconfig.xml -pdf ticket.pdf or first produce the

Re: throttle the quality of images

2004-08-04 Thread Chris Bowditch
Johannes Franz wrote: Hi there, i would like to throttle the quality of images, because the created pdf grows to big. Is there a formatting objects command to do this? Or is the only solution to throttle the quality of the images before converting? There is no XSL-FO property to reduce the

Re: Feature Request / Bug Report (XEP vs. FOP)

2004-08-02 Thread Chris Bowditch
Alexander Lohse wrote: First off, please do not mail FOP committers directly. Use the mailing list, we all monitor the user list. Hi, I have a urgent need to get a certain rendering done, where FOP fails badly. It is about block-containers/columns and fixed heights. It is a very simple xsl:fo.

Re: Absolute path of font file ...

2004-07-30 Thread Chris Bowditch
Varadharajan Sethuraman wrote: Thank you very much ... is It possible to refer metrics-file attribute for one directory, and embed-file attribute for another directory? for example ... I have metrics xml file in c:\my\metrics-base\dir\fontmetrics1.xml and ttf file in

Re: No of pages in fop package

2004-07-29 Thread Chris Bowditch
Chandrasekhar Sanku wrote: I found that , fop is restricted to 50 pages by default. This is not true. What makes you think FOP is limited to 50 pages? If you are getting an error please post the text of error message here so we can help. snip/ Chris

Re: table height problem

2004-07-28 Thread Chris Bowditch
Chandrasekhar Sanku wrote: snip/ I am creating a pdf using fop. In the generated pdf, the height of the table is stretched very long even the content is small. Why this happened? Does anybody faced this problem? No, I havent seen this problem. To help us help you, please post a *small*

Re: Absolute path of font file ...

2004-07-28 Thread Chris Bowditch
Varadharajan Sethuraman wrote: snip/ org.apache.fop.configuration.Configuration.put(baseDir,/my/base/dir); Here is another that sets baseDir in a Windows environment: org.apache.fop.configuration.Configuration.put(baseDir,C:\my\base\dir); How do I use that values for /font-metrics or embed-file

Re: xml schema question

2004-07-23 Thread Chris Bowditch
Peter Menzel wrote: snip/ My xml schema snippet for this element: xsd:element name='element' xsd:complexType xsd:choice xsd:element ref='dd' minOccurs='0' maxOccurs='unbounded'/ xsd:element ref='cc' minOccurs='0' maxOccurs='unbounded'/ xsd:element ref='aa'

Re: Adding Blind Tables for Figures

2004-07-22 Thread Chris Bowditch
David Shevitz wrote: snip/ I understand that if I want to keep my captions with my figures in a given document, I should use a blind table. However, all the examples I see were posted around 2 years ago (granted I might be looking in the wrong place). I tried using them, but they don't seem to

Re: xref to mediaobject or imageobject doesn't work

2004-07-22 Thread Chris Bowditch
Thomas Richter wrote: Hi, if I have sect id=x1 xreflabel=label1 and xref linkend=x1 I got in the pdf a link label1. If I click on it the reader jumps to the section. But if I try it with mediaobject id=x2 xreflabel=label2 and xref linkend=x2 I got only the link but can't jump. It also not possible

Re: Adding Blind Tables for Figures

2004-07-22 Thread Chris Bowditch
David Shevitz wrote: Thanks. I hadn't realized there have been so few updates to FOP. I noticed on a post that to implement a blind table within a template, I should add the following to my customization layer: customization layer? Isnt that a docbook term? I'm not familiar with docbook. The

Re: supported lists of FOP_0.20.5

2004-07-19 Thread Chris Bowditch
Varadharajan Sethuraman wrote: Hi, Where do I find the supported lists of FOP_0.20.5 Its the standard 14 supported by Adobe: font name=Courier-Bold/ font name=Courier-BoldOblique/ font name=Courier-Oblique/ font name=Courier/ font name=Helvetica-Bold/

Re: adding fonts to fop applet

2004-07-14 Thread Chris Bowditch
John Root wrote: Edward, Actually, this is not that difficult, however it's not well documented. You'll need to set up a configuration file for FOP, convert the fonts that you plan to use for your application, and add the info for the converted fonts to the config file. This procedure is fairly

Re: fo:region-end graphics anomaly

2004-07-14 Thread Chris Bowditch
Clay Leeds wrote: snip/ I've tried: - giving the 3 graphics different width values (e.g., .5cm .5cm .5cm; 5cm 5cm 5cm; etc.) - using every combination of attributes imaginable (width/height; content-width/content-height; width/height/content-width/content-height; width; height; content-width;

Re: printing on dot matrix printer

2004-07-14 Thread Chris Bowditch
Neil Guinto wrote: Ver: FOP 0.20.5 I need to print a report using a dot matrix printer. The paper size that I'll be using is 8.5in x 14.875in. I initially test it on our laser printer using a letter size paper. The output looks good. On a dot matrix printer (Lexmark 2381+) the font size

Re: linking the font (not embeded font) with pdf

2004-07-14 Thread Chris Bowditch
Varadharajan Sethuraman wrote: Hi All, I have a problem with linking the font (not embeded font) with pdf. In the userconfig.xml file I have specified only metric-file attribute. I haven't specified embed-file attribute value. Following highlighted paragraph from taken from

Re: out of memory exception while creating font metrics

2004-07-13 Thread Chris Bowditch
Chandrasekhar Sanku wrote: Hi all, To use system fonts in FOP, I am creating metrics files for each font. While doing this process, my program is giving out of memory exception. How to resolve this problem.. I am attaching the method what I have written. Some of the fonts in the

Re: table spanned over a 2 columns page

2004-07-12 Thread Chris Bowditch
Pascal Sancho wrote: snip/ fo:flow flow-name=xsl-region-body ... fo:table span=all ... /fo:table ... /fo:flow FOP doesnt support span=all on fo:table, only on fo:block elements that are direct descendents of fo:flow. snip/ I wonder wether it is a normal behaviour (I've checked the

Re: HTML Renderer

2004-07-12 Thread Chris Bowditch
Helg Bredow wrote: Does anyone know if there is an HTML renderer available for FOP? We want to use FOP as file type independent output tool and want users to just be able to select a layout (i.e. XSLT file) and then a renderer. I know you can just write a transformation from XML to HTML directly

  1   2   3   4   5   >