To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=75927


User cl changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|REOPENED                  |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Wed May 28 09:37:11 +0000 
2008 -------
I did the following core changes

Outliner API

- The depth is now always from -1 to 9 for each type of shape.
A depth of -1 means that the paragraph is not numbered, therefore
the indents of the bullet is not used and no bullet is painted.
For a paragraph with depth >= 0, the bullet is painted and the
indents from the bullet are added to the lr space item.

- The type for the paragraph depth was changed from USHORT to sal_Int16,
also the SfxItem EE_PARA_OUTLLEVEL changed to SfxInt16Item.

- The SfxItem EE_PARA_BULLETSTATE changed to a SfxBoolItem and also changed
the meaning exclude the paragraph from the numbering. Meaning the indends of
the bullet format for the current paragraph depth is used and space for a
bullet is put before the text but the actual bullet is not painted and for a
numbering this paragraph is not counted. This is now an item that is only
valid for paragraphs, not for styles.

- added numbering start value like in writer
+ virtual sal_Int16 GetNumberingStartValue( sal_uInt16 nPara );
+ virtual void SetNumberingStartValue( sal_uInt16 nPara, sal_Int16
nNumberingStartValue );
This sets the start value for the given paragraph that is used if the paragraph
is a numeration.
The value -1 means that the paragraph is counted as usual

- added numbering restart like in writer
+ virtual sal_Bool IsParaIsNumberingRestart( sal_uInt16 nPara );
+ virtual void SetParaIsNumberingRestart( sal_uInt16 nPara, sal_Bool
bParaIsNumberingRestart );
This bool forces a numbering for this paragraph to restart if it is true.

UNO API

- The property "EnableNumbering" was removed
- The property "NumberingIsNumber" was added and has the same meaning as in 
writer
- The property "ParaIsNumberingRestart" was added and has the same meaning as in
writer
- The property "NumberingStartValue" was added and has the same meaning as in 
writer


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to