Commit 78e0f23b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msxml3: Stub out some more getters and setters of IXMLDOMDocument.

parent ae1fde03
......@@ -166,6 +166,9 @@ typedef struct _domdoc
const struct IXMLDOMDocumentVtbl *lpVtbl;
LONG ref;
VARIANT_BOOL async;
VARIANT_BOOL validating;
VARIANT_BOOL resolving;
VARIANT_BOOL preserving;
IUnknown *node_unk;
IXMLDOMNode *node;
HRESULT error;
......@@ -1195,8 +1198,11 @@ static HRESULT WINAPI domdoc_get_validateOnParse(
IXMLDOMDocument *iface,
VARIANT_BOOL* isValidating )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%p <- %d\n", isValidating, This->validating);
*isValidating = This->validating;
return S_OK;
}
......@@ -1204,8 +1210,11 @@ static HRESULT WINAPI domdoc_put_validateOnParse(
IXMLDOMDocument *iface,
VARIANT_BOOL isValidating )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%d\n", isValidating);
This->validating = isValidating;
return S_OK;
}
......@@ -1213,17 +1222,23 @@ static HRESULT WINAPI domdoc_get_resolveExternals(
IXMLDOMDocument *iface,
VARIANT_BOOL* isResolving )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%p <- %d\n", isResolving, This->resolving);
*isResolving = This->resolving;
return S_OK;
}
static HRESULT WINAPI domdoc_put_resolveExternals(
IXMLDOMDocument *iface,
VARIANT_BOOL isValidating )
VARIANT_BOOL isResolving )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%d\n", isResolving);
This->resolving = isResolving;
return S_OK;
}
......@@ -1231,8 +1246,11 @@ static HRESULT WINAPI domdoc_get_preserveWhiteSpace(
IXMLDOMDocument *iface,
VARIANT_BOOL* isPreserving )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%p <- %d\n", isPreserving, This->preserving);
*isPreserving = This->preserving;
return S_OK;
}
......@@ -1240,8 +1258,11 @@ static HRESULT WINAPI domdoc_put_preserveWhiteSpace(
IXMLDOMDocument *iface,
VARIANT_BOOL isPreserving )
{
FIXME("\n");
return E_NOTIMPL;
domdoc *This = impl_from_IXMLDOMDocument( iface );
TRACE("%d\n", isPreserving);
This->preserving = isPreserving;
return S_OK;
}
......@@ -1365,6 +1386,9 @@ HRESULT DOMDocument_create(IUnknown *pUnkOuter, LPVOID *ppObj)
doc->lpVtbl = &domdoc_vtbl;
doc->ref = 1;
doc->async = 0;
doc->validating = 0;
doc->resolving = 0;
doc->preserving = 0;
doc->error = S_OK;
xmldoc = xmlNewDoc(NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment