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 Pascal Sancho <pa...@takoma.fr> on 2008/10/16 09:41:43 UTC

RE: start-indent and end-indent inheritance (was: Page bottom padding)

Hi,

> -----Message d'origine-----
> De : George Tsopouridis [mailto:gtsopour@gmail.com] 
> Envoyé : mercredi 15 octobre 2008 19:35
> 
> Jeremias thanks again for your total help, but i need 
> something else. If i
> enclose all my content in an fo:block and with start-indent 
> and end-indent
> (for padding left/right), and also i have 2 columns in my 
> region-body, the
> value of start-indent(or end -indent) passes to every block 
> inside my total
> block. Value of start-indent exists between two columns. I 
> understand this
> behavior, but can i keep start-indent only in total block 
> which contains all
> content(other blocks with columns);; I tried start -indent = 0 at the
> content blocks but nothing. Is there a solution; I need 
> padding-left in my
> region-body.
> 
> > Thanks in advance...

You should use a fo:block-container surrounding a fo:block resetting *-indents:

<fo:block-container start-indent="10mm" end-indent="10mm">
  <fo:block start-indent="0mm" end-indent="0mm">
    <!-- your content comes here -->
  </fo:block>
</fo:block-container>

This because fo:block-container generates a reference-area (see REC XST-FO 1.1, section 6.3).

HTH,
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: start-indent and end-indent inheritance (was: Page bottom padding)

Posted by George Tsopouridis <gt...@gmail.com>.
Thanks pascal for your answer, but i need something else. I have 2 columns in
my region-body and i want padding-left in all my region-body.  I donnot want
margin-left but padding-left;If all my region body is a block-container with
start-indent and reset start-indents in every block, i am losing the
columns.
What can i do;


Pascal Sancho wrote:
> 
> Hi,
> 
>> -----Message d'origine-----
>> De : George Tsopouridis [mailto:gtsopour@gmail.com] 
>> Envoyé : mercredi 15 octobre 2008 19:35
>> 
>> Jeremias thanks again for your total help, but i need 
>> something else. If i
>> enclose all my content in an fo:block and with start-indent 
>> and end-indent
>> (for padding left/right), and also i have 2 columns in my 
>> region-body, the
>> value of start-indent(or end -indent) passes to every block 
>> inside my total
>> block. Value of start-indent exists between two columns. I 
>> understand this
>> behavior, but can i keep start-indent only in total block 
>> which contains all
>> content(other blocks with columns);; I tried start -indent = 0 at the
>> content blocks but nothing. Is there a solution; I need 
>> padding-left in my
>> region-body.
>> 
>> > Thanks in advance...
> 
> You should use a fo:block-container surrounding a fo:block resetting
> *-indents:
> 
> <fo:block-container start-indent="10mm" end-indent="10mm">
>   <fo:block start-indent="0mm" end-indent="0mm">
>     <!-- your content comes here -->
>   </fo:block>
> </fo:block-container>
> 
> This because fo:block-container generates a reference-area (see REC XST-FO
> 1.1, section 6.3).
> 
> HTH,
> Pascal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-start-indent-and-end-indent-inheritance-%28was%3A-Page-bottom-padding%29-tp20008738p20129303.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: start-indent and end-indent inheritance

Posted by Chris Bowditch <bo...@hotmail.com>.
Chris Bowditch wrote:

> George Tsopouridis wrote:
> 
>> Pascal thanks for your answer...
>> Actually, i don't need two columns with different width, but i want an
>> equal-columned flow region-body with padding left. I cannot find a way 
>> to do
>> this. Have you any idea;;
> 
> 
> Can't you define a border left on your region-body?

Sorry I misread your question, but like Pascal said: I don't have a 
clear picture of what you are trying to achieve. Can you provide a 
picture of the desired layout?

Thanks,

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Re: start-indent and end-indent inheritance

Posted by Chris Bowditch <bo...@hotmail.com>.
George Tsopouridis wrote:

> Pascal thanks for your answer...
> Actually, i don't need two columns with different width, but i want an
> equal-columned flow region-body with padding left. I cannot find a way to do
> this. Have you any idea;;

Can't you define a border left on your region-body?

Chris

<snip/>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


RE: start-indent and end-indent inheritance (was: Page bottom padding)

Posted by George Tsopouridis <gt...@gmail.com>.
Pascal thanks for your answer...
Actually, i don't need two columns with different width, but i want an
equal-columned flow region-body with padding left. I cannot find a way to do
this. Have you any idea;;


Pascal Sancho wrote:
> 
> Hi George,
> 
> IIUC, you need 2 columns with different width.
> This is a REC 1.1 feature that is not supported by FOP ATM.
> 
> In this case, I've no idea.
> 
> Pascal
> 
> 
>> -----Message d'origine-----
>> De : George Tsopouridis [mailto:gtsopour@gmail.com] 
>> Envoyé : jeudi 23 octobre 2008 13:47
>> 
>> Thanks pascal for your answer, but i need something else. I 
>> have 2 columns in
>> my region-body and i want padding-left in all my region-body. 
>>  I donnot want
>> margin-left but padding-left;If all my region body is a 
>> block-container with
>> start-indent and reset start-indents in every block, i am losing the
>> columns.
>> What can i do;
>> 
>> Pascal Sancho wrote:
>> > 
>> > Hi,
>> > 
>> >> -----Message d'origine-----
>> >> De : George Tsopouridis [mailto:gtsopour@gmail.com] 
>> >> Envoyé : mercredi 15 octobre 2008 19:35
>> >> 
>> >> Jeremias thanks again for your total help, but i need 
>> >> something else. If i
>> >> enclose all my content in an fo:block and with start-indent 
>> >> and end-indent
>> >> (for padding left/right), and also i have 2 columns in my 
>> >> region-body, the
>> >> value of start-indent(or end -indent) passes to every block 
>> >> inside my total
>> >> block. Value of start-indent exists between two columns. I 
>> >> understand this
>> >> behavior, but can i keep start-indent only in total block 
>> >> which contains all
>> >> content(other blocks with columns);; I tried start -indent 
>> = 0 at the
>> >> content blocks but nothing. Is there a solution; I need 
>> >> padding-left in my
>> >> region-body.
>> >> 
>> >> > Thanks in advance...
>> > 
>> > You should use a fo:block-container surrounding a fo:block resetting
>> > *-indents:
>> > 
>> > <fo:block-container start-indent="10mm" end-indent="10mm">
>> >   <fo:block start-indent="0mm" end-indent="0mm">
>> >     <!-- your content comes here -->
>> >   </fo:block>
>> > </fo:block-container>
>> > 
>> > This because fo:block-container generates a reference-area 
>> (see REC XST-FO
>> > 1.1, section 6.3).
>> > 
>> > HTH,
>> > Pascal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/RE%3A-start-indent-and-end-indent-inheritance-%28was%3A-Page-bottom-padding%29-tp20008738p20147972.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org