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

#include <ICreateQRCodeCmdData.h>

Inheritance diagram for ICreateQRCodeCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_ICREATEQRCODECMDDATA }
 

Public Member Functions

virtual void Set (IDataBase *db, const PMString &textToEncode, IQRCodeMetaData::ErrorLevel level, UID swatchUID)=0
 
virtual PMString GetTextToEncode () const =0
 
virtual IQRCodeMetaData::ErrorLevel GetErrorToleranceLevel () const =0
 
virtual IDataBaseGetDataBase () const =0
 
virtual UID GetQRCodeSwatchUID () const =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

Command parameters for the CreateFormField command

Member Function Documentation

virtual IDataBase* ICreateQRCodeCmdData::GetDataBase () const
pure virtual

Get the target database.

Returns
target database.
virtual IQRCodeMetaData::ErrorLevel ICreateQRCodeCmdData::GetErrorToleranceLevel () const
pure virtual

Get the error tolerance level of the QR code.

Returns
error tolerance level of the QR code.
virtual UID ICreateQRCodeCmdData::GetQRCodeSwatchUID () const
pure virtual

Get the UID of the color swatch used for creating the QR code.

Returns
UID of the color swatch used for creating the QR code.
virtual PMString ICreateQRCodeCmdData::GetTextToEncode () const
pure virtual

Get the text string to encode as QR code.

Returns
text to encode as QR code.
virtual void ICreateQRCodeCmdData::Set (IDataBasedb,
const PMStringtextToEncode,
IQRCodeMetaData::ErrorLevel level,
UID swatchUID 
)
pure virtual

Set the data required by the command for creating the QR code.

Parameters
dbIN The target database.
textToEncodeIN The text to encode as QR code.
levelIN The error tolerance level of the QR code.
swatchUIDIN The UID of the color swatch used for creating the QR code.