summaryrefslogtreecommitdiff
path: root/filter/inc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-05-28 17:21:10 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-05-28 18:06:15 +0200
commit5845298e615a599d5edc7c42275b52ae954250e8 (patch)
tree9e382faf8eb1e9faf55448e1bb21734efa2237df /filter/inc
parent96c7ab19b77c2f90acd4c34552474b0f616f48a7 (diff)
fix horizontal rule width in .doc documents (bnc#757118)
MSO uses undocumented properties that seem to map to o:hr and o:hrpct from .docx (including differences between .docx spec and implementation), so treat horizontal rule width the same way in .doc too. Also remove the guesswork for #i17200# that is not quite correct and no longer needed. Change-Id: Ibec543fa1679ca0b20e86ef6b4f77147b18dff7e
Diffstat (limited to 'filter/inc')
-rw-r--r--filter/inc/filter/msfilter/msdffimp.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx
index ad2e55ae8c7c..db15f86c8517 100644
--- a/filter/inc/filter/msfilter/msdffimp.hxx
+++ b/filter/inc/filter/msfilter/msdffimp.hxx
@@ -319,6 +319,8 @@ struct MSFILTER_DLLPUBLIC SvxMSDffImportRec
sal_Bool bVFlip :1;
sal_Bool bHFlip :1;
sal_Bool bAutoWidth :1;
+ int relativeHorizontalWidth; // in 0.1% or -1 for none
+ bool isHorizontalRule;
SvxMSDffImportRec();
SvxMSDffImportRec(const SvxMSDffImportRec& rCopy);