summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-05 11:09:35 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-05 13:59:07 +0100
commit01028864214a1b1ee6bf3f00fca142baf7b1d40c (patch)
tree03fe353f18740a59da87f55e0884afcda7e09405 /sw/inc
parent53600134ec737d50808c0f630b536229ad3310bb (diff)
Resolves: fdo#45271, i#17964 count CJK words the way that's expected by users
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/docstat.hxx1
-rw-r--r--sw/inc/ndtxt.hxx2
2 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/docstat.hxx b/sw/inc/docstat.hxx
index 554d506be414..1869120b15ee 100644
--- a/sw/inc/docstat.hxx
+++ b/sw/inc/docstat.hxx
@@ -43,6 +43,7 @@ struct SW_DLLPUBLIC SwDocStat
/// all paragraphs, including empty/hidden ones
sal_uLong nAllPara;
sal_uLong nWord;
+ sal_uLong nAsianWord;
sal_uLong nChar;
sal_uLong nCharExcludingSpaces;
sal_Bool bModified;
diff --git a/sw/inc/ndtxt.hxx b/sw/inc/ndtxt.hxx
index 21e9fb4aa71e..83b3e2f35a4a 100644
--- a/sw/inc/ndtxt.hxx
+++ b/sw/inc/ndtxt.hxx
@@ -173,6 +173,8 @@ class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable
//
SW_DLLPRIVATE void SetParaNumberOfWords( sal_uLong nTmpWords ) const;
SW_DLLPRIVATE sal_uLong GetParaNumberOfWords() const;
+ SW_DLLPRIVATE void SetParaNumberOfAsianWords( sal_uLong nTmpAsianWords ) const;
+ SW_DLLPRIVATE sal_uLong GetParaNumberOfAsianWords() const;
SW_DLLPRIVATE void SetParaNumberOfChars( sal_uLong nTmpChars ) const;
SW_DLLPRIVATE sal_uLong GetParaNumberOfChars() const;
SW_DLLPRIVATE void SetParaNumberOfCharsExcludingSpaces( sal_uLong nTmpChars ) const;