Unprintable pdf

2005-07-26 Thread Yayo
Hi, i'd like to know if there's a way using fop to render a pdf document protected so it cannot be printable. I've got a preview action for users to see how it goes and the definitelly print action wich will do some more processing... Thanks :B ---

Re: Unprintable pdf

2005-07-26 Thread Jeremias Maerki
Check the following page: http://xml.apache.org/fop/pdfencryption.html You need to encrypt the PDF and set the appropriate attribute. On 26.07.2005 10:07:38 Yayo wrote: > Hi, i'd like to know if there's a way using fop to render a pdf > document protected so it cannot be printable. > > I've got

Vertical alignment

2005-07-26 Thread Samuel Remacle
Hello,   My problem is the following, I'd like to align vertically a text inside a table-cell but after searching the web I couldn't find the property to do that. So I would be glad if you could help me, how do I put the text in a table-cell, at the middle of that table-cell?   Thanks   Samuel --

Re: Vertical alignment

2005-07-26 Thread Renan Collin
Hello, It seems this functionnality is not implemented yet on fop 0.20.5. Renan Samuel Remacle a écrit: Hello, My problem is the following, I'd like to align vertically a text inside a table-cell but after searching the web I couldn't find the property to do that. So I would be glad if yo

RE: Problem with SVG in FOP rendering

2005-07-26 Thread Bielik, Robert
Thanks Pascal, However, at the moment, that is not an option because of a lot of dependecies and lack of time. I d/l the fop trunk with svn and started to build it. However, it wants to use JDK1.4 GraphicsConfiguration, whereas we use JDK1.3. How can I force the ant build to select JDK1.3 Graph

Re: Help about FOP 1.0 DR1

2005-07-26 Thread David Xicota Adell
We will try to implement it and let you know where we get with it. Maybe it would be interesting to add it as an extra funcionality of FOP, or as an additional module or extension. David El jue, 21-07-2005 a las 20:49 +0200, Simon Pepping escribió: On Wed, Jul 20, 2005 at 09:21:32PM +0200,

Re: Vertical alignment

2005-07-26 Thread Dirk Bromberg
Hi, display-align="center" at the cell works! border-style="solid"> font-family="{$font.family}" font-size="14pt" > Text1 Dirk Renan Collin wrote: Hello, It seems this functionnality is not implemented

Problems with embedded font

2005-07-26 Thread Dobri Kitipov
Hi everybody,   My question looks long but it is not =) I have to generate pdf from xml. The pdf contains Cyrillic, so I generated the needed font with: java -cp build\fop.jar;lib\avalon-framework.jar org.apache.fop.fonts.apps.TTFReader C:\WINNT\Fonts\arial.ttf  ttfcyrillic.xml   I ad

Arabic PDF

2005-07-26 Thread mohamed salah
Hello , Can any body tell me how to create arabic PDF using fop?I created one by empeding Arabic font. but the text is not ordered or shaped. Why this happens? How is responsible for these tasks (ordering and shaping for arabic text) adobe reader or fop? Please Advise!Thanks,v

Re: Vertical alignment

2005-07-26 Thread Renan Collin
Ah yeah, I tested top or bottom, and I do not remember it worked, but for Samuel it is ok !! Renan Dirk Bromberg a écrit: Hi, display-align="center" at the cell works! border-style="solid"> font-family="{$font.family}" font-size="14pt" >

Re: Vertical alignment

2005-07-26 Thread Chris Bowditch
Renan Collin wrote: Hello, It seems this functionnality is not implemented yet on fop 0.20.5. This is not true! As someone else already stated display-align on table-cell will allow to vertically align the text inside the cell. Chris --

Re: Arabic PDF

2005-07-26 Thread Renan Collin
Hi, I tried too, but FOP team needs developpers to solve this compatibility problem. So not implemented yet. We are using AWT instead to have the correct arabic characters but it is just a screen output ... not PDF It seems it is the FOP PDF renderer which does not do the work Renan mohamed s

Re: Arabic PDF

