Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6xslt.h
Go to the documentation of this file.
1 
10 #ifndef P6XSLT_H__
11 #define P6XSLT_H__ 1
12 
13 #include "p6err.h"
14 #include "p6datastream.h"
15 #include "p6xslttypes.h"
16 #include "p6xpathvariables.h"
17 
18 
19 #ifdef __cplusplus
20 namespace P6R {
21 extern "C" {
22 #endif
23 
31 #undef INTERFACE
32 #define INTERFACE p6IXSLT
34 {
52  P6DECLCOMMETHOD(initialize)(P6THIS_ P6XSLTFLAGS flags, p6IDataStream* pErrorResult ) P6PURE;
53 
67  P6DECLCOMMETHOD(setDefaultCollation)(P6THIS_ const P6CHAR* pCollate ) P6PURE;
68 
82  P6DECLCOMMETHOD(compileTemplates)(P6THIS_ const P6CHAR* pTemplates, p6IDataStream* pErrorResult ) P6PURE;
83 
119  P6DECLCOMMETHOD(startTransform)(P6THIS_ p6IDataStream* pTransformResult, const P6CHAR* pBuffer, P6UINT32 bufSize, P6BOOL isLast ) P6PURE;
120 
137  P6DECLCOMMETHOD(continueTransform)(P6THIS_ const P6CHAR* pBuffer, P6UINT32 bufSize, P6BOOL isLast ) P6PURE;
138 
165  P6DECLCOMMETHOD(transformWithDOM)(P6THIS_ p6IDataStream* pTransformResult, p6IDOMXML* pDOMTree ) P6PURE;
166 
196  P6DECLCOMMETHOD(setMessageOutput)(P6THIS_ p6IDataStream* pOutput ) P6PURE;
197 
219  P6DECLCOMMETHOD(setExternalFunctions)(P6THIS_ p6IXpathVariables* pConnector ) P6PURE;
220 
241  P6DECLCOMMETHOD(setRegexLimits)(P6THIS_ P6UINT32 maxBackStack, P6UINT32 maxBackTracks ) P6PURE;
242 
257  P6DECLCOMMETHOD(setFeature)(P6THIS_ const P6WCHAR* pString, P6BOOL result ) P6PURE;
258 };
259 
260 // {1E6903D8-6331-4168-9B08-C7D7358B689F}
261 #define IF_p6IXSLT {0x1e6903d8,0x6331,0x4168,{0x9b,0x8,0xc7,0xd7,0x35,0x8b,0x68,0x9f}}
262 
263 // {5E7C4359-2D8D-4411-B4A9-AAFCCBF30A6B}
264 #define COMP_p6XSLT {0x5e7c4359,0x2d8d,0x4411,{0xb4,0xa9,0xaa,0xfc,0xcb,0xf3,0xa,0x6b}}
265 
266 #ifdef __cplusplus
267 }
268 } // namespace
269 #endif
270 
271 
272 #endif
273 
274 
275 
276 
277 
278 
This file contains a set of common XSLT processor dependent types.
uint32_t P6UINT32
Definition: p6types.h:77
P6R's interface of the DOM parser.
Definition: p6domxml.h:102
#define P6PURE
Definition: p6defs.h:192
Standard error codes.
unsigned char P6BOOL
Boolean type.
Definition: p6types.h:133
p6IDataStream interface definitions
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:44
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
Interface to XSLT 2.0, in our implementation an XSLT template is compiled and then can be used over a...
Definition: p6xslt.h:33
This interface supports the extensibility of the XPath languague.
P6UINT32 P6XSLTFLAGS
P6XSLTFLAGS.
Definition: p6xslttypes.h:36
This interface is implemented by the application making use of the p6xpathexpression component...
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
char P6CHAR
Narrow character type.
Definition: p6types.h:105
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188