Kaydet (Commit) 3f9e7e72 authored tarafından Faisal M. Al-Otaibi's avatar Faisal M. Al-Otaibi

DOCX: fdo#43093 set alignment if not already set

Change-Id: I34d2c6c1fc9338cea025ac510621d370f23805a2
üst e51ae1c2
...@@ -1062,6 +1062,8 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable ) ...@@ -1062,6 +1062,8 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable )
// Left-to-right direction if not already set // Left-to-right direction if not already set
pEntry->pProperties->Insert(PROP_WRITING_MODE, uno::makeAny( sal_Int16(text::WritingMode_LR_TB) ), false); pEntry->pProperties->Insert(PROP_WRITING_MODE, uno::makeAny( sal_Int16(text::WritingMode_LR_TB) ), false);
// Left aligment if not already set
pEntry->pProperties->Insert(PROP_PARA_ADJUST, uno::makeAny( sal_Int16(style::ParagraphAdjust_LEFT) ), false);
} }
uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues(); uno::Sequence< beans::PropertyValue > aPropValues = pEntry->pProperties->GetPropertyValues();
......
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