Movatterモバイル変換


[0]ホーム

URL:


 

Apache XML Graphics Project Logo

Apache™ FOP

The Apache FOP Project

The Apache™ FOP Project

Apache™ FOP: Whitespace Management

Overview

This page describes an extension for FOP’s page breaking algorithm that enables the handling of dynamic content. Dynamic content has multiple variants, only one of which will be inserted in the document. Variant selection is done in a First Come First Served manner and the first variant that fits within the remaining space in the current page is chosen. If no appropriate variant is found, the dynamic content will be skipped without affecting the rest of the document layout.

Example

Here is an example of dynamic content with two variants:

<fo:multi-switchfox:auto-toggle="select-first-fitting"xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"><fo:multi-case><fo:block>First variant</fo:block></fo:multi-case><fo:multi-case><fo:block>Second variant</fo:block></fo:multi-case></fo:multi-switch>

Limitations

Apache Software Foundation

Copyright © 2025 The Apache Software Foundation, Licensed undertheApache License, Version 2.0.
Apache, Apache XML Graphics, Apache FOP, Apache Batik, the Apache logo, and theApache XML Graphics logos are trademarks ofThe ApacheSoftware Foundation. All other marks mentioned may be trademarks or registeredtrademarks of their respective owners.


[8]ページ先頭

©2009-2026 Movatter.jp