2005-07-26 Thread Chris Bowditch
mohamed salah wrote: Hello , Can any body tell me how to create arabic PDF using fop? I created one by empeding Arabic font. but the text is not ordered or shaped. Why this happens? bidi and right to left rendering is not supported in FOP 0.20.5. So whilst you can generate some text using a

Re: Vertical alignment

2005-07-26 Thread Renan Collin
Have you already succeeded in doing a top or bottom vertical alignment in a table cell ? That would help me Thx Renan Chris Bowditch a écrit: Renan Collin wrote: Hello, It seems this functionnality is not implemented yet on fop 0.20.5. This is not true! As someone else already stated di

Re: Arabic PDF

2005-07-26 Thread mohamed salah
Hello Renan , Thanks for your Fast rely.Do you know the correct tag that should be added to fop code to enable Arabic PDFs? Is it writing-mode? I tried it in fop but unfortionaly it niether gave me worning nor affected the output pdf.  What is the correct Tag That supposed to work ? I found that i

Re: Vertical alignment

2005-07-26 Thread Chris Bowditch
Renan Collin wrote: Have you already succeeded in doing a top or bottom vertical alignment in a table cell ? Yes. Why are you having trouble? Just put display-align="after" or display-align="before" on the table-cell. If its not working try posting a small example of your FO to the list. C

Re: Vertical alignment

2005-07-26 Thread Chris Bowditch
Renan Collin wrote: Have you already succeeded in doing a top or bottom vertical alignment in a table cell ? Oh I forgot to mention that you need to specify height on table-row for it to work. Sorry this information is key to getting it to work. Chris -

Re: Vertical alignment

2005-07-26 Thread Renan Collin
Ok thanks a lot, I will try !! Renan Chris Bowditch a écrit: Renan Collin wrote: Have you already succeeded in doing a top or bottom vertical alignment in a table cell ? Oh I forgot to mention that you need to specify height on table-row for it to work. Sorry this information is key to g

Resizing SVG

2005-07-26 Thread Samuel Remacle
Hello   I'm inserting an SVG image into my document, but I have a little problem.   The SVG image I'd like to insert is first used in a Java application and it's visualized thanks to the JSVGCanvas class (in reality it is a little more complex but it doesn't matter in this case), the viewing of the

Re: [EMAIL PROTECTED] last week

2005-07-26 Thread Christian Geisert
Jeremias Maerki schrieb: > I would like to thank everyone from the FOP user community who attended > ApacheCon last week and my session on FOP in particular. Also, thank you > for the various feedback I got and the good talks I had with some of you. Big thanks to you for representing FOP at the Ap

build dynamic tables with FOP

2005-07-26 Thread Jens-Christian . Pohl
Title: build dynamic tables with FOP Hi, i am trying to build dynamic tables using FOP 0.20.50 within a CMS. It seems to be a bit awkward building dynamic tables, cause i dont really know, how many columns this table is going to have. As i found out at the apache website, FOP does not su

Re: [EMAIL PROTECTED] last week

2005-07-26 Thread JBryant
"I think we should start a FOP users/Success stories wiki page" I could contribute to that. I use FOP for all the document production needs of a small software company. The documents are as large as 2000 pages, with as many as 25,000 internal links, all fully bookmarked. If you get such a thing

Re: build dynamic tables with FOP

2005-07-26 Thread JBryant
Hi, Jens, That's one way to handle it. If you don't want to pass a parameter to your transformation process, though, you can also have the XSLT count the number of columns in the source document and generate the correct number of columns. I don't like having to examine a file and set a paramete

AW: build dynamic tables with FOP

2005-07-26 Thread Jens-Christian . Pohl
Hi, Bryant, thanks so much, but something still seems to be wrong, when i do so, the PDF gets generated, but no table is build, and i found this exception in the logs: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.j

Re: [EMAIL PROTECTED] last week

