You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by dnovo <en...@gmail.com> on 2019/05/22 16:36:18 UTC
reference-orientation inside table-cell
Hi,
I'm trying to apply reference-orientation (90, 180 and 270) inside a
table-cell like this:
with 90 - "My Text" shows up outside the cell, and the row heigth is
ignored.
What am i missing?
Thanks in advanced.
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="http://www.w3.org/1999/XSL/Format">
<layout-master-set>
<simple-page-master master-name="Page1" page-height="29.7cm"
page-width="21.0cm" margin-top="0.0cm" margin-bottom="0.0cm"
margin-left="1.0cm" margin-right="1.0cm">
<region-body margin-top="0cm"></region-body>
<region-before extent="5.0cm"></region-before>
<region-after extent="2.0cm"></region-after>
</simple-page-master>
</layout-master-set>
<page-sequence master-reference="Page1">
<flow flow-name="xsl-region-body" color="#000000" font-size="10pt"
font-family="Times Roman" font-style="normal" font-weight="normal"
text-align="start">
<block></block>
<block-container width="19.0cm" height="29.7cm" top="8.6cm" left="0.0cm"
position="absolute">
<table-column column-width="4.7cm"></table-column>
<table-body>
<table-row line-height="0.5cm">
<table-cell background-color="#ffffff" border-start-style="solid"
border-end-style="solid" border-top-style="solid"
border-bottom-style="solid" border-color="#000000" border-width="medium">
<block-container reference-orientation="90">
<block font-size="7pt" font-family="sans-serif">My Text</block>
</block-container>
</table-cell>
</table-row>
</table-body>
</block-container>
</flow>
</page-sequence>
</root>
--
Sent from: http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: reference-orientation inside table-cell
Posted by Chris <bo...@hotmail.com>.
Hi,
A fo:block-container is an out of flow object, meaning that it can
appear anywhere on the page esp when you specify
absolute-position="position" I realize you didn't do that, but wouldn't
it make more sense to apply reference-orientation to table-cell instead?
Thanks,
Chris
On 22/05/2019 17:36, dnovo wrote:
> Hi,
>
> I'm trying to apply reference-orientation (90, 180 and 270) inside a
> table-cell like this:
>
> with 90 - "My Text" shows up outside the cell, and the row heigth is
> ignored.
>
> What am i missing?
>
> Thanks in advanced.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <root xmlns="http://www.w3.org/1999/XSL/Format">
> <layout-master-set>
> <simple-page-master master-name="Page1" page-height="29.7cm"
> page-width="21.0cm" margin-top="0.0cm" margin-bottom="0.0cm"
> margin-left="1.0cm" margin-right="1.0cm">
> <region-body margin-top="0cm"></region-body>
> <region-before extent="5.0cm"></region-before>
> <region-after extent="2.0cm"></region-after>
> </simple-page-master>
> </layout-master-set>
> <page-sequence master-reference="Page1">
> <flow flow-name="xsl-region-body" color="#000000" font-size="10pt"
> font-family="Times Roman" font-style="normal" font-weight="normal"
> text-align="start">
> <block></block>
>
> <block-container width="19.0cm" height="29.7cm" top="8.6cm" left="0.0cm"
> position="absolute">
>
>
> <table-column column-width="4.7cm"></table-column>
> <table-body>
> <table-row line-height="0.5cm">
> <table-cell background-color="#ffffff" border-start-style="solid"
> border-end-style="solid" border-top-style="solid"
> border-bottom-style="solid" border-color="#000000" border-width="medium">
> <block-container reference-orientation="90">
> <block font-size="7pt" font-family="sans-serif">My Text</block>
> </block-container>
> </table-cell>
> </table-row>
> </table-body>
>
>
> </block-container>
> </flow>
> </page-sequence>
> </root>
>
>
>
> --
> Sent from: http://apache-fop.1065347.n5.nabble.com/FOP-Users-f3.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
> .
>