Loading ...
Sorry, an error occurred while loading the content.

RE: [XSL-FO] Indents for lists

Expand Messages
  • Victor Vishnyakov
    ... Thanks, Ken for the explanation. I have looped on the idea that this properties should be applied on the list-item-label and list-item-body not on the
    Message 1 of 3 , Apr 16, 2004
    • 0 Attachment
      > It is common to specify indents on these constructs so that these
      > properties are inherited by the blocks within.

      Thanks, Ken for the explanation. I have looped on the idea that this
      properties should be applied on the list-item-label and list-item-body
      not on the child blocks and could not understand how it should be done.

      Regards,
      Victor Vishnyakov



      > -----Original Message-----
      > From: G. Ken Holman [mailto:gkholman@...]
      > Sent: Thursday, April 15, 2004 5:04 PM
      > To: XSL-FO@yahoogroups.com
      > Subject: Re: [XSL-FO] Indents for lists
      >
      >
      > At 2004-04-15 16:27 +0300, Victor Vishnyakov wrote:
      > >While reading
      > >http://www.w3.org/TR/xsl/slice6.html#section-N17076-Formattin
      > g-Objects-
      > >f
      > >or-Lists I have noticed that in the second illustration
      > >(http://www.w3.org/TR/xsl/ListGeom.gif) start- and end-indents for
      > >fo:list-item-label and fo:list-item-body are mentioned. But "6.8.4
      > >fo:list-item-body" and "6.8.5 fo:list-item-label" have neither 7.10.7
      > >"start-indent" and 7.10.8 "end-indent" attributes nor similar
      > >attributes.
      >
      > It is common to specify indents on these constructs so that these
      > properties are inherited by the blocks within.
      >
      > >Thus, I have a question are 7.10.7 "start-indent" and 7.10.8
      > >"end-indent" allowed for "6.8.4 fo:list-item-body" and "6.8.5
      > >fo:list-item-label" and should they be inherited? Does anybody knows?
      >
      > If you read 7.10.7 and 7.10.8 closely they both say: "Inherited: yes"
      >
      > >The specification sample "6.8.1.1.1 Enumerated List" uses this
      > >attributes too: <fo:list-item>
      > > <fo:list-item-label start-indent="5mm"
      > end-indent="label-end()">
      > > <fo:block>a.</fo:block>
      > > </fo:list-item-label>
      > > <fo:list-item-body start-indent="body-start()">
      > > <fo:block>List item 1.</fo:block>
      > > </fo:list-item-body>
      > ></fo:list-item>
      >
      > Those two functions are for accessing the provisional spacing
      > properties
      > that guarantee a consistent presentation of list indentation
      > regardless of
      > the column or page width. I find it a good practice to use
      > them for a
      > consistent presentation. Also, it is an error for the blocks
      > in a list
      > item label to overlap the blocks in a list item body (ref:
      > 6.8.3 "It is an
      > error if the content-rectangles of the areas overlap."), and
      > using the
      > provisional properties prevents the error.
      >
      > Was your only question about inheritance or did you have
      > another question
      > implied by the example?
      >
      > I hope this helps.
    Your message has been successfully submitted and would be delivered to recipients shortly.