InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IXMLParsingContext.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
// Purpose:
24
// An interface for keeping track of the parsing information when importing XML content.
25
//
26
//========================================================================================
27
28
#ifndef __IXMLParsingContext_h__
29
#define __IXMLParsingContext_h__
30
31
#include "IPMUnknown.h"
32
#include "XMLParserID.h"
33
#include "XMLReference.h"
34
#include "XMLID.h"
35
49
class
IXMLParsingContext
:
public
IPMUnknown
50
{
51
public
:
52
enum
{ kDefaultIID = IID_IXMLPARSINGCONTEXT };
53
67
virtual
void
Set
(
const
XMLReference
& element,
const
WideString
& tagName, int32 childIndex,
const
UIDRef
& storyRef, TextIndex insertPos, bool16 shouldInsert = kFalse) = 0;
68
74
virtual
void
Set
(
IXMLParsingContext
* parsingContext) = 0;
75
77
virtual
XMLReference
GetElement
()
const
= 0;
78
83
virtual
void
SetElement
(
const
XMLReference
& element) = 0;
84
87
virtual
WideString
GetTagName
()
const
= 0;
88
93
virtual
void
SetTagName
(
const
WideString
& tagName) = 0;
94
96
virtual
int32
GetChildIndex
()
const
= 0;
97
102
virtual
void
SetChildIndex
(int32 childIndex) = 0;
103
105
virtual
UIDRef
GetStoryRef
()
const
= 0;
106
111
virtual
void
SetStoryRef
(
const
UIDRef
& storyRef) = 0;
112
114
virtual
TextIndex
GetInsertPos
()
const
= 0;
115
120
virtual
void
SetInsertPos
(TextIndex insertPos) = 0;
121
122
virtual
bool16 ShouldInsert()
const
= 0;
123
virtual
void
SetShouldInsert(bool16 doInsert) = 0;
124
};
125
126
#endif
tmpdoxygeninput
IXMLParsingContext.h
Generated on Sat Jul 19 2025 02:54:16 for InDesign SDK by
1.8.3.1