xmlgraphics-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r1591445 - /xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext
Date Wed, 30 Apr 2014 18:42:03 GMT
Author: vhennebert
Date: Wed Apr 30 18:42:03 2014
New Revision: 1591445

URL: http://svn.apache.org/r1591445
Log:
Added page about whitespace management

Added:
    xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext   (with props)

Added: xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext?rev=1591445&view=auto
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext (added)
+++ xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext Wed Apr 30 18:42:03
2014
@@ -0,0 +1,43 @@
+Title:
+Notice:    Licensed to the Apache Software Foundation (ASF) under one
+           or more contributor license agreements.  See the NOTICE file
+           distributed with this work for additional information
+           regarding copyright ownership.  The ASF licenses this file
+           to you under the Apache License, Version 2.0 (the
+           "License"); you may not use this file except in compliance
+           with the License.  You may obtain a copy of the License at
+           .
+             http://www.apache.org/licenses/LICENSE-2.0
+           .
+           Unless required by applicable law or agreed to in writing,
+           software distributed under the License is distributed on an
+           "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+           KIND, either express or implied.  See the License for the
+           specific language governing permissions and limitations
+           under the License.
+
+#Apache™ FOP: Whitespace Management
+
+## Overview {#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 {#example}
+
+Here is an example of dynamic content with two variants:
+
+    :::xml
+    <fo:multi-switch fox:auto-toggle="best-fit">
+		<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 {#limitations}
+
+* Space attributes (space-before, space-after) are not currently supported. This is primarily
due to how space resolution is done in FOP, which requires the whole FO content to be known
before doing page breaking.
+
+* Dynamic content inside a table cell does not work.

Propchange: xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext
------------------------------------------------------------------------------
    svn:eol-style = native



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org


Mime
View raw message