#include <IPageMarginsCmdData.h>
Command data interface associated with commands to manipulate page margins.
- See Also
- IMargins
- kSetPageMarginsCmdBoss
| virtual void IPageMarginsCmdData::GetMargins | ( | PMReal * | insideLeft, | | | PMReal * | top, | | | PMReal * | outsideRight, | | | PMReal * | bottom | | ) | | const |
| pure virtual |
Return the margin values in the data interface.
- Parameters
| insideLeft | PMReal* OUT returns the inside (for facing pages case) or left margin. |
| top | PMReal* OUT returns the top margin. |
| outsideRight | PMReal* OUT returns the outside (for facing pages case) or right margin. |
| bottom | PMReal* OUT returnbs the bottom margin. |
| virtual const bool16 IPageMarginsCmdData::GetValid | ( | | ) | const |
| pure virtual |
Return the valid value in the data interface.
- Returns
- bool16
| virtual void IPageMarginsCmdData::Set | ( | const PMReal & | insideLeft, | | | const PMReal & | top, | | | const PMReal & | outsideRight, | | | const PMReal & | bottom, | | | const bool16 | valid | | ) | | |
| pure virtual |
Set the margins for pages in the kSetPageMarginCmdBoss item list.
- Parameters
| insideLeft | PMReal& refers to inside (for facing pages case) or left margin. |
| top | PMReal& refers to top margin. |
| outsideRight | PMReal& refers to outside (for facing pages case) or right margin. |
| bottom | PMReal& refers to bottom margin. |
| valid | bool16 The new margin valid valid. "Valid" refers to whether the page margins are in use (kTrue), or the page should get its margin values from its applied master (kFalse). |