Re: brain dead newbe

2003-02-19 Thread Roger Roelofs
Oleg,
Thanks.  My problem was that I need a double border around the page and 
I had used absolutely positioned block-containers to get it.  Once I 
removed them the pagination worked just great.

On Wednesday, Feb 19, 2003, at 04:35 America/Detroit, Oleg Tkachenko 
wrote:

Roger Roelofs wrote:
I know this has been covered, I've been wandering the archives, but 
it hasn't sunk in yet.
I have a xsl doc with the following basic structure.  Instead of 
starting a new page for each iteration of this template, it resets to 
the top of the page and writes over the top of the previous content.  
How do I tell it to start a new page?
You can use break-after=page attribute to enforce page break after a 
formatting object.

--
Oleg Tkachenko
Multiconn Technologies, Israel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Roger,
Roger Roelofs
Datacomp Appraisal Services
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


New in rc2: Section heading is being repeated

2003-02-18 Thread Roger Roelofs
It's probably me...but since I installed 0.20.5rc2 my section headings 
have been repeating at the top and bottom of the block in the pdf.  
Here's a fragment of the xsl file, and a fragment of the xml it 
operates on.

Could someone better at fo tell me if it is my code or a change in fop?
xsl---
xsl:template match=Section
  fo:block
  space-before=6pt
  text-align=start
  font-size=12pt
  font-weight=bold border=.2pt solid black
xsl:value-of select=@id /
fo:table table-layout=fixed font-weight=normal
  fo:table-column column-width=40pt /
  fo:table-column column-width=30pt /
  fo:table-column column-width=200pt /
  fo:table-column column-width=250pt /
  fo:table-body
xsl:apply-templates select=Item /
  /fo:table-body
/fo:table
  /fo:block
/xsl:template
xml---
Section id=Dwelling Condition
Item id=lDCBldgPresent
LabelOther Bldgs/Label
ValueNo/Value
Score0/Score
/Item
Item id=lDCGaragePresent
LabelGarage/Label
ValueYes/Value
Score0/Score
/Item
/Section
PDF output ---
Dwelling Condition
0   Other Bldgs No
0   Garage  Yes
Dwelling Condition  this line is new as of today.
---
Thanks
Roger,
Roger Roelofs  Phone 616 574-0480 x246
Datacomp Appraisal ServicesFax   616 574-0486
3215 Eaglecrest Drive, NE  Suite 100   email [EMAIL PROTECTED]
Grand Rapids, MI  49525-4593   web   www.datacompusa.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


brain dead newbe

2003-02-18 Thread Roger Roelofs
I know this has been covered, I've been wandering the archives, but it 
hasn't sunk in yet.

I have a xsl doc with the following basic structure.  Instead of 
starting a new page for each iteration of this template, it resets to 
the top of the page and writes over the top of the previous content.  
How do I tell it to start a new page?

xsl:template match=pageData
  fo:block-container
  border=1pt solid black
  height=10.6in
  left=0in
  position=absolute
  width=7.6in
  top=0in
  break-after=page
fo:block-container
border=.5pt solid black
height=10.5in
left=.05in
position=absolute
width=7.5in
top=.05in
  fo:block
  text-align=start
  margin-left=.1in
  margin-right=.1in
  space-before=12pt
  line-height=15pt
  font-size=10pt
xsl:apply-templates select=Title /
xsl:apply-templates select=../orderSummary /
xsl:apply-templates select=Section /
/fo:block
/fo:block-container
/fo:block-container
/xsl:template
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: New in rc2: Section heading is being repeated

2003-02-18 Thread Roger Roelofs
Thanks!  In future I'll build test cases for questions to the list.  Is 
there a way to get fop to save the .fo file it generates during the 
xslt transform?

On Tuesday, February 18, 2003, at 04:29  PM, J.Pietschmann wrote:
Roger Roelofs wrote:
It's probably me...but since I installed 0.20.5rc2 my section 
headings have been repeating at the top and bottom of the block in 
the pdf.
This was not intended. Well, in FOP it's not considered good styl
to mix text and block FO like tables like you did (read: you'll run
into bugs).
As a workaround, put the text into its own block:
 fo:blockxsl:value-of select=@id //fo:block
 Here's a fragment of the xsl file, and a fragment of the xml it 
operates
 on.
Usually, it is easier if a small but complete and self-contained
FO document was offered.

J.Pietschmann
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


page border, not content border

2003-02-07 Thread Roger Roelofs
I'm new to fop, so I may have missed this somewhere, but I'm having 
trouble getting a border around my page.  I tried attaching the border 
to the region-body and to the root block, and in both cases the bottom 
of the border comes at the end of the content rather than at the bottom 
of the page.

What is the right way to do this?
Thanks!
Roger,
Roger Roelofs  Phone 616 574-0480 x246
Datacomp Appraisal ServicesFax   616 574-0486
3215 Eaglecrest Drive, NE  Suite 100   email [EMAIL PROTECTED]
Grand Rapids, MI  49525-4593   web   www.datacompusa.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]