Mirror margins
Posted:
Wed Jul 05, 2023 7:59 pm
by Michael
Is it possible to set mirror margins for the document? I see that using the PgMar object, only margins sizes can be set.
Re: Mirror margins
Posted:
Thu Jul 06, 2023 8:31 pm
by jason
This is done in the DocumentSettingsPart; CTSettings contains:
Using java Syntax Highlighting
/**
* Gets the value of the mirrorMargins property.
*
* @return
* possible object is
* {@link BooleanDefaultTrue }
*
*/
public BooleanDefaultTrue getMirrorMargins
() {
return mirrorMargins
;
}
/**
* Sets the value of the mirrorMargins property.
*
* @param value
* allowed object is
* {@link BooleanDefaultTrue }
*
*/
public void setMirrorMargins
(BooleanDefaultTrue value
) {
this.
mirrorMargins = value
;
}
Parsed in 0.015 seconds, using
GeSHi 1.0.8.4
Re: Mirror margins
Posted:
Thu Jul 06, 2023 9:03 pm
by Michael
Thanks, I implemented it and it works fine.