InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ISAXServices.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Robin Briggs
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 __ISAXServices_h__
25
#define __ISAXServices_h__
26
27
#include "IPMUnknown.h"
28
#include "PMReal.h"
29
#include "XMLParserID.h"
30
31
class
ISAXContentHandler
;
32
class
ISAXEntityResolver
;
33
class
ISAXDTDHandler
;
34
class
BaseProgressBar
;
35
class
IXMLDTDHandler;
36
class
IXMLDTDTokenHandler;
37
class
IXMLParsingContext
;
38
57
class
ISAXServices
:
public
IPMUnknown
58
{
59
public
:
60
enum
{ kDefaultIID = IID_ISAXSERVICES };
61
68
virtual
bool16
ParseStream
(
IPMStream
*stream,
ISAXContentHandler
* defaultHandler,
69
ISAXEntityResolver
* entityResolver = nil,
70
ISAXDTDHandler
* dtdHandler = nil,
71
IXMLDTDTokenHandler* dtdTokenHandler = nil,
72
BaseProgressBar
*progressBar = nil) = 0;
73
79
virtual
ISAXContentHandler
*
GetDefaultContentHandler
()
const
= 0;
80
88
virtual
void
RegisterElementHandler
(
const
WideString
& uri,
const
WideString
& localName,
ISAXContentHandler
* handler) = 0;
89
96
virtual
ISAXContentHandler
*
QueryElementHandler
(
const
WideString
& uri,
const
WideString
& localName)
const
= 0;
97
105
virtual
void
RegisterAttributeHandler
(
const
WideString
& uri,
const
WideString
& localName,
ISAXContentHandler
* handler) = 0;
106
113
virtual
ISAXContentHandler
*
QueryAttributeHandler
(
const
WideString
& uri,
const
WideString
& localName)
const
= 0;
114
121
virtual
void
RegisterPIHandler
(
const
WideString
& targetName,
ISAXContentHandler
* handler) = 0;
122
128
virtual
ISAXContentHandler
*
QueryPIHandler
(
const
WideString
& targetName)
const
= 0;
129
136
virtual
IXMLParsingContext
*
QueryCurrentParsingContext
() = 0;
137
144
virtual
void
Push_Back
(
IXMLParsingContext
* parsingContext) = 0;
145
150
virtual
IXMLParsingContext
*
Pop_Back
() = 0;
151
157
virtual
IXMLParsingContext
*
Back
() = 0;
158
};
159
160
#endif // __ISAXServices_h__
tmpdoxygeninput
ISAXServices.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1