Issue 5131 - Line Numbering: Allow different line numbering schemes for each section/style/paragraph
Summary: Line Numbering: Allow different line numbering schemes for each section/style...
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: PC Windows 2000
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2002-05-22 00:36 UTC by Unknown
Modified: 2013-08-07 14:38 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-05-22 00:36:16 UTC
Line numbers are kind of binary thing.  You either (1) have them off for the
whole document or (2) on for the whole document.  You can specify what the
counting scheme (count by 5, count by 1, restart counting at each page break,
etc.) is for the whole document and only for the whole document.  You may
opt-out of the line numbers for each style, but you may not change the counting
scheme for that style.  

I need some sections of the document to have no line numbers, some to count by
5, and some to count by 1.  I need some sections to restart the line number
counting at the top of each page, and other sections to start recounting at the
beginning of the section.

So, an example document may include the following sections, with the following
header/footer (pages 1-7), has no line numbers;
section #1 (page 1), has no line numbers;
section #2 (pages 2-4), has line numbers that count by 5 and restart counting at
the top of every page;
sections #3, 5, 7, 9, & 11(all on page 5), have no line numbers;
sections #4, 6, 8, 10, & 12 (also all on page 5), have line numbers, which count
by 1 and restart at the beginning of each section;
section #13 (page 6), has line numbers that count by 5 and restart counting at
the top of every page;
section #14 (page 7), has no line numbers.

When MS Word documents, setup with the above line numbering, import into
OpenOffice, OpenOffice takes the 1st section with line numbers, enables that
sections line numbering scheme as the default behaviour for the entire document.
 In later sections, any subsequent line numbering properties are ignored.

So, an example document that OpenOffice produces includes the following
sections, with the following settings:
header/footer (pages 1-7), has line numbers that count by 5 and never restart
counting (which means the header on page 3 has a 5 next to it);
sections #1-14 (pages 1-7), has line numbers that count by 5 and restart
counting at the top of every page.

I have a ZIP file with a DOC, PDF (for the DOC) and SXW of an example of the
line numbering that I want and what OpenOffice does with it.  Once, this is
assigned, I can email it to the issues owner.

Increase the granularity of the line numbering schemes.  Allow me to fully
change the line numbering scheme for each section/style/paragraph and the

While, for a MS Word person, it would be most intuitive to have line numbering
schemes follow the section boundaries, it might be easiest to leverage off the
existing opt-out by style setup.  I think having a full blown line numbering
capability associated with the style would be as intuitive as associating the
line numbers with the sections. 

For what I do the lack of line number flexibility is kind of a show stopper. 
However, I am very impressed with everything.

This is platform independent (Win2k/XP and Redhat 7.3)
Also a server error occurred while trying to submit this the 1st time
(timeout?).  Sorry for any repeat.
Comment 1 eric.savary 2003-04-13 13:16:41 UTC
ES->BH: I think we already have an internal "idea" about linking line 
numbering with styles.
Comment 2 eric.savary 2003-04-13 13:17:11 UTC
Reassign to BH
Comment 3 Unknown 2003-09-19 22:51:58 UTC
Comment 4 Joost Andrae 2003-09-20 19:22:28 UTC
JA->AMA: is there any chance to have this feature/idea implemented in
the 2.0 timeframe ?
Comment 5 Unknown 2004-12-13 09:28:32 UTC
The flexibility of the line numbering feature is a VERY important feature for 
someone writing legal documents. There has to be an option to add line 
numbering to parts of a document. 
Comment 6 andreas.martens 2004-12-15 10:10:42 UTC
We are able to enable/disable to every paragraph of a document individually, so
we're already able to have line numbering at every wished section of the
document and every paragraph is able to restart the numbering.
What jbscout wants additionally is the flexibility to have different line
numberings (count every line, count by 5 etc.), this is of course a valid
feature request.
Comment 7 Unknown 2004-12-15 11:51:38 UTC
dina->ama: Is there a way to add line numbering to paragraphs as we go along or
do I have to apply line numbering to the whole document and then remove where I
don't need it?
Comment 8 andreas.martens 2004-12-15 11:58:56 UTC
You have to allow line numbering via Tools/Line numbering for the whole document
but it's easy to remove the line numbering for all paragraphs wtih a few clics:
just change the default paragraph style to switch off line numbering.
Comment 9 thu 2005-08-02 14:51:49 UTC
Me too. The critical feature I would want is to be able to adjust the line 
number position on a section basis. 
Comment 10 rjewell 2006-05-28 00:09:27 UTC
I have submitted a similar request (id 62222) that would allow open office to be
more useful in the creation of a legal pleadings. I work with a number of
attorneys (a group) that are moving away from MS but this is the largest
obstacle with OO so far. We are currently using one of a number of hacks that
have been created to overcome this shortcoming. Imbedding an image, a separate
numbered frame, etc... All of the current hacks are difficult and this limits
the number of attorneys willing to switch over.
Comment 11 bettina.haberer 2010-05-21 15:06:26 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements".