thebigdir > References > Analog Ocean Minded Ezekiel Element Fox Honolua Matix Mada Jet Pilot Surf Clothing And FootwareExample Repository
Example repository: index | categories | search

All > XSL FO > General > border


Title: border
Origin: Apache FOP 0.18.1 examples

PDF output | FO file
ElementsAttributes
fo:blockfont-family | font-size | font-weight | line-height | space-after.optimum | text-align |
fo:block-containerborder-color | border-style | border-width | height | left | padding | position | top | width |
fo:conditional-page-master-referencemaster-name | page-position |
fo:flowflow-name |
fo:layout-master-set
fo:page-sequencemaster-name |
fo:page-sequence-mastermaster-name |
fo:region-body
fo:repeatable-page-master-alternatives
fo:root
fo:simple-page-mastermargin-bottom | margin-left | margin-right | margin-top | master-name | page-height | page-width |
fo:tableborder-color | border-style | border-width | height |
fo:table-bodyfont-family | font-size | font-weight |
fo:table-cellborder-color | border-style | border-width | padding |
fo:table-columnborder-color | border-style | border-width | column-width |
fo:table-rowline-height |

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

<fo:root Surfns:fo="http://www.w3.org/1999/XSL/Format" >
     <fo:layout-master-set>
          <fo:simple-page-master margin-right="0.5cm" margin-left="0.5cm" margin-bottom="0.5cm" margin-top="0.75cm" page-width="21cm" page-height="29.7cm" master-name="first">
               <fo:region-body/>
          </fo:simple-page-master>
          <fo:simple-page-master margin-right="2.5cm" margin-left="2.5cm" margin-bottom="2cm" margin-top="1cm" page-width="21cm" page-height="29.7cm" master-name="rest">
               <fo:region-body/>
          </fo:simple-page-master>
          <fo:page-sequence-master master-name="psmA">
               <fo:repeatable-page-master-alternatives>
                    <fo:conditional-page-master-reference master-name="first" page-position="first"/>
                    <fo:conditional-page-master-reference master-name="rest" page-position="rest"/>
                    <fo:conditional-page-master-reference master-name="rest"/>
               </fo:repeatable-page-master-alternatives>
          </fo:page-sequence-master>
     </fo:layout-master-set>
     <fo:page-sequence master-name="psmA">
          <fo:flow flow-name="xsl-region-body">
               <fo:block-container height="4cm" width="12cm" top="0cm" left="0cm" position="absolute">
                    <fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt"> PX7.net </fo:block>
                    <fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt"> 44 Liberty St </fo:block>
                    <fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt"> Newburyport, MA 01950 </fo:block>
                    <fo:block text-align="start" line-height="18pt" font-family="sans-serif" font-weight="bold" font-size="14pt"> 978-462-1152 </fo:block>
               </fo:block-container>
               <fo:block-container height="1cm" width="6cm" top="0cm" left="14cm" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="22pt" font-family="sans-serif" font-size="23pt"> Sales Receipt </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.2cm" left="14cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> DATE </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.7cm" left="14cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> 01/01/2000 </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.2cm" left="16.5cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> SALE # </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="2.5cm" top="1.7cm" left="16.5cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> 1 </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="9cm" top="3cm" left="0cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" line-height="15pt" font-family="sans-serif" font-size="12pt"> SOLD TO </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="3cm" width="9cm" top="3.5cm" left="0cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"/>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="9cm" top="3cm" left="10cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> SHIP TO </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="3cm" width="9cm" top="3.5cm" left="10cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"/>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="4cm" top="7cm" left="11cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> PMT METHOD </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="4cm" top="7.5cm" left="11cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> Check </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="4cm" top="7cm" left="15cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> CHECK # </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="0.5cm" width="4cm" top="7.5cm" left="15cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> 1234 </fo:block>
               </fo:block-container>
               <fo:block-container height="17cm" width="19cm" top="8cm" left="0cm" position="absolute">
                    <fo:table border-color="yellow" border-style="solid" border-width="1pt" height="17cm">
                         <fo:table-column column-width="2.5cm" border-color="red" border-style="solid" border-width="1pt"/>
                         <fo:table-column column-width="11.5cm" border-color="red" border-style="solid" border-width="1pt"/>
                         <fo:table-column column-width="2.5cm" border-color="red" border-style="solid" border-width="1pt"/>
                         <fo:table-column column-width="2.5cm" border-color="red" border-style="solid" border-width="1pt"/>
                         <fo:table-body font-family="sans-serif" font-weight="normal" font-size="10pt">
                              <fo:table-row line-height="12pt">
                                   <fo:table-cell border-width="1pt" border-color="green" border-style="solid" padding="6pt">
                                        <fo:block text-align="end">QUANTITY</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell border-width="1pt" border-color="red" border-style="solid" padding="4pt">
                                        <fo:block text-align="start">DESCRIPTION</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell border-width="1pt" border-color="blue" border-style="solid" padding="3pt">
                                        <fo:block text-align="center">RATE</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell border-width="1pt" border-color="orange" border-style="solid" padding="2pt">
                                        <fo:block text-align="center">AMOUNT</fo:block>
                                   </fo:table-cell>
                              </fo:table-row>
                              <fo:table-row line-height="12pt">
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">1</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="start">Widget</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">$22.23</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">22.31</fo:block>
                                   </fo:table-cell>
                              </fo:table-row>
                              <fo:table-row line-height="12pt">
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">3</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="start">Nuts</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">$12.00</fo:block>
                                   </fo:table-cell>
                                   <fo:table-cell padding="2pt">
                                        <fo:block text-align="end">36.00</fo:block>
                                   </fo:table-cell>
                              </fo:table-row>
                         </fo:table-body>
                    </fo:table>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="1cm" width="14cm" top="25cm" left="0cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="12pt"> Please remit to the above address </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="1cm" width="2.5cm" top="25cm" left="14cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="25pt" font-family="sans-serif" font-size="22pt"> Total </fo:block>
               </fo:block-container>
               <fo:block-container border-color="black" border-style="solid" border-width="1pt" height="1cm" width="2.5cm" top="25cm" left="16.5cm" padding="2pt" position="absolute">
                    <fo:block text-align="start" space-after.optimum="3pt" line-height="15pt" font-family="sans-serif" font-size="10pt"> $3.00 </fo:block>
               </fo:block-container>
          </fo:flow>
     </fo:page-sequence>
</fo:root>


 

visit Quiksilver Surf Camps and Surf School and book a surf lesson.

And for the girls you can visit this site Roxy Surf Camps and Surfing School to learn more about surfing and take a class as well.

 

If you want to see a good surf contest visit this site: Billabong Pro Pipeline Masters Surfing Contest 2007. You'll be glad you did.

Billabong Pro Pipe Pipeline Masters 2007 Surf Contest This website is one that you have to see at boardshort superstore quiksilver billabong swim suit hurley roxy quicksilver volcom

 

This is a must go surfing event: Eddie Would Go Aikau Big Wave Invitational 2007 Quiksilver Surf fans from around the world will be watching this event and buying the Eddie Would Go Surf Clothing.

 

 

Check out these online surf shop websites. I like the BOARDSHORTSUPERSTORE.COM website the best but there are others. There is also the BUYBOARDSHORTS.COM website that has a good selection as well. And if you want to see a great selection of shirts, BUYSURFTEES.COM is a good site and I think each one of the websites has a great selection.