InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLTag.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
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 // Interface for storing and accessing a XML tag
24 //
25 //========================================================================================
26 
27 #ifndef __IXMLTag__
28 #define __IXMLTag__
29 
30 #include "IPMUnknown.h"
31 #include "XMLID.h"
32 
33 class PMString;
41 class IXMLTag : public IPMUnknown
42 {
43 public:
44  enum { kDefaultIID = IID_IXMLTAG };
45 
50  virtual void SetTagName(const WideString& tagName) = 0;
51 
57  virtual const WideString& GetTagName() const = 0;
58 
64  virtual WideString GetBeginTag() const = 0;
65 
70  virtual WideString GetEndTag() const = 0;
71 
75  virtual WideString GetBeginMarker() const = 0;
76 
80  virtual WideString GetEndMarker() const = 0;
81 
85  virtual WideString GetSlashMarker() const = 0;
86 
90  virtual void LockName(bool16 lock) = 0;
91 
95  virtual bool16 NameLocked(void) const = 0;
96 };
97 
98 
99 
100 #endif