InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IExportTagValues.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Margie Vogel
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 
24 #ifndef __IExportTagValues__
25 #define __IExportTagValues__
26 
27 #include "IPMUnknown.h"
28 #include "TextID.h"
29 
30 
38 {
39 public:
40  bool operator==(const ExportTagData& other) const {
41  return (tagName == other.tagName && className == other.className && attributes == other.attributes);
42  }
43 
50 
51 };
52 
53 
60 {
61 public:
62  enum { kDefaultIID = IID_IEXPORTTAGVALUES };
63 
68  virtual ExportTagData GetTagData(const WideString& exportType) const = 0;
69 
74  virtual void SetTagData(const WideString& exportType, const ExportTagData &tagData) = 0;
75 
79  virtual size_t GetNumberOfExportTypes() const = 0;
80 
85  virtual WideString GetNthExportType(size_t nthType) const = 0;
86 
90  virtual bool16 GetBreakHTMLFileInEPUB() const = 0;
91 
95  virtual void SetBreakHTMLFileInEPUB(bool16 breakFile) = 0;
96 
100  virtual bool16 GetEmitCSSForStyle() const = 0;
101 
105  virtual void SetEmitCSSForStyle(bool16 emitCSS) = 0;
106 
110  virtual bool16 GetIncludeClassInHTML() const = 0;
111 
115  virtual void SetIncludeClassInHTML(bool16 includeClass) = 0;
116 
117 
118 };
119 
120 #endif