diff options
author | Lei De Bin <leidb@apache.org> | 2012-09-12 04:07:30 +0000 |
---|---|---|
committer | Lei De Bin <leidb@apache.org> | 2012-09-12 04:07:30 +0000 |
commit | daa4da26a7ba0c58c79af69fc6624729f7b22c10 (patch) | |
tree | 051c7a2221652c622d44c2cf060fab9a3ca41092 /sw/inc | |
parent | 1619e67c0c225ca6cc14a1fbebd4a97fb1b26311 (diff) |
#119612# fix the order of Hebraic string are changed after save as new .doc
* when opening .doc in AOO, preserve the RTL property(property ID is 0x085A) and export.
Reported by: Lou Qing le
Patch by: Chen Zuo Jun
Review by: Lei De Bin
Notes
Notes:
merged as: 5faf5492741abfd013ae677b1ec2fc06276d8644
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/doc.hxx | 7 | ||||
-rw-r--r-- | sw/inc/hintids.hxx | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index bc1204a9849d..fdcdb880b540 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -712,6 +712,13 @@ private: bool ReplaceRangeImpl(SwPaM&, String const&, const bool); public: + enum DocumentType { + DOCTYPE_NATIVE, + DOCTYPE_MSWORD //This doc medul is come from Ms Word + }; + DocumentType meDocType; + DocumentType GetDocumentType(){ return meDocType; } + void SetDocumentType( DocumentType eDocType ) { meDocType = eDocType; } /** Life cycle */ diff --git a/sw/inc/hintids.hxx b/sw/inc/hintids.hxx index 955e37cb736a..1f5ca4950a58 100644 --- a/sw/inc/hintids.hxx +++ b/sw/inc/hintids.hxx @@ -93,6 +93,8 @@ RES_CHRATR_BEGIN = HINT_BEGIN, RES_CHRATR_OVERLINE, // 38 RES_CHRATR_DUMMY1, // 39 RES_CHRATR_DUMMY2, // 40 + RES_CHRATR_BIDIRTL, + RES_CHRATR_IDCTHINT, RES_CHRATR_END }; |