You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2015/07/14 10:40:05 UTC

svn commit: r1690875 - /xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext

Author: ssteiner
Date: Tue Jul 14 08:40:05 2015
New Revision: 1690875

URL: http://svn.apache.org/r1690875
Log:
Fix syntax

Modified:
    xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext

Modified: xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext?rev=1690875&r1=1690874&r2=1690875&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/whitespacemanagement.mdtext Tue Jul 14 08:40:05 2015
@@ -1,4 +1,4 @@
-Title:
+Title:     Apache(th) FOP: Whitespace Management
 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
@@ -18,16 +18,16 @@ Notice:    Licensed to the Apache Softwa
 
 #Apache™ FOP: Whitespace Management
 
-## Overview { #overview}
+## 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}
+## Example { #example }
 
 Here is an example of dynamic content with two variants:
 
     :::xml
-    <fo:multi-switch fox:auto-toggle="best-fit">
+    <fo:multi-switch fox: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>
@@ -36,7 +36,7 @@ Here is an example of dynamic content wi
 		</fo:multi-case>
 	</fo:multi-switch>
 
-## Limitations { #limitations}
+## 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.
 



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