Hi everybody,

Please have a look at the following fo code:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"; 
xmlns:fox="http://xmlgraphics.apache.org/fop/extensions";>
        <fo:layout-master-set>
                <fo:simple-page-master page-height="7cm" page-width="7cm" 
master-name="xxx">
                        <fo:region-body margin-right="1cm" margin-left="1cm" 
margin-bottom="1cm" margin-top="1cm"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="xxx">
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>
                                <fo:table table-layout="fixed" 
start-indent="0pt">
                                        <fo:table-column column-number="1"/>
                                        <fo:table-column column-number="2"/>
                                        <fo:table-header>
                                                <fo:table-row 
keep-with-next.within-page="5">
                                                        <fo:table-cell 
padding-before="61.795pt">
                                                                
<fo:block-container>
                                                                        
<fo:block>
                                                                                
<fo:inline>horizontal Header</fo:inline>
                                                                        
</fo:block>
                                                                
</fo:block-container>
                                                        </fo:table-cell>
                                                        <fo:table-cell 
background-color="rgb(0, 0, 255)" display-align="center">
                                                                
<fo:block-container reference-orientation="90" 
keep-together.within-page="always">
                                                                        
<fo:block reference-orientation="0">
                                                                                
<fo:block start-indent="-28.346pt" background-color="rgb(255, 0, 0)">
                                                                                
        <fo:inline>verticacacal Headererer</fo:inline>
                                                                                
</fo:block>
                                                                        
</fo:block>
                                                                
</fo:block-container>
                                                        </fo:table-cell>
                                                </fo:table-row>
                                        </fo:table-header>
                                        <fo:table-body>
                                                <fo:table-row>
                                                        <fo:table-cell>
                                                                
<fo:block-container>
                                                                        
<fo:block>
                                                                                
<fo:inline>text cell 1</fo:inline>
                                                                        
</fo:block>
                                                                
</fo:block-container>
                                                        </fo:table-cell>
                                                        <fo:table-cell>
                                                                
<fo:block-container>
                                                                        
<fo:block>
                                                                                
<fo:inline>O</fo:inline>
                                                                        
</fo:block>
                                                                
</fo:block-container>
                                                        </fo:table-cell>
                                                </fo:table-row>
                                        </fo:table-body>
                                </fo:table>
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>

this code builds a table with a header, two columns and a row. Interesting part 
is the second column header, a vertical text. I know the first column header 
with its padding is responsible for the cell height. But who is responsible for 
the length of the outer vertical block (colored red)? Without the start-indent 
it would have the same size but would hang from the top border of the cell. 

Questions: 
*) Why would the block hang from the cell top without the negative 
start-indent? 
*) Why is the red block as long as it is?
*) How can I increase the size of the red block? 

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to