Re: (FOP examples) XSLT question

2004-02-04 Thread John Austin
On Wed, 2004-02-04 at 21:13, Glen Mazza wrote: > > ... > ... > Version select="$versionParam"/> ... > > But it keeps outputting "Version 1" in the resultant > PDF. What is the standard way of getting it to > display "Version 1.0"? select='format-number($versionParam,"##.0")' should work. --

Re: (FOP examples) XSLT question

2004-02-04 Thread Clay Leeds
I believe you need the select value in single quotes, as in: From: http://www.w3.org/TR/xslt#local-variables NOTE:The nearest equivalent in Java to an xsl:variable element in a template is a final local variable declaration with an initializer. For example, has similar semantics to final O

Re: (FOP examples) XSLT question

2004-02-04 Thread John Austin
On Wed, 2004-02-04 at 21:13, Glen Mazza wrote: > Since this is FOP work-related, I guess I can be > allowed to ask a very newbie XSLT question here: > > I just added a parameter to one of the XSL example > files (eventually to show the use of a JAXP > transformer.setParam() call) as follows: > >

(FOP examples) XSLT question

2004-02-04 Thread Glen Mazza
Since this is FOP work-related, I guess I can be allowed to ask a very newbie XSLT question here: I just added a parameter to one of the XSL example files (eventually to show the use of a JAXP transformer.setParam() call) as follows: ... ... Version ... But it keeps outputting "Version 1" in

cvs commit: xml-fop/examples/embedding/xml/xslt projectteam2fo.xsl

2004-02-04 Thread gmazza
gmazza 2004/02/04 16:31:50 Modified:examples/embedding build.xml examples/embedding/xml/xslt projectteam2fo.xsl Log: Added a parameter to the projectteam2fo.xsl example (for subsequent use in showing a setTransform() call in the samples); also added a needed libra

RE: Just a small question...

2004-02-04 Thread Glen Mazza
--- "Andreas L. Delmelle" <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Nikolai Grigoriev [mailto:[EMAIL PROTECTED] > > > > If you look into XEP's main jar (e.g. > xep372_trial.jar), you can find > > the preprocessor stylesheet under > com/renderx/xep/pre/processor.xsl. > >

Re: Adding PPD support when rendering PS

2004-02-04 Thread Jeremias Maerki
On 04.02.2004 16:22:03 Alex wrote: > I've been looking at this for a couple of days, and figured I'd do best > to post and see what other folks think about this. Good idea. :-) > I have to implement PPD when generating PS for the project (FOP embedded > app) that I'm working on - I need to be a

RE: Just a small question...

2004-02-04 Thread Andreas L. Delmelle
> -Original Message- > From: Nikolai Grigoriev [mailto:[EMAIL PROTECTED] > > If you look into XEP's main jar (e.g. xep372_trial.jar), you can find > the preprocessor stylesheet under com/renderx/xep/pre/processor.xsl. > This stylesheet is the main reason why XT is always needed in the >

Re: Just a small question...

2004-02-04 Thread Nikolai Grigoriev
Andreas, Andreas L. Delmelle wrote: > Picked this one up @ mulberry: > > "In RenderX XEP, an XSL FO formatter, the preprocessor is written in XSLT; > it is a complex stylesheet of moderate size, and it does what is best to > do in XML manipulation language." If you look into XEP's main jar (e.g.

Adding PPD support when rendering PS

2004-02-04 Thread Alex
Hi, I've been looking at this for a couple of days, and figured I'd do best to post and see what other folks think about this. I have to implement PPD when generating PS for the project (FOP embedded app) that I'm working on - I need to be able to force printer tray selection/stapling etc. As

cvs commit: xml-fop/src/java/org/apache/fop/fo/properties AutoLength.java BorderWidthPropertyMaker.java CompoundPropertyMaker.java LengthProperty.java LineHeightPropertyMaker.java ListProperty.java NumberProperty.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 05:24:53 Modified:src/java/org/apache/fop/fo BoxPropShorthandParser.java src/java/org/apache/fop/fo/properties AutoLength.java BorderWidthPropertyMaker.java CompoundPropertyMaker.java LengthProperty.java

cvs commit: xml-fop/src/java/org/apache/fop/render/pdf PDFRenderer.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 05:06:36 Modified:src/java/org/apache/fop/render AbstractRenderer.java src/java/org/apache/fop/render/pdf PDFRenderer.java Log: Do the regiontraits before changes ctm because the ctm only apply for the region reference area, not the viewport itself

cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr PageLayoutManager.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 05:04:17 Modified:src/java/org/apache/fop/layoutmgr PageLayoutManager.java Log: Set the ipd and bpd on the region reference area based on the reldims and use those values those values for layout. Revision ChangesPath 1.29 +5 -4 xml-fop/src/j

cvs commit: xml-fop/src/java/org/apache/fop/fo/pagination RegionBody.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 04:58:27 Modified:src/java/org/apache/fop/fo/pagination RegionBody.java Log: Support for "margin" shorthands for margin-[left,right]. Revision ChangesPath 1.16 +2 -2 xml-fop/src/java/org/apache/fop/fo/pagination/RegionBody.java Index: Reg

cvs commit: xml-fop/src/java/org/apache/fop/area RegionReference.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 04:57:28 Modified:src/java/org/apache/fop/area RegionReference.java Log: Added a bpd field so that region reference areas has both ipd (from Area) and bpd. Revision ChangesPath 1.3 +20 -0 xml-fop/src/java/org/apache/fop/area/RegionReference.

cvs commit: xml-fop/src/java/org/apache/fop/fo FOPropertyMapping.java

2004-02-04 Thread bckfnn
bckfnn 2004/02/04 04:38:28 Modified:src/java/org/apache/fop/fo FOPropertyMapping.java Log: Add support for setting margin-[top,botton,left,right] by specifying the "margin" shorthand property. Revision ChangesPath 1.10 +7 -2 xml-fop/src/java/org/apache/fop/fo

cvs commit: xml-fop/src/java/org/apache/fop/datastructs Node.java

2004-02-04 Thread pbwest
pbwest 2004/02/04 04:17:51 Modified:src/java/org/apache/fop/datastructs Tag: FOP_0-20-0_Alt-Design Node.java Log: Added private method hasNextNode() as the implementation of hasNode(). Made constructors refer to this method to bypass scope problems in th

cvs commit: xml-fop/src/java/org/apache/fop/fo/flow FoBlock.java FoPcdata.java FoTable.java FoFlow.java

2004-02-04 Thread pbwest
pbwest 2004/02/04 04:14:27 Modified:src/java/org/apache/fop/fo/flow Tag: FOP_0-20-0_Alt-Design FoBlock.java FoPcdata.java FoTable.java FoFlow.java Log: Removed debugging info Revision ChangesPath No revision No