Kaydet (Commit) da9acd20 authored tarafından Miklos Vajna's avatar Miklos Vajna

fdo#49655 dmapper: fix default page style layout

The default in Writer is mirrored, but in Word it's left and right.

Change-Id: I8c615a3a18ad7493deb2a3a9369c13f3e4d5799d
üst c67fedbd
......@@ -303,6 +303,8 @@ SectionPropertyMap::SectionPropertyMap(bool bIsFirstSection) :
Insert( PROP_TOP_MARGIN, false, uno::makeAny( (sal_Int32)2540 ) );
//page bottom margin, default 0x5a0 (1440) twip -> 2540 1/100 mm
Insert( PROP_BOTTOM_MARGIN, false, uno::makeAny( (sal_Int32) 2540 ) );
//page style layout
Insert(PROP_PAGE_STYLE_LAYOUT, false, uno::makeAny(style::PageStyleLayout::PageStyleLayout_ALL));
uno::Any aFalse( ::uno::makeAny( false ) );
Insert( PROP_GRID_DISPLAY, false, aFalse);
Insert( PROP_GRID_PRINT, false, aFalse);
......
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