From 5845298e615a599d5edc7c42275b52ae954250e8 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 28 May 2012 17:21:10 +0200 Subject: 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 --- filter/inc/filter/msfilter/msdffimp.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filter/inc') 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); -- cgit