InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IFrmLblDataFacade Class Referenceabstract

#include <IFrmLblDataFacade.h>

Inheritance diagram for IFrmLblDataFacade:
IPMUnknownCPMUnknown< IFrmLblDataFacade >FrmLblDataFacade

Public Types

enum  { kDefaultIID = IID_FRMLBLDATAFACADE }
 

Public Member Functions

virtual ErrorCode GetFrameLabelProperties (const UIDList &items, FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode GetFrameLabelProperties (const UIDRef &item, FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode UpdateFrameLabelProperties (const UIDRef &item, const FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode UpdateFrameLabelProperties (const UIDList &items, const FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode GetFrameLabelPreference (const UIDRef &workspace, FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode SetFrameLabelPreference (const UIDRef &workspace, const FrmLblInfo &frmLblInfo)=0
 
virtual ErrorCode GetFrameLabelPrintPreference (IWorkspace *workspace, bool16 &value)=0
 
virtual ErrorCode SetFrameLabelPrintPreference (IWorkspace *workspace, bool16 value)=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

A facade that provides useful manipulations of IFrmLblData and IID_IFRMLBLPRINTBOOLDATA.

Member Function Documentation

virtual ErrorCode IFrmLblDataFacade::GetFrameLabelPreference (const UIDRefworkspace,
FrmLblInfofrmLblInfo 
)
pure virtual

Get default setting of the frame label from workspace.

Parameters
itemIN The workspae that contains the default setting.
frmLblInfoOUT The default setting of frame label.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::GetFrameLabelPrintPreference (IWorkspaceworkspace,
bool16 & value 
)
pure virtual

Get preference of printing frame label or not.

Parameters
workspaceIN The workspace that contains the printing preference.
valueOUT kTrue the frame label will be printed, kFalse not..
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::GetFrameLabelProperties (const UIDListitems,
FrmLblInfofrmLblInfo 
)
pure virtual

Get properties of the frame label on the selected items.

Parameters
itemsIN The page items to get frame label properties from.
frmLblInfoOUT The properties of frame label.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::GetFrameLabelProperties (const UIDRefitem,
FrmLblInfofrmLblInfo 
)
pure virtual

Get properties of the frame label on the selected items.

Parameters
itemIN The page item to get frame label properties from.
frmLblInfoOUT The properties of frame label.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::SetFrameLabelPreference (const UIDRefworkspace,
const FrmLblInfofrmLblInfo 
)
pure virtual

Set default setting of the frame label to workspace.

Parameters
itemIN The workspae that contains the default setting.
frmLblInfoIN The default setting of frame label.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::SetFrameLabelPrintPreference (IWorkspaceworkspace,
bool16 value 
)
pure virtual

Set preference of printing frame label or not.

Parameters
workspaceIN The workspace that contains the printing preference.
valueIN kTrue the frame label will be printed, kFalse not..
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::UpdateFrameLabelProperties (const UIDRefitem,
const FrmLblInfofrmLblInfo 
)
pure virtual

Set the frame label properties on the selected item.

Parameters
itemIN The page item to set frame label properties.
frmLblInfoIN The frame label properties.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.

virtual ErrorCode IFrmLblDataFacade::UpdateFrameLabelProperties (const UIDListitems,
const FrmLblInfofrmLblInfo 
)
pure virtual

Set the frame label properties on the selected items.

Parameters
itemsIN The page item to set frame label properties.
frmLblInfoIN The frame label properties.
Returns
ErrorCode kSuccess if success, specific error code otherwise.

Implemented in FrmLblDataFacade.