Apache OpenOffice (AOO) Bugzilla – Issue 87650
restart paragraph numbering on outline headings: lost when reloading file
Last modified: 2013-08-07 14:43:00 UTC
paragraph numbering: this is a regression from 2.3 and needs a quick fixe 1 first 2 second now from FORAMT/PARAGRAPH/ numbering select restart paragraphe at 1 1 this is the third parapgraphe restarting with number 1 ____ now save this file ____ reload this file ____ the restart is lost 1 first 2 second now from FORAMT/PARAGRAPH/ numbering select restart paragraphe at 1 3 this is the third parapgraphe after reload of the file with number 3 ------------------------------------------------------- This basically disables the feature and I have to fall back to rev 2.3
I cannot reproduce the problem with my OO 2.4 on WinXP. Could you please attach a short document to this issue, which shows the problem? Thanks for your patience. For setting appropriate Priority of an issue please have a look at http://www.openoffice.org/scdocs/ddIssues_EnterModify.html#priority
Created attachment 52438 [details] open this file in 2.3.1 and 2.4
see attached file issue description within this is NOT resolved, sorry
MRU->OD: the import seems to ignore the "restart numbering" settings on outline paragraphs ("normal" paragraphs work fine). It is correctly saved in the xml code, but nit regarded on load.
Investigation reveals that this is caused by a serious defect introduced by CWS swwarnings. In method <SwXNumberingRules::replaceByIndex(..)> member variable <pNumRule> is set in case that <pDocSh> is set. Before CWS swwarnings a local variable is used. Thus the <SwXNumberingRules> instance, which represents the outline style - <pNumRule> == 0 && <pDocSh != 0>, is morphed to a <SwXNumberingRules> instance representing a normal list style. The special code for the outline style is no longer processed after the first call of <SwXNumberingRules::replaceByIndex(..)> From my point of view this issue should be fixed in OOo 2.4.1
fixed in cws sw241bf01 - changed file: /sw/source/core/unocore/unosett.cxx, 1.51.28.1
OD->MRU: checked in internal installation of cws sw241bf01 - please verify.
Verified fix in sw241bf01.
Checked fix in OOH680m17 and DEV300m17.