xmloff: implement contextual spacing import/export

This commit is contained in:
Miklos Vajna 2012-03-12 17:35:16 +01:00
parent 8631dbf85f
commit 9f4bb5bd4f
3 changed files with 3 additions and 0 deletions

View file

@ -467,6 +467,7 @@ namespace xmloff { namespace token {
XML_CONTENT_VALIDATION,
XML_CONTENT_VALIDATION_NAME,
XML_CONTENT_VALIDATIONS,
XML_CONTEXTUAL_SPACING,
XML_CONTINUE,
XML_CONTINUE_NUMBERING,
XML_CONTOUR_PATH,

View file

@ -471,6 +471,7 @@ namespace xmloff { namespace token {
TOKEN( "content-validation", XML_CONTENT_VALIDATION ),
TOKEN( "content-validation-name", XML_CONTENT_VALIDATION_NAME ),
TOKEN( "content-validations", XML_CONTENT_VALIDATIONS ),
TOKEN( "contextual-spacing", XML_CONTEXTUAL_SPACING ),
TOKEN( "continue", XML_CONTINUE ),
TOKEN( "continue-numbering", XML_CONTINUE_NUMBERING ),
TOKEN( "contour-path", XML_CONTOUR_PATH ),

View file

@ -101,6 +101,7 @@ XMLPropertyMapEntry aXMLParaPropMap[] =
MP_E( "ParaTopMarginRelative", FO, MARGIN_TOP, XML_TYPE_PERCENT16, CTF_PARATOPMARGIN_REL ),
MP_E( "ParaBottomMargin", FO, MARGIN_BOTTOM, XML_TYPE_MEASURE|MID_FLAG_MULTI_PROPERTY, CTF_PARABOTTOMMARGIN ),
MP_E( "ParaBottomMarginRelative",FO, MARGIN_BOTTOM, XML_TYPE_PERCENT16, CTF_PARABOTTOMMARGIN_REL ),
{ "ParaContextMargin", sizeof("ParaContextMargin")-1, XML_NAMESPACE_STYLE, XML_CONTEXTUAL_SPACING, XML_TYPE_BOOL|XML_TYPE_PROP_PARAGRAPH, 0, SvtSaveOptions::ODFVER_LATEST },
// RES_CHRATR_CASEMAP
MT_E( "CharCaseMap", FO, FONT_VARIANT, XML_TYPE_TEXT_CASEMAP_VAR, 0 ),
MT_E( "CharCaseMap", FO, TEXT_TRANSFORM, XML_TYPE_TEXT_CASEMAP, 0 ),