summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-14 18:42:54 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-17 11:33:13 -0500
commitba4324917aeb24d5e6eab2fafbbc0535805426d8 (patch)
tree9291026329f059acf100e8c855ca04bdb0d5357c /svtools
parent3136b39e0d76b0ea9a8dcf5a6fa054783b45a85d (diff)
More fine-tuned stroke patterns.
Only the pixel map mode is visually inspected. Change-Id: Ia8ac978a0d3049d7e7162f1157822b85d475dfdf
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx39
1 files changed, 22 insertions, 17 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 15751030845c..0ba3bc6bcc4e 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -594,46 +594,51 @@ namespace svtools
if ( eUnit == MAP_TWIP )
{
aPattern.push_back( 30.0 );
- aPattern.push_back( 110.0 );
+ aPattern.push_back( 60.0 );
}
else if ( eUnit == MAP_100TH_MM )
{
- aPattern.push_back( 50 );
- aPattern.push_back( 200 );
+ aPattern.push_back( 50.0 );
+ aPattern.push_back( 100.0 );
}
else if ( eUnit == MAP_PIXEL )
{
- aPattern.push_back( 1.0 );
- aPattern.push_back( 3.0 );
+ aPattern.push_back( 1.0 ); // line
+ aPattern.push_back( 2.0 ); // blank
}
break;
case table::BorderLineStyle::DASHED:
if ( eUnit == MAP_TWIP )
{
- aPattern.push_back( 110 );
- aPattern.push_back( 110 );
+ aPattern.push_back( 120.0 );
+ aPattern.push_back( 40.0 );
}
else if ( eUnit == MAP_100TH_MM )
{
- aPattern.push_back( 200 );
- aPattern.push_back( 200 );
+ aPattern.push_back( 150.0 );
+ aPattern.push_back( 50.0 );
}
else if ( eUnit == MAP_PIXEL )
{
- aPattern.push_back( 10 );
- aPattern.push_back( 20 );
+ aPattern.push_back( 9.0 );
+ aPattern.push_back( 3.0 );
}
break;
case table::BorderLineStyle::FINE_DASHED:
- if ( eUnit == MAP_PIXEL )
+ if ( eUnit == MAP_TWIP )
{
- aPattern.push_back( 8 );
- aPattern.push_back( 2 );
+ aPattern.push_back( 60.0 );
+ aPattern.push_back( 40.0 );
}
- else if ( eUnit == MAP_TWIP )
+ else if ( eUnit == MAP_100TH_MM )
{
- aPattern.push_back( 120.0 );
- aPattern.push_back( 30.0 );
+ aPattern.push_back( 75.0 );
+ aPattern.push_back( 50.0 );
+ }
+ else if ( eUnit == MAP_PIXEL )
+ {
+ aPattern.push_back( 3.0 );
+ aPattern.push_back( 2.0 );
}
break;
default: