Kaydet (Commit) bef802a7 authored tarafından Vasily Melenchuk's avatar Vasily Melenchuk Kaydeden (comit) Samuel Mehrbrodt

tdf#99172 support for vertical align import/export property for text boxes

Change-Id: I1cf8d8d57a7245800e2b28b674301ebcb5470348
Reviewed-on: https://gerrit.libreoffice.org/23927Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 95eb1c9e
......@@ -556,6 +556,7 @@ void ElementDescriptor::readEditModel( StyleBag * all_styles )
readBoolAttr( "Tabstop", XMLNS_DIALOGS_PREFIX ":tabstop" );
readBoolAttr( "HideInactiveSelection", XMLNS_DIALOGS_PREFIX ":hide-inactive-selection" );
readAlignAttr( "Align", XMLNS_DIALOGS_PREFIX ":align" );
readVerticalAlignAttr( "VerticalAlign", XMLNS_DIALOGS_PREFIX ":valign" );
readBoolAttr( "HardLineBreaks", XMLNS_DIALOGS_PREFIX ":hard-linebreaks" );
readBoolAttr( "HScroll", XMLNS_DIALOGS_PREFIX ":hscroll" );
readBoolAttr( "VScroll", XMLNS_DIALOGS_PREFIX ":vscroll" );
......
......@@ -1090,6 +1090,7 @@ void TextFieldElement::endElement()
ctx.importDefaults( _nBasePosX, _nBasePosY, _xAttributes );
ctx.importBooleanProperty("Tabstop", "tabstop", _xAttributes );
ctx.importAlignProperty( "Align", "align", _xAttributes );
ctx.importVerticalAlignProperty( "VerticalAlign", "valign", _xAttributes );
ctx.importBooleanProperty( "HardLineBreaks", "hard-linebreaks", _xAttributes );
ctx.importBooleanProperty( "HScroll", "hscroll" ,_xAttributes );
ctx.importBooleanProperty( "VScroll", "vscroll", _xAttributes );
......
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