summaryrefslogtreecommitdiff
path: root/editeng/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-10-09 17:27:52 +0200
committerMichael Stahl <mstahl@redhat.com>2012-10-09 18:00:36 +0200
commitecd70a727d7f559ebda1dd726cea1be472948270 (patch)
treea7ffb138a80b3aa88600a57cd58f0e3f39b2967c /editeng/inc
parentc1d2eed375293d7c27bb885f344cc24ec0cd40ca (diff)
add editeng::ConvertBorderWidthFromWord:
Replace the 2 duplicate implementations of this in ww8 and writerfilter with a common one. Differences were: 2) ww8 doubles the with, writerfilter does not 13) unsupported, mapped to THINTHICK_SMALLGAP vs. THICKTHIN_SMALLGAP 22) unsupported, mapped to DASHED vs. SOLID 26) INSET not supported in writerfilter 27) OUTSET not supported in writerfilter Change-Id: I533b77394388e736f38d70284a6a11061d81e813
Diffstat (limited to 'editeng/inc')
-rw-r--r--editeng/inc/editeng/borderline.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/editeng/inc/editeng/borderline.hxx b/editeng/inc/editeng/borderline.hxx
index 7d18587e78fb..4bb4388243ea 100644
--- a/editeng/inc/editeng/borderline.hxx
+++ b/editeng/inc/editeng/borderline.hxx
@@ -52,9 +52,12 @@ namespace editeng {
// values from ::com::sun::star::table::BorderLineStyle
typedef sal_Int16 SvxBorderStyle;
+ // convert border style between Word formats and LO
+ SvxBorderStyle EDITENG_DLLPUBLIC ConvertBorderStyleFromWord(int);
/// convert border width in twips between Word formats and LO
double EDITENG_DLLPUBLIC ConvertBorderWidthToWord(SvxBorderStyle, double);
- double EDITENG_DLLPUBLIC ConvertBorderWidthFromWord(SvxBorderStyle, double);
+ double EDITENG_DLLPUBLIC ConvertBorderWidthFromWord(SvxBorderStyle,
+ double, int);
class EDITENG_DLLPUBLIC SvxBorderLine
{