Re: How to set the default-font to arial

2007-07-16 Thread Tobias . Soloschenko
Hello, thanks for the answer! I'm generating the font-family dynamicly. The user chooses a font in lotus notes and that will be used in the transformation. But I think I will check the font before I use it in the translation like this:

How to set the default-font to arial

2007-07-13 Thread Tobias . Soloschenko
Hello, is there any way to set the default-font, which is used as fallback when an unknown font was used, to arial? I'm running FOP 0.20.5 with jvm 1.3. The message I receive is: [ERROR] unknown font Arial,normal,normal so defaulted font to any Kind regards and thanks Tobias

Re: XSL - NewLine

2007-02-13 Thread Tobias . Soloschenko
Hello, in one of my solutions I solved the problem with the symbol font:   Greez Tobias Manuel Mall <[EMAIL PROTECTED]> wrote on 13.02.2007 14:10:35: > On Tuesday 13 February 2007 21:52, Gregan, Miroslav wrote: > > Thanks you for your answers > > > > Actually I afraid I did not ask my questio

Compliance Links

2007-01-04 Thread Tobias . Soloschenko
Hello, sorry for this boring question, I think there where a lot of others who asked for it, but why are the links of http://xmlgraphics.apache.org/fop/compliance.html broken which references to w3.org? Thanks

Re: How to avoid pagebreak in fo:block or fo:table-rows?

2006-12-14 Thread Tobias . Soloschenko
Hello, yes that was the solution to my problem, I added a table around the block and put in the table-row a keep-together="always" Thanks a lot! [EMAIL PROTECTED] wrote on 14.12.2006 13:37:21: > Did you try to use keeps (keep-with-previous, keep-with-next) on the row? > This will keep your r

How to avoid pagebreak in fo:block or fo:table-rows?

2006-12-14 Thread Tobias . Soloschenko
Hello, is there any solution for avoiding pagebreaks in a fo:block or a fo:table-row ? page-break-inside="avoid" isn't implementent in fop 0.20.5. I have to use that version, so is there any other way to avoid a pagebreak ? Thanks Tobias

Re: some background-colors in tablecells not shown

2006-11-07 Thread Tobias . Soloschenko
Thanks a lot :) Jeremias Maerki <[EMAIL PROTECTED]> wrote on 07.11.2006 11:33:22: > Uh, I'm not that familiar with all the innards of 0.20.5. I'd probably > start with org.apache.fop.fo.expr.RGBColorFunction, > org.apache.fop.datatypes.ColorType, org.apache.fop.pdf.PDFColor and > org.apache.fop.

Re: some background-colors in tablecells not shown

2006-11-07 Thread Tobias . Soloschenko
Ok, may you can give me a hint where Im able to find those classes?! Thanks for response Tobias Jeremias Maerki <[EMAIL PROTECTED]> wrote on 06.11.2006 13:22:30: > Indeed. Somewhere the code seems to round up the color value to complete > white. I guess if you can't upgrade (FOP 0.92 does this

some background-colors in tablecells not shown

2006-10-31 Thread Tobias . Soloschenko
Hello, i've got the problem that for example the hex-color-code #f3f3f3 is not shown as background-color in table-cells. I'm using it similar this way:                         xsl

Re: DOMImplementation method not found

2006-10-27 Thread Tobias . Soloschenko
Jeremias Maerki <[EMAIL PROTECTED]> wrote on 27.10.2006 15:52:10: > No. FOP needs the namespace feature for the DOM if it wants to support > stuff like XMP metadata. So if the DOM implementation in Notes 6.5 > doesn't have that feature and can't be replaced you're out of luck. You > can try to di

Re: DOMImplementation method not found

2006-10-27 Thread Tobias . Soloschenko
Chris Bowditch <[EMAIL PROTECTED]> wrote on 27.10.2006 09:39:15: > FOP 0.92 works with a DOM when creating a PDF now. I don't see anything > wrong with that and I don't see why we should change the internals of > FOP just to help solve your classpath problem. There is nothing wrong with the im

Re: DOMImplementation method not found

2006-10-26 Thread Tobias . Soloschenko
"J.Pietschmann" <[EMAIL PROTECTED]> wrote on 26.10.2006 21:12:31: Yes the Problem is that notes 6.5 uses an older version of org.w3c.dom, the methods used in the new version changed! In FOP 0.92 package org.apache.fop.pdf in the class PDFMetadata there are dom methods used with namespace to crea

DOMImplementation method not found

2006-10-26 Thread Tobias . Soloschenko
Hello, when I try to export a pdf im receiving the error message: java.lang.NoSuchMethodError: org.w3c.dom.DOMImplementation: method createDocument(Ljava/lang/String;Ljava/lang/String;Lorg/w3c/dom/DocumentType;)Lorg/w3c/dom/Document; not found         at org.apache.fop.pdf.PDFMetadata.createXMP

RE: background-image oversized

2006-10-26 Thread Tobias . Soloschenko
Okay :) - I thought it was my fault! Then I have to shrink it. Thanks "Pascal Sancho" <[EMAIL PROTECTED]> wrote on 25.10.2006 14:56:59: > Tobias, > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > > > Hello, > > > > I want to set a background-i

background-image oversized

2006-10-25 Thread Tobias . Soloschenko
Hello, I want to set a background-image in the region-before. The image is a gif, 26,42 in width, 3,88 in height and 72 dpi. I know that the useragent uses a dpi of 72 as default value. When I render the pdf the image is bigger than the content. I thought that it would fit with that size?!      

Re: Problem PDF Renderer could not be found

2006-10-20 Thread Tobias . Soloschenko
I solved it! *jumps* Ok, here my workarround for running fop out of a notes script-library / agent: /* Creating a User-Agent to overwrite the Renderer. Thats necessary because the notes agent can't access the property file. ( org.apache.fop.render.Renderer in META-INF/Services ) The Overwriten R

Re: Problem PDF Renderer could not be found

2006-10-19 Thread Tobias . Soloschenko
Hello, yes it's totaly wrong what I tried there, yesterday! I want to generate a PDF so I need the AreaTreeHandler - no RTF. My problem is that lotus notes can't read propertie files, those textfiles that get the maker classes and resolve a renderer / handler to the mime-type. What I'm trieing

Re: Problem PDF Renderer could not be found

2006-10-19 Thread Tobias . Soloschenko
Now I implemented the UserAgent + Renderer correct, but now it seems that the SAX Parser can't figure out the correct FOEventHandler. Is there any way like the Renderer to configure a EventHandler? My code at the moment is:         File pdffile = new File(pdfname);         out = new FileOutputS

Re: Problem PDF Renderer could not be found

2006-10-19 Thread Tobias . Soloschenko
To set the useragent to the pdfrenderer works perfectly in eclipse: ... FOUserAgent useragent = fopFactory.newFOUserAgent(); PDFRenderer pdfrenderer = new PDFRenderer(); pdfrenderer.setUserAgent(useragent); useragent.setRendererOverride(pdfrenderer); fop = fopFactory.newFop(MimeConstants.MIME_PDF

Problem PDF Renderer could not be found

2006-10-18 Thread Tobias . Soloschenko
Hello, my problem is that I'm running fop out of java-librarys out of lotus notes. I'm getting the Error: java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.