2005-07-26 Thread Simon Pepping
Jeremias, A fine presentation. Thanks. Simon On Mon, Jul 25, 2005 at 03:22:39PM +0200, Jeremias Maerki wrote: > I would like to thank everyone from the FOP user community who attended > ApacheCon last week and my session on FOP in particular. Also, thank you > for the various feedback I got and

Re: Problems with embedded font

2005-07-26 Thread J.Pietschmann
Dobri Kitipov wrote: [ERROR] unknown font Cyrillic,normal,bold so defaulted font to any You don't seem to have a triple for a bold font in your userconfig. FOP wont generate a bold weigth font from a normal font for you, you have to supply one explicitely. J.Pietschmann --

Re: Resizing SVG

2005-07-26 Thread J.Pietschmann
Samuel Remacle wrote: application is ok. But after when I generate a PDF file from my application the SVG image is too big for an A4 document. So I'd like to know if there's a way to resize my SVG image keeping the proportions. Generate your SVG with a width and heigth attribute on your to lev

Re: AW: build dynamic tables with FOP

2005-07-26 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: java.lang.ArrayIndexOutOfBoundsException: -2 ... Where is this exception thrown and why ?! One of the following cases (I don't remember which one exactly): - There is a cell with an explicit column number which is larger than the maximum column number - There is a ce

Re: Problems with embedded font

2005-07-26 Thread Jeremias Maerki
I think your problem simply is about not having a font-triplet for the bold variant of the font (see error message). You will need to create an additional XML font metric file from arialbd.ttf and register it separately like this. On 26.07.2005 13:53:17 Dobri Kitipov wrote: > embed-fi

Re: AW: build dynamic tables with FOP

2005-07-26 Thread Andreas L Delmelle
On Jul 26, 2005, at 19:13, [EMAIL PROTECTED] wrote: Hi, ... something still seems to be wrong, when i do so, the PDF gets generated, but no table is build, and i found this exception in the logs: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$Cell

RE: AW: build dynamic tables with FOP

2005-07-26 Thread Jeff Stanley
I use number-columns-repeated often and I use 0.20.5. I'd have to test to be sure, but I think your problem may be the fact that you are using a variable as a value, which won't work because the value needs to be known at compile time. The following works fine for me (note the static value 11).

Re: AW: build dynamic tables with FOP

2005-07-26 Thread Andreas L Delmelle
On Jul 26, 2005, at 22:51, Jeff Stanley wrote: I use number-columns-repeated often and I use 0.20.5. Sorry, must be an error on our compliance page then... It said no. http://xml.apache.org/fop/compliance.html#fo-property-number-columns- repeated Greetz, Andreas ---

Re: Resizing SVG

2005-07-26 Thread Samuel Remacle
I'm not sure you understood my problem, the SVG should be bigger in my application than in the PDF, so as it will be first viexed in the application, I need to resize it in the XSL-FO file, and I need to keep the proportions. So I'd like to no if there's a way to do that, does anyone know? Samuel

getPageCount and FOP 1.0dev

2005-07-26 Thread Manuel Mall
Jeremias post on fop-dev suggesting to push for a release made me curious to check out if the new trunk code will work with our application. Downloading it with subversion and building it with ant was not a big problem (These things never seem to be 100% straightforward). Some of the interfaces hav

RE: Problems with embedded font

2005-07-26 Thread Dobri Kitipov
Thank you! I found that this is my mistake =) Have a nice day! -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 11:29 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Problems with embedded font I think your problem simply is about not

RE: Problems with embedded font

2005-07-26 Thread Dobri Kitipov
Thank you for the advice! Have a nice day! -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 11:04 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Problems with embedded font Dobri Kitipov wrote: > [ERROR] unknown font Cyrillic,normal,bol

Re: getPageCount and FOP 1.0dev

2005-07-26 Thread Jeremias Maerki
No, but you're welcome to help improve the situation. :-) On 27.07.2005 03:50:46 Manuel Mall wrote: > Jeremias post on fop-dev suggesting to push for a release made me curious to > check out if the new trunk code will work with our application. Downloading > it with subversion and building it with