Vincent DiCarlo wrote:
I need to format my paragraph numbers so that they have a fixed number of digits and display any leading zeros.

Open Office Writer allows you to format numbers in cells of tables so that, for example, you can display leading zeros, but there appears to be no way to do the same thing for paragraph numbers and outline numbers that are generated by the paragraph numbering and outline features.
...

Yes. Strange omission--stranger yet that it hasn't been requested either, as far as I can see (although this one is close: http://qa.openoffice.org/issues/show_bug.cgi?id=21387 )

You'll have number your paragraphs manually, I think. Hopefully someone will prove me wrong ;-)

You can take some of the drudgery out by defining a new variable:
Insert > Fields > Other > Variables > Set variable
  Name="_ppn"
  Value="_ppn+1"
  Format=(Leading zeros=4)
Every time you insert that field (just copy and paste the after first one), it will count up by one.

It would be nice to use a "Number Range" variable instead, so you could create references to a particular pp number, but you can't apply number formats to number ranges, only to plain variables. Bizarre limitations.

As far as the layout, you can either format normal paragraphs to have a hanging indent where the numbers appear, or put the numbers in a frame positioned off to the left, or use a 2-column table with the numbers in the left column.

<Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to