InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IBarcodeSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Reena Agrawal
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //
23 // Comments: Selection suite for barcode page items
24 //
25 //========================================================================================
26 
27 #ifndef _IBarcodeSuite_
28 #define _IBarcodeSuite_
29 
30 #include "EPSID.h"
31 #include "IBarcodeFacade.h"
32 #include "IQRCodeMetaData.h"
33 #include "IQREmailData.h"
34 #include "IQRvCardData.h"
35 #include "IQRSmsData.h"
36 #include "IQRHyperLinkData.h"
37 #include "IQRPlainTextData.h"
38 
42 class IBarcodeSuite : public IPMUnknown
43 {
44 public:
45  enum { kDefaultIID = IID_IBARCODESUITE};
46 
50  virtual bool16 CanCreateQRCodeFromSelection() const = 0;
51 
55  virtual ErrorCode CreateQRCodeEmailFromSelection(const PMString& to, const PMString& sub, const PMString& msg, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
56 
60  virtual ErrorCode CreateQRCodevCardFromSelection(const Facade::IBarcodeFacade::VCardData& vCardData, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
61 
65  virtual ErrorCode CreateQRCodeSmsFromSelection(const PMString& to, const PMString& message, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
66 
70  virtual ErrorCode CreateQRCodeHyperLinkFromSelection(const PMString& url, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
71 
75  virtual ErrorCode CreateQRCodePlainTextFromSelection(const PMString& text, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
76 
78  virtual bool16 IsQRCodeSelection() const = 0;
79 
83  virtual UID GetQRCodeDataUID() const = 0;
84 
88  virtual UIDRef GetQRCodeDataUIDRef() const = 0;
89 
93  virtual ErrorCode CreateQRCodevCardFromSelection_2(const Facade::IBarcodeFacade::VCardData2& vCardData, IQRCodeMetaData::ErrorLevel level, const UID& qrCodeSwatchUID) = 0;
94 };
95 
96 
97 #endif // _IQRCodeSuite_