Bug 62810 - Custom Page Number Formatting
Summary: Custom Page Number Formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Page-Number
  Show dependency treegraph
 
Reported: 2013-03-27 12:54 UTC by cesc
Modified: 2024-03-23 17:32 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cesc 2013-03-27 12:54:27 UTC
I'd like to be able to create page numbers with this format:

0001, 0002, 0003, 0004 ...

I can do this in MS Word modifying the page field: {PAGE} this way: {PAGE \# "0000"}
Comment 1 Brenda Granados 2013-03-28 14:39:25 UTC
Hi, thank you for submitting a report. I cannot find a way to have custom page numbering as you described in Writer.  I tried:

1. Insert page number.
2. Double click just before the page number field.
3. In the "Edit Field" window, try to find a format that matches the one you want.

That format is not there, nor is an option for a custom format.

I also tried to go to Format-> Page and go to the Page tab. The format drop down there does not have an option for the numbering scheme.

I will change the status of this bug to NEW.


Version: 4.0.2.1 (Build ID: 7e5467ff8f30d821f4fbf69cb2769163eb64c2c)
Platform: Ubuntu Linux 12.04 LTS x64

-Brenda
Comment 2 pierre-yves samyn 2014-12-03 09:43:10 UTC
Hi

+1 for the enhancement.

Meanwhile, I propose a workaround.

I assume that your document does not contain as many pages as suggested by the format. Use two page styles:
One for 1-9 pages where you insert 000 before the field
One for pages >= 10 where you insert 00 before the field

Regards
Pierre-Yves
Comment 3 cesc 2014-12-03 11:33:39 UTC
(In reply to pierre-yves samyn from comment #2)
> Hi
> 
> +1 for the enhancement.
> 
> Meanwhile, I propose a workaround.
> 
> I assume that your document does not contain as many pages as suggested by
> the format. Use two page styles:
> One for 1-9 pages where you insert 000 before the field
> One for pages >= 10 where you insert 00 before the field
> 
> Regards
> Pierre-Yves

Thanks for the workaround but my document contains as pages as suggested by the format... Of course, I could use four styles...
Comment 4 Justin L 2024-03-23 17:32:49 UTC
Note that LO now has some pre-defined leading-zero formats available. However, this bug report is (appropriately) asking for "custom field formatting" support, so while the specific example might now be covered, the general request is still outstanding/valid.