cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

The Problem of change bar in XSL-FO

cn628
1-Visitor

The Problem of change bar in XSL-FO

Hello,

When I set 'border-width' to add a box for a block, the composed pdf will be a mess if there is a change bar generated.

The message of PE is as follows.

"Warning: A page overset fault occurred. The page depth is 2688.01pt and the page goal is 644.97pt. (page 5)"

Does anyone know how to fix this problem?

Kinds Regards

Billy

4 REPLIES 4

Your best bet is probably to share a bit of the FOSI code for your new box and maybe your change bars. Page set margins may help, too.

You've got a nasty situation where your page content is getting driven way off the page. Perhaps you've got your box set too narrow. Read the help closely for all the settings on the box.

Regards,
Jason
cn628
1-Visitor
(To:cn628)

Thanks for your coments, Jason.

But the output is OK without setting 'border-width' for the fo:block.


In Reply to Jason Aiken:

Your best bet is probably to share a bit of the FOSI code for your new box and maybe your change bars. Page set margins may help, too.

You've got a nasty situation where your page content is getting driven way off the page. Perhaps you've got your box set too narrow. Read the help closely for all the settings on the box.

Regards,
Jason

Glad to hear it.

You can tell I'm really awake, transmuting your FO problem into FOSI-speak. 😉
bibach
1-Visitor
(To:cn628)

The help for the FOSI "boxing" characteristic (help 567) states that
"Whatever element(s) you specify, one box cannot exceed one page." As
I recall, XSL-FO borders turn into "boxing" when your XSL-FO gets
converted to FOSI, so I think you automatically make your box
unbreakable by applying the border. If it can't break, then you'll
get an overset fault.

If you're just trying to do change bars, use the XSL-FO 1.1
change-bar-begin and change-bar-end objects, which PE supports (in
reasonably recent versions, anyway... not sure of how recent,
offhand).

-Brandon 🙂


Announcements

Top Tags