[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] A simple HowTo for customizing the pdf-output of an DocBook xml
On Thu, Aug 28, 2003 at 11:16:06AM +0200, jochen.gerstl@de.abb.com wrote: > > > > > Hello Bob, > > thanks a lot for your help. > > When you sayed the style sheet ist working I tried that whith the endorsed > mechanism an have now the following environment: > > The call was: C:\Inetpub\wwwroot\AP_Allgemein\Stammdaten\G_XML\PDF>java > -Djava.endorsed.dirs=C:\XSLT_Progs\xalan-j_2_5_1\bin > org.apache.xalan.xslt.EnvironmentCheck > The result is: > #---- BEGIN writeEnvironmentReport($Revision: 1.20 $): Useful stuff found: > ---- > version.DOM.draftlevel=2.0fd > java.class.path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar;C:\DocBook\docbook-xsl-1.61.3 > \ > extensions\xalan2.jar;.; > version.JAXP=1.1 or higher > java.ext.dirs=C:\Programme\Java\j2re1.4.2\lib\ext > #---- BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path > ---- > xalan.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar > xalansamples.jar-apparent.version=xalansamples.jar present-unknown-version > xalansamples.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalansamples.jar > xercesImpl.jar-apparent.version=xercesImpl.jar from xalan-j_2_5_0 from > xerces-2_4 > xercesImpl.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar > xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version > xml-apis.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar > #----- END Listing XML-related jars in: foundclasses.sun.boot.class.path > ----- > version.xerces2=Xerces-J 2.4.0 > version.xerces1=not-present > version.xalan2_2=Xalan Java 2.5.1 > version.xalan1=not-present > version.ant=not-present > java.version=1.4.2 > version.DOM=2.0 > version.crimson=present-unknown-version > sun.boot.class.path=C:\XSLT_Progs\xalan-j_2_5_1\bin\bsf.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xalansamples.jar;C:\XSLT_Progs\xalan-j_2_5_1\b > in\xercesImpl.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcapplet.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcbrazil.jar;C:\XSLT_Progs\xalan-j > _2_5_1\bin\xsltcejb.jar;C:\XSLT_Progs\xalan-j_2_5_1\bin\xsltcservlet.jar;C:\Programme\Java\j2re1.4.2 > \lib\rt.jar;C:\Programme\Java\j2re1.4.2 > \lib\i18n.jar;C:\Programme\Java\j2re1.4.2 > \lib\sunrsasign.jar;C:\Programme\Java\j2re1.4.2 > \lib\jsse.jar;C:\Programme\Java\j2re1.4.2 > \lib\jce.jar;C:\Programme\Java\j2re1.4.2 > \lib\charsets.jar;C:\Programme\Java\j2re1.4.2\classe > s > #---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ---- > xalan.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xalan.jar > xml-apis.jar-apparent.version=xml-apis.jar present-unknown-version > xml-apis.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xml-apis.jar > xercesImpl.jar-apparent.version=xercesImpl.jar from xalan-j_2_5_0 from > xerces-2_4 > xercesImpl.jar-path=C:\XSLT_Progs\xalan-j_2_5_1\bin\xercesImpl.jar > #----- END Listing XML-related jars in: foundclasses.java.class.path ----- > version.SAX=2.0 > version.xalan2x=Xalan Java 2.5.1 > #----- END writeEnvironmentReport: Useful properties found: ----- > # YAHOO! Your environment seems to be OK. > > > But I still have now LOGO in my PDF. > > So I asked some java experts what could it be ? > They told me: rename your image to to the same with small letters > > I tried this and nothing. > > But by the way, I tried to use the note.png and sudently I got a picture in > the header of my pdf :-)))) > > So I tried the note.gif as well, and I got as well a picture in the pdf. > > So I compared the note.gif with my abblogo.gif and I noticed, that my logo > ist 29 pixels hight the note.gif only 24. So I resized my Logo to 24 pixel > and its displayed now in the resulting pdf. > > That's superb. > > But by the way where can I find the maximum allowed size for a picture in > the header ? > > I supose it has to do with the pagemaster. > > The logo is displayed just on top of the line, how can I move it a little > bit higher ? > > Thank's a lot so far The height of the header area is controlled by the 'region.before.extent' stylesheet parameter. See this reference page: http://docbook.sourceforge.net/release/xsl/current/doc/fo/region.before.extent.html -- Bob Stayton 400 Encinal Street Publications Architect Santa Cruz, CA 95060 Technical Publications voice: (831) 427-7796 The SCO Group fax: (831) 429-1887 email: bobs@sco.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]