ASF Bugzilla – Attachment 21862 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]
Small test FO
test_inline-container_basic.fo (text/plain), 5.10 KB, created by
Andreas L. Delmelle
on 2008-04-27 17:05:04 UTC
(
hide
)
Description:
Small test FO
Filename:
MIME Type:
Creator:
Andreas L. Delmelle
Created:
2008-04-27 17:05:04 UTC
Size:
5.10 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"> > <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: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