diff options
author | Troy Rollo <libreoffice@troy.rollo.name> | 2011-07-11 23:02:20 +1000 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat.ooo@free.fr> | 2011-08-10 10:18:03 +0200 |
commit | 7e631b61607ddd821d9b3a688ff769bde45a4b2c (patch) | |
tree | 9974f10be42e6288740c4a36fb8865680c7c1f99 /sw/inc/numrule.hxx | |
parent | Partially reverted 96336b01a8e2836a3cabe407a92ac5d7b5ac5bf7. (diff) | |
download | core-7e631b61607ddd821d9b3a688ff769bde45a4b2c.tar.gz core-7e631b61607ddd821d9b3a688ff769bde45a4b2c.zip |
fdo#33960, Implement new rule for xref to numbered paragraphs
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r-- | sw/inc/numrule.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index 35bc16818507..4401df3647f3 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -105,6 +105,13 @@ class SW_DLLPUBLIC SwNumRule public: typedef std::vector< SwTxtNode* > tTxtNodeList; typedef std::vector< SwTxtFmtColl* > tParagraphStyleList; + + struct Extremities + { + sal_uInt16 nPrefixChars; + sal_uInt16 nSuffixChars; + }; + private: friend void _FinitCore(); @@ -171,7 +178,8 @@ public: String MakeNumString( const SwNumberTree::tNumberVector & rNumVector, const sal_Bool bInclStrings = sal_True, const sal_Bool bOnlyArabic = sal_False, - const unsigned int _nRestrictToThisLevel = MAXLEVEL ) const; + const unsigned int _nRestrictToThisLevel = MAXLEVEL, + Extremities* pExtremities = 0 ) const; String MakeRefNumString( const SwNodeNum& rNodeNum, const bool bInclSuperiorNumLabels = false, const sal_uInt8 nRestrictInclToThisLevel = 0 ) const; |