From: Sebastian Fey (fey@parsytec.de)
Date: Thu Sep 25 2003 - 03:07:37 PDT
hi,
i refer to this message:
Re: [xep-support] margin text, no. 2
From: Alexander Peshkov (peshkov@renderx.com)
Date: Tue May 27 2003 - 03:26:06 PDT
there was a file marginalia.fo attached to demonstrate the usage of
float="outside" to simulate a sidebar/marginalia.
start + end-indents are used to provide space for the sidebar:
[fo:flow flow-name="xsl-region-body" start-indent="120pt"
end-indent="120pt"]
my problem: if i add a table to this flow, each cell also uses this indents,
so that there is no more space for the content. its all messed up! (i
attached the modified .fo)
is there a way to use tables in a sidebar aware .fo?
i hope anyone can help, i really got a big problem if this wont work :(
thx in advance,
Sebastian Fey
Parsytec AG
Aachen Germany
-----------
modified .fo:
<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:rx="http://www.renderx.com/XSL/Extensions">
<fo:layout-master-set>
<fo:simple-page-master master-name="my-page-odd" margin="0.2in">
<fo:region-body margin="20pt 20pt 20pt -100pt" padding="6pt"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="my-page-even" margin="0.2in">
<fo:region-body margin="20pt -100pt 20pt 20pt" padding="6pt"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="my-sequence">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference
master-reference="my-page-odd"
odd-or-even="odd"/>
<fo:conditional-page-master-reference
master-reference="my-page-even"
odd-or-even="even"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-sequence">
<fo:flow flow-name="xsl-region-body" start-indent="120pt"
end-indent="120pt">
<fo:block>
<fo:block text-align="center" font="bold 14pt Helvetica"
space-after="20pt">On this page we place floats at margins of
text.</fo:block>
From this point we are starting to repeat 'dumb' text just to fill the
layout.
Dumb text starts.
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
<fo:inline color="blue">Let's add first float below.</fo:inline>
<fo:float float="outside" clear="none">
<fo:block-container width="100pt" border="thin solid red"
start-indent="0pt" end-indent="0pt" padding="10pt" text-align="center"
color="red">
<fo:block>Some floating text here!</fo:block>
<fo:block>float #1</fo:block>
</fo:block-container>
</fo:float>
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
<fo:inline color="blue">Let's add second float below.</fo:inline>
<fo:float float="outside" clear="none">
<fo:block-container width="100pt" border="thin solid red"
start-indent="0pt" end-indent="0pt" padding="10pt" text-align="center"
color="red">
<fo:block>Some floating text here!</fo:block>
<fo:block>float #2</fo:block>
</fo:block-container>
</fo:float>
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
<fo:inline color="blue">Let's add third float below.</fo:inline>
<fo:float float="outside" clear="none">
<fo:block-container width="100pt" border="thin solid red"
start-indent="0pt" end-indent="0pt" padding="10pt" text-align="center"
color="red">
<fo:block>Some floating text here!</fo:block>
<fo:block>float #3</fo:block>
</fo:block-container>
</fo:float>
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes on...
Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb text
goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on... Dumb text goes on... Dumb text goes on... Dumb text goes on... Dumb
text goes on... Dumb text goes on... Dumb text goes on... Dumb text goes
on...
</fo:block>
<fo:block space-before.minimum="0.5em" space-before.optimum="1em"
space-before.maximum="2em" space-after.minimum="0.5em"
space-after.optimum="1em" space-after.maximum="2em" keep-together="always"
id="d0e119">
<fo:block>Table 1.2. Server PC</fo:block>
<fo:table>
<fo:table-column column-number="1"
column-width="proportional-column-width(2)"/>
<fo:table-column column-number="2"
column-width="proportional-column-width(3)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">General</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">2 x 350 MHz
CPU</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="left">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">256 Mbytes
RAM</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">If Online / Offline Coil Post
Processor is
used</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">2 x 800 MHz CPU
recommended</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">If Automatic Archiving is
used</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">Min. 2 x 800 MHz
on Server PC</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">or</fo:inline>
[HTS only] separate Archive PC with 2 x 350 MHz CPU and
256
Mbytes RAM required ( 2 x 500 MHz recommended for JPEG
compression)</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-right-width="0.5pt"
border-right-style="solid" border-right-color="black" text-align="right">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">Tape drive or tape
library and ArcServe software
version 6.61 SP2 or higher, or DVD-RAM</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block space-before.minimum="0.5em" space-before.optimum="1em"
space-before.maximum="2em" space-after.minimum="0.5em"
space-after.optimum="1em" space-after.maximum="2em" keep-together="always"
id="d0e119">
<fo:block space-before.optimum="1em" space-before.minimum="0.8em"
space-before.maximum="1.2em" font-weight="bold" font-size="12pt"
hyphenate="false" space-after.minimum="0.4em" space-after.optimum="0.6em"
space-after.maximum="0.8em"
keep-with-next.within-column="always">Table 1.2. Server PC</fo:block>
<fo:table border-collapse="collapse" border-left-style="none"
border-right-style="none" border-top-style="none" border-bottom-style="none"
table-layout="fixed" width="100%">
<fo:table-column column-number="1"
column-width="proportional-column-width(2)"/>
<fo:table-column column-number="2"
column-width="proportional-column-width(3)"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">General</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">2 x 350 MHz
CPU</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="left">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">256 Mbytes
RAM</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">If Online / Offline Coil Post
Processor is
used</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">2 x 800 MHz CPU
recommended</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">If Automatic Archiving is
used</fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">Min. 2 x 800 MHz
on Server PC</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black"
border-right-width="0.5pt" border-right-style="solid"
border-right-color="black" text-align="right">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-bottom-width="0.5pt"
border-bottom-style="solid" border-bottom-color="black" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">
<fo:inline font-style="italic">or</fo:inline>
[HTS only] separate Archive PC with 2 x 350 MHz CPU and
256
Mbytes RAM required ( 2 x 500 MHz recommended for JPEG
compression)</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" border-right-width="0.5pt"
border-right-style="solid" border-right-color="black" text-align="right">
<fo:block> </fo:block>
</fo:table-cell>
<fo:table-cell padding-left="2pt" padding-right="2pt"
padding-top="2pt" padding-bottom="2pt" text-align="left">
<fo:block>
<fo:block space-before.optimum="1em"
space-before.minimum="0.8em" space-before.maximum="1.2em">Tape drive or tape
library and ArcServe software
version 6.61 SP2 or higher, or DVD-RAM</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Thu Sep 25 2003 - 03:08:47 PDT