Created
June 5, 2017 12:03
Star
You must be signed in to star a gist
FOP 2.2 - Border Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fn="http://www.w3.org/2005/xpath-functions" xmlns:xdt="http://www.w3.org/2005/xpath-datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:svg="http://www.w3.org/2000/svg"> | |
<fo:layout-master-set> | |
<fo:simple-page-master master-name="default-page" page-height="8.2604in" page-width="11.6875in" margin-left="0.7in" margin-right="0.7in"> | |
<fo:region-body margin-top="0.75in" margin-bottom="0.75in"/> | |
<fo:region-before extent="0.75in"/> | |
<fo:region-after extent="0.75in"/> | |
</fo:simple-page-master> | |
</fo:layout-master-set> | |
<fo:page-sequence master-reference="default-page" format="1" initial-page-number="1"> | |
<fo:flow flow-name="xsl-region-body"> | |
<fo:block> | |
<fo:table border-spacing="0pt" table-layout="fixed" width="100%"> | |
<fo:table-column column-width="48pt"/> | |
<fo:table-column column-width="48pt"/> | |
<fo:table-body start-indent="0"> | |
<fo:table-row height="20pt"> | |
<fo:table-cell background-color="#C3D69B"> | |
<fo:block-container> | |
<fo:block/> | |
</fo:block-container> | |
</fo:table-cell> | |
<fo:table-cell background-color="#D99694"> | |
<fo:block-container> | |
<fo:block/> | |
</fo:block-container> | |
</fo:table-cell> | |
</fo:table-row> | |
<fo:table-row height="20pt"> | |
<fo:table-cell background-color="#C3D69B" border-top="1pt dashed #000000"> | |
<fo:block-container> | |
<fo:block/> | |
</fo:block-container> | |
</fo:table-cell> | |
<fo:table-cell background-color="#336699"> | |
<fo:block-container> | |
<fo:block/> | |
</fo:block-container> | |
</fo:table-cell> | |
</fo:table-row> | |
</fo:table-body> | |
</fo:table> | |
</fo:block> | |
<fo:block id="SV_RefID_PageTotal"/> | |
</fo:flow> | |
</fo:page-sequence> | |
</fo:root> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment