Skip to main content
1-Visitor
July 28, 2010
Question

The Problem of change bar in XSL-FO

  • July 28, 2010
  • 4 replies
  • 1177 views

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

    1-Visitor
    July 28, 2010
    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
    cn6281-VisitorAuthor
    1-Visitor
    July 28, 2010

    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
    1-Visitor
    July 28, 2010
    Glad to hear it.

    You can tell I'm really awake, transmuting your FO problem into FOSI-speak. 😉
    1-Visitor
    July 28, 2010
    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 🙂