ASF Bugzilla – Attachment 21894 Details for
Bug 44885
[PATCH] fo:inline-container implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Updated sample FO
test_inline-container_basic.fo (text/plain), 7.62 KB, created by
Andreas L. Delmelle
on 2008-05-01 06:00:01 UTC
(
hide
)
Description:
Updated sample FO
Filename:
MIME Type:
Creator:
Andreas L. Delmelle
Created:
2008-05-01 06:00:01 UTC
Size:
7.62 KB
patch
obsolete
><?xml version="1.0" encoding="iso-8859-1" ?> ><fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > <fo:layout-master-set> > <fo:simple-page-master master-name="page" page-height="5in" page-width="6in" margin-top=".5in" margin-bottom=".5in" margin-left=".9in" margin-right=".9in"> > <fo:region-body margin-bottom=".5in" margin-top=".75in" /> > <fo:region-before region-name="header" extent=".75in" /> > <fo:region-after region-name="footer" extent=".5in" /> > </fo:simple-page-master> > </fo:layout-master-set> > <fo:page-sequence master-reference="page" id="explicit-ipd"> > <fo:flow flow-name="xsl-region-body"> > <fo:block font-weight="bold" font-size="11pt"> > Some text with > <fo:inline-container inline-progression-dimension="50%" font-size="6pt" border="0.2pt solid red" background-color="yellow"> > <fo:block>an inline block, containing some smaller text in an fo:inline-container with "50%" width</fo:block> > </fo:inline-container> > and some more text in the original size, and some more text to trigger a linebreak > </fo:block> > <fo:block font-size="11pt"> > Some text with > <fo:inline-container inline-progression-dimension="2in" block-progression-dimension="5em" font-size="6pt"> > <fo:block>one, no...</fo:block> > <fo:block>two inline blocks containing some smaller text, in an fo:inline-container width explicit width/height (w=2in, h=5em)</fo:block> > </fo:inline-container> > and some more text in the original size, and some more text to trigger a linebreak > </fo:block> > <fo:block font-size="11pt"> > Some text with > <fo:inline-container inline-progression-dimension="3in" font-size="6pt"> > <fo:block>a 3-column inline table</fo:block> > <fo:block> > <fo:table table-layout="fixed" width="3in"> > <fo:table-column column-width="proportional-column-width(1)" number-columns-repeated="3" /> > <fo:table-body> > <fo:table-row> > <fo:table-cell> > <fo:block>cell 1.1</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block>cell 1.2</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block>cell 1.3</fo:block> > </fo:table-cell> > </fo:table-row> > <fo:table-row> > <fo:table-cell> > <fo:block>cell 2.1</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block>cell 2.2</fo:block> > </fo:table-cell> > <fo:table-cell> > <fo:block>cell 2.3</fo:block> > </fo:table-cell> > </fo:table-row> > </fo:table-body> > </fo:table> > </fo:block> > </fo:inline-container> > and some more text in the original size, and some more text to trigger a linebreak > </fo:block> > <fo:block font-size="11pt"> > Some text with > <fo:inline-container inline-progression-dimension="3in" font-size="6pt"> > <fo:block>a 3-item inline list</fo:block> > <fo:block> > <fo:list-block provisional-distance-between-starts="3em" provisional-label-separation="2em"> > <fo:list-item> > <fo:list-item-label> > <fo:block>*</fo:block> > </fo:list-item-label> > <fo:list-item-body> > <fo:block>item 1</fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item> > <fo:list-item-label> > <fo:block>*</fo:block> > </fo:list-item-label> > <fo:list-item-body> > <fo:block>item 2</fo:block> > </fo:list-item-body> > </fo:list-item> > <fo:list-item> > <fo:list-item-label> > <fo:block>*</fo:block> > </fo:list-item-label> > <fo:list-item-body> > <fo:block>item 3</fo:block> > </fo:list-item-body> > </fo:list-item> > </fo:list-block> > </fo:block> > </fo:inline-container> > and some more text in the original size > </fo:block> > <fo:block>The following block demonstrates a 3-column layout using fo:inline-containers</fo:block> > <fo:block font-size="6pt"> > <fo:inline-container inline-progression-dimension="30%" border="0.2pt solid red" background-color="yellow"> > <fo:block>column 1</fo:block> > </fo:inline-container> > <fo:inline-container inline-progression-dimension="30%" border="0.2pt solid blue" background-color="orange"> > <fo:block>column 2</fo:block> > </fo:inline-container> > <fo:inline-container reference-orientation="180" inline-progression-dimension="30%" border="0.2pt solid green" background-color="grey"> > <fo:block>column 3 should be upside-down</fo:block> > </fo:inline-container> > </fo:block> > <fo:block>The following block tests nested inline-containers</fo:block> > <fo:block>Some text > <fo:inline-container font-size="6pt" inline-progression-dimension="3in" border="0.2pt solid red" background-color="yellow"> > <fo:block>Test > <fo:inline-container inline-progression-dimension="2in" border="0.2pt solid blue" background-color="orange"> > <fo:block>Nested inline block</fo:block> > </fo:inline-container> > </fo:block> > </fo:inline-container> > and some trailing text after the inline-container > </fo:block> > </fo:flow> > </fo:page-sequence> > > <fo:page-sequence master-reference="page" id="explicit-ipd+bpd"> > <fo:flow flow-name="xsl-region-body"> > <fo:block> > Some text with > <fo:inline-container font-size="6pt" border="0.2pt solid red" background-color="yellow" > inline-progression-dimension="50%" block-progression-dimension="5em" > display-align="center"> > <fo:block text-align="center">an inline block containing some smaller text in an fo:inline-container with "50%" width, "5em" height and > display-align="center".</fo:block> > </fo:inline-container> > </fo:block> > <fo:block> > Some text with > <fo:inline-container font-size="6pt" border="0.2pt solid red" background-color="yellow" > inline-progression-dimension="50%" block-progression-dimension="5em" > display-align="after"> > <fo:block text-align="center">an inline block containing some smaller text in an fo:inline-container with "50%" width, "5em" height and > display-align="after".</fo:block> > </fo:inline-container> > </fo:block> > </fo:flow> > </fo:page-sequence> > > <fo:page-sequence master-reference="page" id="auto-ipd"> > <fo:flow flow-name="xsl-region-body"> > <fo:block font-weight="bold" font-size="11pt"> > Some text with > <fo:inline-container font-size="6pt" border="0.2pt solid red" background-color="yellow"> > <fo:block>an inline block, containing some smaller text in an fo:inline-container with "auto" width, which > currently defaults to "100% of the line-/block-width", and so shifts the inline-container to its own line > </fo:block> > </fo:inline-container> > and some more text in the original size, and some more text to trigger a linebreak > </fo:block> > </fo:flow> > </fo:page-sequence> ></fo:root>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44885
:
21861
|
21862
|
21863
|
21893
|
21894
|
21895
|
21896
|
21897
|
26636