Kaydet (Commit) d2aee5ab authored tarafından Mark Hung's avatar Mark Hung

tdf#70851 render wave underlines in slideshow.

Change-Id: I31b2717e60b5eae6c992e27700e589938764957c
Reviewed-on: https://gerrit.libreoffice.org/62035
Tested-by: Jenkins
Reviewed-by: 's avatarMark Hung <marklh9@gmail.com>
üst c13f0a62
...@@ -473,10 +473,21 @@ namespace cppcanvas ...@@ -473,10 +473,21 @@ namespace cppcanvas
case LINESTYLE_DONTKNOW: case LINESTYLE_DONTKNOW:
break; break;
case LINESTYLE_SMALLWAVE: // TODO(F3): NYI case LINESTYLE_DOUBLEWAVE:
// FALLTHROUGH intended
case LINESTYLE_SMALLWAVE:
// FALLTHROUGH intended // FALLTHROUGH intended
case LINESTYLE_WAVE: // TODO(F3): NYI case LINESTYLE_BOLDWAVE:
// FALLTHROUGH intended // FALLTHROUGH intended
case LINESTYLE_WAVE:
appendWaveline(
aTextLinesPolyPoly,
rStartPos,
rTextLineInfo.mnUnderlineOffset,
rLineWidth,
rTextLineInfo.mnLineHeight,
rTextLineInfo.mnUnderlineStyle);
break;
case LINESTYLE_SINGLE: case LINESTYLE_SINGLE:
appendRect( appendRect(
aTextLinesPolyPoly, aTextLinesPolyPoly,
...@@ -497,8 +508,6 @@ namespace cppcanvas ...@@ -497,8 +508,6 @@ namespace cppcanvas
// FALLTHROUGH intended // FALLTHROUGH intended
case LINESTYLE_BOLDDASHDOTDOT:// TODO(F3): NYI case LINESTYLE_BOLDDASHDOTDOT:// TODO(F3): NYI
// FALLTHROUGH intended // FALLTHROUGH intended
case LINESTYLE_BOLDWAVE: // TODO(F3): NYI
// FALLTHROUGH intended
case LINESTYLE_BOLD: case LINESTYLE_BOLD:
appendRect( appendRect(
aTextLinesPolyPoly, aTextLinesPolyPoly,
...@@ -509,8 +518,6 @@ namespace cppcanvas ...@@ -509,8 +518,6 @@ namespace cppcanvas
rTextLineInfo.mnUnderlineOffset + 2*rTextLineInfo.mnLineHeight ); rTextLineInfo.mnUnderlineOffset + 2*rTextLineInfo.mnLineHeight );
break; break;
case LINESTYLE_DOUBLEWAVE: // TODO(F3): NYI
// FALLTHROUGH intended
case LINESTYLE_DOUBLE: case LINESTYLE_DOUBLE:
appendRect( appendRect(
aTextLinesPolyPoly, aTextLinesPolyPoly,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment