InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXDocBkFacade.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Adobe Developer Technologies
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 __IXDocBkFacade_H_DEFINED__
25 #define __IXDocBkFacade_H_DEFINED__
26 
27 // Interface includes:
28 #include "IPMUnknown.h"
29 
30 // Project includes:
31 #include "XDocBkID.h"
32 
33 // Forward declarations:
34 class IDocument;
35 
46 class IXDocBkFacade : public IPMUnknown
47 {
48 
49 public:
50 
54  enum { kDefaultIID = IID_IXDOCBKFACADE };
55 
63  virtual ErrorCode SetOptions(const K2Vector<WideString>& optionsVec)=0;
64 
68  virtual bool16 AreOptionsSet()=0;
69 
70 
74  virtual ErrorCode ResizeInlines(const UIDRef& documentUIDRef)=0;
75 
76 
83  virtual ErrorCode ImportXMLFile(const IDFile& xmlFile, const UIDRef& destDocumentUIDRef, const PMString& stylesheetPath)=0;
84 
91  virtual ErrorCode ExportXMLFile(const IDFile& sysFile, IDocument* doc, IPMUnknown* targetboss, const PMString& formatName, UIFlags uiFlags)=0;
92 
96  virtual PMString GetTemplatePath()=0;
97 
102  virtual PMString GetDefaultTemplateFromFolder(const IDFile& importingXMLFile)=0;
103 
107  virtual PMString GetStylesheetPath()=0;
108 
115  virtual ErrorCode SetUseXMLTransformer(bool16 newState)=0;
116 
121  virtual ErrorCode SetUsePostImportIterator(bool16 newState)=0;
122 
127  virtual ErrorCode SetUseCALSContentHandler(bool16 newState)=0;
128 
135  virtual bool16 IsUsingXMLTransformer()=0;
136 
141  virtual bool16 IsUsingPostImportIterator()=0;
142 
147  virtual bool16 IsUsingCALSContentHandler()=0;
148 
149 
154  virtual ErrorCode SetDeleteNamespacedAttrs(bool16 newState)=0;
155 
159  virtual bool16 IsDeleteNamespacedAttrs()=0;
160 
165  virtual ErrorCode SetDeleteInboundStrucTableElements(bool16 newState)=0;
166 
170  virtual bool16 IsDeleteInboundStrucTableElements()=0;
171 
175  virtual bool16 IsTaggingTable()=0;
176 
179  virtual bool16 IsSuppliedXSLOverridingPI()=0;
180 
183  virtual ErrorCode SetSuppliedXSLOverridingPI(bool16 newState)=0;
184 
188  virtual ErrorCode SetTaggingTable(bool16 newState)=0;
189 
192  virtual void UnitTestFacade()=0;
193 
198  virtual PMString AddPathSeparator(const PMString& path)=0;
199 };
200 
201 #endif // __IXDocBkFacade_H_DEFINED__
202