Kaydet (Commit) 5c3cf76f authored tarafından Michael Stahl's avatar Michael Stahl

sw: refactor SwXNumberingRules

... to get some static property getter setter functions.

Change-Id: I3e69c0c01ee7ec2d17edbf06876c17cf4fce3833
üst c1358e5d
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment