ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > XSL FO > General > character


Title: character
Origin: Apache FOP 0.18.1 examples

PDF output | FO file
ElementsAttributes
fo:blockfont-family | font-size | line-height | space-after.optimum |
fo:charactercharacter | color | font-size |
fo:flowflow-name | text-align |
fo:inlinetext-decoration |
fo:layout-master-set
fo:page-sequencemaster-name |
fo:region-afterextent |
fo:region-beforeextent |
fo:region-bodymargin-top |
fo:root
fo:simple-page-mastermargin-bottom | margin-left | margin-right | margin-top | master-name | page-height | page-width |

Warning! These examples are related to XSL FO Working Draft, you need to use attribute "page-sequence/@master-reference" instead of "page-sequence/@master-name".


Source
Below fo:root there is always - a single fo:layout-master-set which defines one or more page layouts - an optional fo:declarations - and a sequence of one or more fo:page-sequences containing the text and formatting instructions -->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" >
     <fo:layout-master-set>
          <fo:simple-page-master master-name="simple" page-height="29.7cm" page-width="21cm" margin-top="1cm" margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
               <fo:region-body margin-top="3cm"/>
               <fo:region-before extent="3cm"/>
               <fo:region-after extent="1.5cm"/>
          </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-name="simple">
          <fo:flow flow-name="xsl-region-body" text-align="justify">
               <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="3pt"> 1. Why
                    <fo:character character="T" font-size="16pt" color="red"/>
                    <fo:character character="E" font-size="16pt" color="blue"/>
                    <fo:character character="I" font-size="16pt" color="green"/>? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why T
                    <fo:character character="E"/>I? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge.
                    <fo:character character="Y"/>ou should use it too.
               </fo:block>
               <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="3pt"> 1. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. Why TEI? I know, you know, I know (Paul Grice). Using TEI is quite a challenge. ou should use it too. </fo:block>
               <fo:block font-size="12pt" font-family="sans-serif" line-height="15pt" space-after.optimum="3pt"> 1. Why TEI? Using
                    <fo:inline text-decoration="underline">TEI</fo:inline> is quite a challenge.
                    <fo:character character="Y" font-size="16pt"/>ou should use it too.
               </fo:block>
          </fo:flow>
     </fo:page-sequence>
</fo:root>



Sponsored links: Domain Names, VoIP Internettelefonie, DSL, SDSL, ADSL, UNLIMITED Web Hosting by HostDepartment, conference call service, answering service