summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-07 17:34:54 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-08 22:58:20 +0100
commit5c3cf76f79a7f0cb5fb09e627cf07195ad5a0ef5 (patch)
tree7cab236ae4559f1501b67c6076150eaff99f0d47 /sw/inc
parentc1358e5dc875bb923f4b5472ba615ebd19f0d057 (diff)
sw: refactor SwXNumberingRules
... to get some static property getter setter functions. Change-Id: I3e69c0c01ee7ec2d17edbf06876c17cf4fce3833
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/unosett.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx
index 93d0ca46430f..0e35beca9ff2 100644
--- a/sw/inc/unosett.hxx
+++ b/sw/inc/unosett.hxx
@@ -37,6 +37,7 @@ class SwDoc;
class SwFmtCol;
class SwDocShell;
class SwNumRule;
+class SwNumFmt;
class SwXFootnoteProperties : public cppu::WeakAggImplHelper2
<
@@ -204,6 +205,19 @@ public:
static bool isInvalidStyle(const OUString &rName);
void Invalidate() {pDocShell = 0;}
OUString GetCreatedNumRuleName() const {return m_sCreatedNumRuleName;}
+
+ static css::uno::Sequence<css::beans::PropertyValue> GetPropertiesForNumFmt(
+ const SwNumFmt& rFmt, OUString const& rCharFormatName,
+ OUString const* pHeadingStyleName);
+ static void SetPropertiesToNumFmt(
+ SwNumFmt & aFmt,
+ OUString & rCharStyleName,
+ OUString *const pBulletFontName,
+ OUString *const pHeadingStyleName,
+ OUString *const pParagraphStyleName,
+ SwDoc *const pDoc, SwDocShell *const pDocShell,
+ css::uno::Sequence<css::beans::PropertyValue> const& rProperties);
+
};
class SwXChapterNumbering : public SwXNumberingRules