Commit d8f13932 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Add some of the XPS OM interfaces.

parent d3f57fab
...@@ -879,4 +879,6 @@ SOURCES = \ ...@@ -879,4 +879,6 @@ SOURCES = \
xmldso.idl \ xmldso.idl \
xmldsodid.h \ xmldsodid.h \
xmllite.idl \ xmllite.idl \
xpsobjectmodel.idl \
xpsobjectmodel_1.idl \
zmouse.h zmouse.h
/*
* Copyright 2021 Nikolay Sivov for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "xpsobjectmodel.idl";
typedef [v1_enum] enum
{
XPS_DOCUMENT_TYPE_UNSPECIFIED = 1,
XPS_DOCUMENT_TYPE_XPS,
XPS_DOCUMENT_TYPE_OPENXPS
} XPS_DOCUMENT_TYPE;
[
object,
local,
pointer_default(ref),
uuid(3b0b6d38-53ad-41da-b212-d37637a6714e),
]
interface IXpsDocumentPackageTarget : IUnknown
{
HRESULT GetXpsOMPackageWriter(
[in] IOpcPartUri *documentpart,
[in] IOpcPartUri *controlpart,
[out, retval] IXpsOMPackageWriter **writer
);
HRESULT GetXpsOMFactory(
[out, retval] IXpsOMObjectFactory **factory
);
HRESULT GetXpsType(
[out, retval] XPS_DOCUMENT_TYPE *document_type
);
}
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