Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Krita
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mathias Wein
Krita
Commits
b6d523b4
Commit
b6d523b4
authored
Apr 03, 2007
by
Thomas Zander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consequative numbering is not relevant for styles.
svn path=/trunk/koffice/; revision=650014
parent
1c464257
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
15 deletions
+1
-15
libs/kotext/styles/KoListStyle.cpp
libs/kotext/styles/KoListStyle.cpp
+0
-1
libs/kotext/styles/KoListStyle.h
libs/kotext/styles/KoListStyle.h
+1
-14
No files found.
libs/kotext/styles/KoListStyle.cpp
View file @
b6d523b4
...
...
@@ -29,7 +29,6 @@ static const int properties[] = {
QTextListFormat
::
ListStyle
,
KoListStyle
::
ListItemPrefix
,
KoListStyle
::
ListItemSuffix
,
KoListStyle
::
ConsecutiveNumbering
,
KoListStyle
::
StartValue
,
KoListStyle
::
Level
,
KoListStyle
::
DisplayLevel
,
...
...
libs/kotext/styles/KoListStyle.h
View file @
b6d523b4
...
...
@@ -83,12 +83,11 @@ public:
enum
Property
{
ListItemPrefix
=
QTextFormat
::
UserProperty
+
1000
,
///< The text to be printed before the listItem
ListItemSuffix
,
///< The text to be printed after the listItem
ConsecutiveNumbering
,
///< when true don't let non-numbering parags restart numbering
StartValue
,
///< First value to use
Level
,
///< list nesting level, is 1 or higher, or zero when implied
DisplayLevel
,
///< show this many levels. Is always lower than the (implied) level.
CharacterStyleId
,
///< CharacterStyle used for markup of the counter
BulletCharacter
,
///< an int with the unicode value of the character
BulletCharacter
,
///< an int with the unicode value of the character
(for CustomCharItem)
BulletSize
,
///< size in percent relative to the height of the text
Alignment
,
///< Alignment of the counter
MinimumWidth
///< The minimum width, in pt, of the listItem including the prefix/suffix.
...
...
@@ -113,18 +112,6 @@ public:
QString
listItemPrefix
()
const
{
return
propertyString
(
ListItemPrefix
);
}
void
setListItemSuffix
(
const
QString
&
suffix
)
{
setProperty
(
ListItemSuffix
,
suffix
);
}
QString
listItemSuffix
()
const
{
return
propertyString
(
ListItemSuffix
);
}
/**
* If true keep numbering even if there was a lower list in between listitems.
* This attribute specifies whether or not the list style uses consecutive numbering for
* all list levels or whether each list level restarts the numbering.
*/
void
setConsecutiveNumbering
(
bool
on
)
{
setProperty
(
ConsecutiveNumbering
,
on
);
}
/**
* If true keep numbering even if there was a lower list in between listitems.
* This attribute specifies whether or not the list style uses consecutive numbering for
* all list levels or whether each list level restarts the numbering.
*/
bool
consecutiveNumbering
()
const
{
return
propertyBoolean
(
ConsecutiveNumbering
);
}
void
setStartValue
(
int
value
)
{
setProperty
(
StartValue
,
value
);
}
int
startValue
()
const
{
return
propertyInt
(
StartValue
);
}
void
setLevel
(
int
level
)
{
setProperty
(
Level
,
level
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment