summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/borderline.cxx12
-rw-r--r--editeng/source/items/svxitems.src16
2 files changed, 25 insertions, 3 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 1edc7d129106..a2a77d1332bc 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -653,13 +653,19 @@ OUString SvxBorderLine::GetValueString( SfxMapUnit eSrcUnit,
RID_EMBOSSED,
RID_ENGRAVED,
RID_OUTSET,
- RID_INSET
+ RID_INSET,
+ RID_FINE_DASHED,
+ RID_DOUBLE_THIN,
+ RID_DASH_DOT,
+ RID_DASH_DOT_DOT
};
- sal_uInt16 nResId = aStyleIds[m_nStyle];
OUString aStr = "(" + ::GetColorString( aColor ) + OUString(cpDelim);
- if ( nResId )
+ if ( m_nStyle < sizeof(aStyleIds)/sizeof(*aStyleIds) )
+ {
+ sal_uInt16 nResId = aStyleIds[m_nStyle];
aStr += EE_RESSTR(nResId);
+ }
else
{
OUString sMetric = EE_RESSTR(GetMetricId( eDestUnit ));
diff --git a/editeng/source/items/svxitems.src b/editeng/source/items/svxitems.src
index 94d2b8d3a25c..0cd0c086c403 100644
--- a/editeng/source/items/svxitems.src
+++ b/editeng/source/items/svxitems.src
@@ -588,6 +588,22 @@ String RID_OUTSET
{
Text [ en-US ] = "Outset" ;
};
+String RID_FINE_DASHED
+{
+ Text [ en-US ] = "Single, fine dashed";
+};
+String RID_DOUBLE_THIN
+{
+ Text [ en-US ] = "Double, fixed thin lines";
+};
+String RID_DASH_DOT
+{
+ Text [ en-US ] = "Single, dash-dot";
+};
+String RID_DASH_DOT_DOT
+{
+ Text [ en-US ] = "Single, dash-dot-dot";
+};
String RID_SVXITEMS_METRIC_MM
{
Text [ en-US ] = "mm" ;