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

#include <IBarcodeSuite.h>

Inheritance diagram for IBarcodeSuite:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IBARCODESUITE }
 

Public Member Functions

virtual bool16 CanCreateQRCodeFromSelection () const =0
 
virtual ErrorCode CreateQRCodeEmailFromSelection (const PMString &to, const PMString &sub, const PMString &msg, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=0
 
virtual ErrorCode CreateQRCodevCardFromSelection (const Facade::IBarcodeFacade::VCardData &vCardData, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=0
 
virtual ErrorCode CreateQRCodeSmsFromSelection (const PMString &to, const PMString &message, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=0
 
virtual ErrorCode CreateQRCodeHyperLinkFromSelection (const PMString &url, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=0
 
virtual ErrorCode CreateQRCodePlainTextFromSelection (const PMString &text, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=0
 
virtual bool16 IsQRCodeSelection () const =0
 
virtual UID GetQRCodeDataUID () const =0
 
virtual UIDRef GetQRCodeDataUIDRef () const =0
 
virtual ErrorCode CreateQRCodevCardFromSelection_2 (const Facade::IBarcodeFacade::VCardData2 &vCardData, IQRCodeMetaData::ErrorLevel level, const UID &qrCodeSwatchUID)=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

Selection suite for manipulating barcodes like QR codes.

Member Function Documentation

virtual bool16 IBarcodeSuite::CanCreateQRCodeFromSelection () const
pure virtual
Returns
kTrue if we can create a QR code from the selection. If there is no selection or a qr code can not be created from the selection, this method returns false.
virtual ErrorCode IBarcodeSuite::CreateQRCodeEmailFromSelection (const PMStringto,
const PMStringsub,
const PMStringmsg,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create an email QR code to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully.
virtual ErrorCode IBarcodeSuite::CreateQRCodeHyperLinkFromSelection (const PMStringurl,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create a hyperlink QR code to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully.
virtual ErrorCode IBarcodeSuite::CreateQRCodePlainTextFromSelection (const PMStringtext,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create a text QR code to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully.
virtual ErrorCode IBarcodeSuite::CreateQRCodeSmsFromSelection (const PMStringto,
const PMStringmessage,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create a sms QR code to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully.
virtual ErrorCode IBarcodeSuite::CreateQRCodevCardFromSelection (const Facade::IBarcodeFacade::VCardDatavCardData,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create a business card QR code to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully.
virtual ErrorCode IBarcodeSuite::CreateQRCodevCardFromSelection_2 (const Facade::IBarcodeFacade::VCardData2vCardData,
IQRCodeMetaData::ErrorLevel level,
const UIDqrCodeSwatchUID 
)
pure virtual

Create a business card QR code (including State) to be placed into the selected page item or the place gun as the case may be.

Returns
kSuccess if QR code gets created successfully. Uses VCardData2 which contains State information.
virtual UID IBarcodeSuite::GetQRCodeDataUID () const
pure virtual

Get the UID of the data for the selected QR code.

Returns
UID of the data.
virtual UIDRef IBarcodeSuite::GetQRCodeDataUIDRef () const
pure virtual

Get the UIDRef of the data for the selected QR code.

Returns
UIDRef of the data.
virtual bool16 IBarcodeSuite::IsQRCodeSelection () const
pure virtual
Returns
kTrue if selection is QR Code (or default selection)