| 1 | /*** Autogenerated by WIDL 11.6 from include/xpsobjectmodel_1.idl - Do not edit ***/ |
| 2 | |
| 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| 6 | #endif |
| 7 | #include <rpc.h> |
| 8 | #include <rpcndr.h> |
| 9 | #endif |
| 10 | |
| 11 | #ifndef COM_NO_WINDOWS_H |
| 12 | #include <windows.h> |
| 13 | #include <ole2.h> |
| 14 | #endif |
| 15 | |
| 16 | #ifndef __xpsobjectmodel_1_h__ |
| 17 | #define __xpsobjectmodel_1_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __IXpsOMObjectFactory1_FWD_DEFINED__ |
| 22 | #define __IXpsOMObjectFactory1_FWD_DEFINED__ |
| 23 | typedef interface IXpsOMObjectFactory1 IXpsOMObjectFactory1; |
| 24 | #ifdef __cplusplus |
| 25 | interface IXpsOMObjectFactory1; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | #ifndef __IXpsOMPackage1_FWD_DEFINED__ |
| 30 | #define __IXpsOMPackage1_FWD_DEFINED__ |
| 31 | typedef interface IXpsOMPackage1 IXpsOMPackage1; |
| 32 | #ifdef __cplusplus |
| 33 | interface IXpsOMPackage1; |
| 34 | #endif /* __cplusplus */ |
| 35 | #endif |
| 36 | |
| 37 | #ifndef __IXpsOMPage1_FWD_DEFINED__ |
| 38 | #define __IXpsOMPage1_FWD_DEFINED__ |
| 39 | typedef interface IXpsOMPage1 IXpsOMPage1; |
| 40 | #ifdef __cplusplus |
| 41 | interface IXpsOMPage1; |
| 42 | #endif /* __cplusplus */ |
| 43 | #endif |
| 44 | |
| 45 | #ifndef __IXpsDocumentPackageTarget_FWD_DEFINED__ |
| 46 | #define __IXpsDocumentPackageTarget_FWD_DEFINED__ |
| 47 | typedef interface IXpsDocumentPackageTarget IXpsDocumentPackageTarget; |
| 48 | #ifdef __cplusplus |
| 49 | interface IXpsDocumentPackageTarget; |
| 50 | #endif /* __cplusplus */ |
| 51 | #endif |
| 52 | |
| 53 | #ifndef __IXpsOMRemoteDictionaryResource1_FWD_DEFINED__ |
| 54 | #define __IXpsOMRemoteDictionaryResource1_FWD_DEFINED__ |
| 55 | typedef interface IXpsOMRemoteDictionaryResource1 IXpsOMRemoteDictionaryResource1; |
| 56 | #ifdef __cplusplus |
| 57 | interface IXpsOMRemoteDictionaryResource1; |
| 58 | #endif /* __cplusplus */ |
| 59 | #endif |
| 60 | |
| 61 | /* Headers for imported files */ |
| 62 | |
| 63 | #include <oaidl.h> |
| 64 | #include <ocidl.h> |
| 65 | #include <xpsobjectmodel.h> |
| 66 | |
| 67 | #ifdef __cplusplus |
| 68 | extern "C" { |
| 69 | #endif |
| 70 | |
| 71 | #include <winapifamily.h> |
| 72 | |
| 73 | #if NTDDI_VERSION >= 0x06020000 |
| 74 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) |
| 75 | #define XPS_E_INVALID_NUMBER_OF_POINTS_IN_CURVE_SEGMENTS MAKE_HRESULT(1, FACILITY_XPS, 0x600) |
| 76 | #define XPS_E_ABSOLUTE_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x601) |
| 77 | #define XPS_E_INVALID_NUMBER_OF_COLOR_CHANNELS MAKE_HRESULT(1, FACILITY_XPS, 0x602) |
| 78 | |
| 79 | #ifndef __IXpsOMObjectFactory1_FWD_DEFINED__ |
| 80 | #define __IXpsOMObjectFactory1_FWD_DEFINED__ |
| 81 | typedef interface IXpsOMObjectFactory1 IXpsOMObjectFactory1; |
| 82 | #ifdef __cplusplus |
| 83 | interface IXpsOMObjectFactory1; |
| 84 | #endif /* __cplusplus */ |
| 85 | #endif |
| 86 | |
| 87 | #ifndef __IXpsOMPackage1_FWD_DEFINED__ |
| 88 | #define __IXpsOMPackage1_FWD_DEFINED__ |
| 89 | typedef interface IXpsOMPackage1 IXpsOMPackage1; |
| 90 | #ifdef __cplusplus |
| 91 | interface IXpsOMPackage1; |
| 92 | #endif /* __cplusplus */ |
| 93 | #endif |
| 94 | |
| 95 | #ifndef __IXpsOMPage1_FWD_DEFINED__ |
| 96 | #define __IXpsOMPage1_FWD_DEFINED__ |
| 97 | typedef interface IXpsOMPage1 IXpsOMPage1; |
| 98 | #ifdef __cplusplus |
| 99 | interface IXpsOMPage1; |
| 100 | #endif /* __cplusplus */ |
| 101 | #endif |
| 102 | |
| 103 | typedef enum __WIDL_xpsobjectmodel_1_generated_name_0000004A { |
| 104 | XPS_DOCUMENT_TYPE_UNSPECIFIED = 1, |
| 105 | XPS_DOCUMENT_TYPE_XPS = 2, |
| 106 | XPS_DOCUMENT_TYPE_OPENXPS = 3 |
| 107 | } XPS_DOCUMENT_TYPE; |
| 108 | /***************************************************************************** |
| 109 | * IXpsOMObjectFactory1 interface |
| 110 | */ |
| 111 | #ifndef __IXpsOMObjectFactory1_INTERFACE_DEFINED__ |
| 112 | #define __IXpsOMObjectFactory1_INTERFACE_DEFINED__ |
| 113 | |
| 114 | DEFINE_GUID(IID_IXpsOMObjectFactory1, 0x0a91b617, 0xd612, 0x4181, 0xbf,0x7c, 0xbe,0x58,0x24,0xe9,0xcc,0x8f); |
| 115 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 116 | MIDL_INTERFACE("0a91b617-d612-4181-bf7c-be5824e9cc8f") |
| 117 | IXpsOMObjectFactory1 : public IXpsOMObjectFactory |
| 118 | { |
| 119 | virtual HRESULT STDMETHODCALLTYPE GetDocumentTypeFromFile( |
| 120 | LPCWSTR filename, |
| 121 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 122 | |
| 123 | virtual HRESULT STDMETHODCALLTYPE GetDocumentTypeFromStream( |
| 124 | IStream *xpsDocumentStream, |
| 125 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 126 | |
| 127 | virtual HRESULT STDMETHODCALLTYPE ConvertHDPhotoToJpegXR( |
| 128 | IXpsOMImageResource *imageResource) = 0; |
| 129 | |
| 130 | virtual HRESULT STDMETHODCALLTYPE ConvertJpegXRToHDPhoto( |
| 131 | IXpsOMImageResource *imageResource) = 0; |
| 132 | |
| 133 | virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnFile1( |
| 134 | LPCWSTR fileName, |
| 135 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 136 | DWORD flagsAndAttributes, |
| 137 | WINBOOL optimizeMarkupSize, |
| 138 | XPS_INTERLEAVING interleaving, |
| 139 | IOpcPartUri *documentSequencePartName, |
| 140 | IXpsOMCoreProperties *coreProperties, |
| 141 | IXpsOMImageResource *packageThumbnail, |
| 142 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 143 | IOpcPartUri *discardControlPartName, |
| 144 | XPS_DOCUMENT_TYPE documentType, |
| 145 | IXpsOMPackageWriter **packageWriter) = 0; |
| 146 | |
| 147 | virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnStream1( |
| 148 | ISequentialStream *outputStream, |
| 149 | WINBOOL optimizeMarkupSize, |
| 150 | XPS_INTERLEAVING interleaving, |
| 151 | IOpcPartUri *documentSequencePartName, |
| 152 | IXpsOMCoreProperties *coreProperties, |
| 153 | IXpsOMImageResource *packageThumbnail, |
| 154 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 155 | IOpcPartUri *discardControlPartName, |
| 156 | XPS_DOCUMENT_TYPE documentType, |
| 157 | IXpsOMPackageWriter **packageWriter) = 0; |
| 158 | |
| 159 | virtual HRESULT STDMETHODCALLTYPE CreatePackage1( |
| 160 | IXpsOMPackage1 **package) = 0; |
| 161 | |
| 162 | virtual HRESULT STDMETHODCALLTYPE CreatePackageFromStream1( |
| 163 | IStream *stream, |
| 164 | WINBOOL reuseObjects, |
| 165 | IXpsOMPackage1 **package) = 0; |
| 166 | |
| 167 | virtual HRESULT STDMETHODCALLTYPE CreatePackageFromFile1( |
| 168 | LPCWSTR filename, |
| 169 | WINBOOL reuseObjects, |
| 170 | IXpsOMPackage1 **package) = 0; |
| 171 | |
| 172 | virtual HRESULT STDMETHODCALLTYPE CreatePage1( |
| 173 | const XPS_SIZE *pageDimensions, |
| 174 | LPCWSTR language, |
| 175 | IOpcPartUri *partUri, |
| 176 | IXpsOMPage1 **page) = 0; |
| 177 | |
| 178 | virtual HRESULT STDMETHODCALLTYPE CreatePageFromStream1( |
| 179 | IStream *pageMarkupStream, |
| 180 | IOpcPartUri *partUri, |
| 181 | IXpsOMPartResources *resources, |
| 182 | WINBOOL reuseObjects, |
| 183 | IXpsOMPage1 **page) = 0; |
| 184 | |
| 185 | virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResourceFromStream1( |
| 186 | IStream *dictionaryMarkupStream, |
| 187 | IOpcPartUri *partUri, |
| 188 | IXpsOMPartResources *resources, |
| 189 | IXpsOMRemoteDictionaryResource **dictionaryResource) = 0; |
| 190 | |
| 191 | }; |
| 192 | #ifdef __CRT_UUID_DECL |
| 193 | __CRT_UUID_DECL(IXpsOMObjectFactory1, 0x0a91b617, 0xd612, 0x4181, 0xbf,0x7c, 0xbe,0x58,0x24,0xe9,0xcc,0x8f) |
| 194 | #endif |
| 195 | #else |
| 196 | typedef struct IXpsOMObjectFactory1Vtbl { |
| 197 | BEGIN_INTERFACE |
| 198 | |
| 199 | /*** IUnknown methods ***/ |
| 200 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 201 | IXpsOMObjectFactory1 *This, |
| 202 | REFIID riid, |
| 203 | void **ppvObject); |
| 204 | |
| 205 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 206 | IXpsOMObjectFactory1 *This); |
| 207 | |
| 208 | ULONG (STDMETHODCALLTYPE *Release)( |
| 209 | IXpsOMObjectFactory1 *This); |
| 210 | |
| 211 | /*** IXpsOMObjectFactory methods ***/ |
| 212 | HRESULT (STDMETHODCALLTYPE *CreatePackage)( |
| 213 | IXpsOMObjectFactory1 *This, |
| 214 | IXpsOMPackage **package); |
| 215 | |
| 216 | HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile)( |
| 217 | IXpsOMObjectFactory1 *This, |
| 218 | LPCWSTR filename, |
| 219 | WINBOOL reuseObjects, |
| 220 | IXpsOMPackage **package); |
| 221 | |
| 222 | HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream)( |
| 223 | IXpsOMObjectFactory1 *This, |
| 224 | IStream *stream, |
| 225 | WINBOOL reuseObjects, |
| 226 | IXpsOMPackage **package); |
| 227 | |
| 228 | HRESULT (STDMETHODCALLTYPE *CreateStoryFragmentsResource)( |
| 229 | IXpsOMObjectFactory1 *This, |
| 230 | IStream *acquiredStream, |
| 231 | IOpcPartUri *partUri, |
| 232 | IXpsOMStoryFragmentsResource **storyFragmentsResource); |
| 233 | |
| 234 | HRESULT (STDMETHODCALLTYPE *CreateDocumentStructureResource)( |
| 235 | IXpsOMObjectFactory1 *This, |
| 236 | IStream *acquiredStream, |
| 237 | IOpcPartUri *partUri, |
| 238 | IXpsOMDocumentStructureResource **documentStructureResource); |
| 239 | |
| 240 | HRESULT (STDMETHODCALLTYPE *CreateSignatureBlockResource)( |
| 241 | IXpsOMObjectFactory1 *This, |
| 242 | IStream *acquiredStream, |
| 243 | IOpcPartUri *partUri, |
| 244 | IXpsOMSignatureBlockResource **signatureBlockResource); |
| 245 | |
| 246 | HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResource)( |
| 247 | IXpsOMObjectFactory1 *This, |
| 248 | IXpsOMDictionary *dictionary, |
| 249 | IOpcPartUri *partUri, |
| 250 | IXpsOMRemoteDictionaryResource **remoteDictionaryResource); |
| 251 | |
| 252 | HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream)( |
| 253 | IXpsOMObjectFactory1 *This, |
| 254 | IStream *dictionaryMarkupStream, |
| 255 | IOpcPartUri *dictionaryPartUri, |
| 256 | IXpsOMPartResources *resources, |
| 257 | IXpsOMRemoteDictionaryResource **dictionaryResource); |
| 258 | |
| 259 | HRESULT (STDMETHODCALLTYPE *CreatePartResources)( |
| 260 | IXpsOMObjectFactory1 *This, |
| 261 | IXpsOMPartResources **partResources); |
| 262 | |
| 263 | HRESULT (STDMETHODCALLTYPE *CreateDocumentSequence)( |
| 264 | IXpsOMObjectFactory1 *This, |
| 265 | IOpcPartUri *partUri, |
| 266 | IXpsOMDocumentSequence **documentSequence); |
| 267 | |
| 268 | HRESULT (STDMETHODCALLTYPE *CreateDocument)( |
| 269 | IXpsOMObjectFactory1 *This, |
| 270 | IOpcPartUri *partUri, |
| 271 | IXpsOMDocument **document); |
| 272 | |
| 273 | HRESULT (STDMETHODCALLTYPE *CreatePageReference)( |
| 274 | IXpsOMObjectFactory1 *This, |
| 275 | const XPS_SIZE *advisoryPageDimensions, |
| 276 | IXpsOMPageReference **pageReference); |
| 277 | |
| 278 | HRESULT (STDMETHODCALLTYPE *CreatePage)( |
| 279 | IXpsOMObjectFactory1 *This, |
| 280 | const XPS_SIZE *pageDimensions, |
| 281 | LPCWSTR language, |
| 282 | IOpcPartUri *partUri, |
| 283 | IXpsOMPage **page); |
| 284 | |
| 285 | HRESULT (STDMETHODCALLTYPE *CreatePageFromStream)( |
| 286 | IXpsOMObjectFactory1 *This, |
| 287 | IStream *pageMarkupStream, |
| 288 | IOpcPartUri *partUri, |
| 289 | IXpsOMPartResources *resources, |
| 290 | WINBOOL reuseObjects, |
| 291 | IXpsOMPage **page); |
| 292 | |
| 293 | HRESULT (STDMETHODCALLTYPE *CreateCanvas)( |
| 294 | IXpsOMObjectFactory1 *This, |
| 295 | IXpsOMCanvas **canvas); |
| 296 | |
| 297 | HRESULT (STDMETHODCALLTYPE *CreateGlyphs)( |
| 298 | IXpsOMObjectFactory1 *This, |
| 299 | IXpsOMFontResource *fontResource, |
| 300 | IXpsOMGlyphs **glyphs); |
| 301 | |
| 302 | HRESULT (STDMETHODCALLTYPE *CreatePath)( |
| 303 | IXpsOMObjectFactory1 *This, |
| 304 | IXpsOMPath **path); |
| 305 | |
| 306 | HRESULT (STDMETHODCALLTYPE *CreateGeometry)( |
| 307 | IXpsOMObjectFactory1 *This, |
| 308 | IXpsOMGeometry **geometry); |
| 309 | |
| 310 | HRESULT (STDMETHODCALLTYPE *CreateGeometryFigure)( |
| 311 | IXpsOMObjectFactory1 *This, |
| 312 | const XPS_POINT *startPoint, |
| 313 | IXpsOMGeometryFigure **figure); |
| 314 | |
| 315 | HRESULT (STDMETHODCALLTYPE *CreateMatrixTransform)( |
| 316 | IXpsOMObjectFactory1 *This, |
| 317 | const XPS_MATRIX *matrix, |
| 318 | IXpsOMMatrixTransform **transform); |
| 319 | |
| 320 | HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)( |
| 321 | IXpsOMObjectFactory1 *This, |
| 322 | const XPS_COLOR *color, |
| 323 | IXpsOMColorProfileResource *colorProfile, |
| 324 | IXpsOMSolidColorBrush **solidColorBrush); |
| 325 | |
| 326 | HRESULT (STDMETHODCALLTYPE *CreateColorProfileResource)( |
| 327 | IXpsOMObjectFactory1 *This, |
| 328 | IStream *acquiredStream, |
| 329 | IOpcPartUri *partUri, |
| 330 | IXpsOMColorProfileResource **colorProfileResource); |
| 331 | |
| 332 | HRESULT (STDMETHODCALLTYPE *CreateImageBrush)( |
| 333 | IXpsOMObjectFactory1 *This, |
| 334 | IXpsOMImageResource *image, |
| 335 | const XPS_RECT *viewBox, |
| 336 | const XPS_RECT *viewPort, |
| 337 | IXpsOMImageBrush **imageBrush); |
| 338 | |
| 339 | HRESULT (STDMETHODCALLTYPE *CreateVisualBrush)( |
| 340 | IXpsOMObjectFactory1 *This, |
| 341 | const XPS_RECT *viewBox, |
| 342 | const XPS_RECT *viewPort, |
| 343 | IXpsOMVisualBrush **visualBrush); |
| 344 | |
| 345 | HRESULT (STDMETHODCALLTYPE *CreateImageResource)( |
| 346 | IXpsOMObjectFactory1 *This, |
| 347 | IStream *acquiredStream, |
| 348 | XPS_IMAGE_TYPE contentType, |
| 349 | IOpcPartUri *partUri, |
| 350 | IXpsOMImageResource **imageResource); |
| 351 | |
| 352 | HRESULT (STDMETHODCALLTYPE *CreatePrintTicketResource)( |
| 353 | IXpsOMObjectFactory1 *This, |
| 354 | IStream *acquiredStream, |
| 355 | IOpcPartUri *partUri, |
| 356 | IXpsOMPrintTicketResource **printTicketResource); |
| 357 | |
| 358 | HRESULT (STDMETHODCALLTYPE *CreateFontResource)( |
| 359 | IXpsOMObjectFactory1 *This, |
| 360 | IStream *acquiredStream, |
| 361 | XPS_FONT_EMBEDDING fontEmbedding, |
| 362 | IOpcPartUri *partUri, |
| 363 | WINBOOL isObfSourceStream, |
| 364 | IXpsOMFontResource **fontResource); |
| 365 | |
| 366 | HRESULT (STDMETHODCALLTYPE *CreateGradientStop)( |
| 367 | IXpsOMObjectFactory1 *This, |
| 368 | const XPS_COLOR *color, |
| 369 | IXpsOMColorProfileResource *colorProfile, |
| 370 | FLOAT offset, |
| 371 | IXpsOMGradientStop **gradientStop); |
| 372 | |
| 373 | HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)( |
| 374 | IXpsOMObjectFactory1 *This, |
| 375 | IXpsOMGradientStop *gradStop1, |
| 376 | IXpsOMGradientStop *gradStop2, |
| 377 | const XPS_POINT *startPoint, |
| 378 | const XPS_POINT *endPoint, |
| 379 | IXpsOMLinearGradientBrush **linearGradientBrush); |
| 380 | |
| 381 | HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)( |
| 382 | IXpsOMObjectFactory1 *This, |
| 383 | IXpsOMGradientStop *gradStop1, |
| 384 | IXpsOMGradientStop *gradStop2, |
| 385 | const XPS_POINT *centerPoint, |
| 386 | const XPS_POINT *gradientOrigin, |
| 387 | const XPS_SIZE *radiiSizes, |
| 388 | IXpsOMRadialGradientBrush **radialGradientBrush); |
| 389 | |
| 390 | HRESULT (STDMETHODCALLTYPE *CreateCoreProperties)( |
| 391 | IXpsOMObjectFactory1 *This, |
| 392 | IOpcPartUri *partUri, |
| 393 | IXpsOMCoreProperties **coreProperties); |
| 394 | |
| 395 | HRESULT (STDMETHODCALLTYPE *CreateDictionary)( |
| 396 | IXpsOMObjectFactory1 *This, |
| 397 | IXpsOMDictionary **dictionary); |
| 398 | |
| 399 | HRESULT (STDMETHODCALLTYPE *CreatePartUriCollection)( |
| 400 | IXpsOMObjectFactory1 *This, |
| 401 | IXpsOMPartUriCollection **partUriCollection); |
| 402 | |
| 403 | HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile)( |
| 404 | IXpsOMObjectFactory1 *This, |
| 405 | LPCWSTR fileName, |
| 406 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 407 | DWORD flagsAndAttributes, |
| 408 | WINBOOL optimizeMarkupSize, |
| 409 | XPS_INTERLEAVING interleaving, |
| 410 | IOpcPartUri *documentSequencePartName, |
| 411 | IXpsOMCoreProperties *coreProperties, |
| 412 | IXpsOMImageResource *packageThumbnail, |
| 413 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 414 | IOpcPartUri *discardControlPartName, |
| 415 | IXpsOMPackageWriter **packageWriter); |
| 416 | |
| 417 | HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream)( |
| 418 | IXpsOMObjectFactory1 *This, |
| 419 | ISequentialStream *outputStream, |
| 420 | WINBOOL optimizeMarkupSize, |
| 421 | XPS_INTERLEAVING interleaving, |
| 422 | IOpcPartUri *documentSequencePartName, |
| 423 | IXpsOMCoreProperties *coreProperties, |
| 424 | IXpsOMImageResource *packageThumbnail, |
| 425 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 426 | IOpcPartUri *discardControlPartName, |
| 427 | IXpsOMPackageWriter **packageWriter); |
| 428 | |
| 429 | HRESULT (STDMETHODCALLTYPE *CreatePartUri)( |
| 430 | IXpsOMObjectFactory1 *This, |
| 431 | LPCWSTR uri, |
| 432 | IOpcPartUri **partUri); |
| 433 | |
| 434 | HRESULT (STDMETHODCALLTYPE *CreateReadOnlyStreamOnFile)( |
| 435 | IXpsOMObjectFactory1 *This, |
| 436 | LPCWSTR filename, |
| 437 | IStream **stream); |
| 438 | |
| 439 | /*** IXpsOMObjectFactory1 methods ***/ |
| 440 | HRESULT (STDMETHODCALLTYPE *GetDocumentTypeFromFile)( |
| 441 | IXpsOMObjectFactory1 *This, |
| 442 | LPCWSTR filename, |
| 443 | XPS_DOCUMENT_TYPE *documentType); |
| 444 | |
| 445 | HRESULT (STDMETHODCALLTYPE *GetDocumentTypeFromStream)( |
| 446 | IXpsOMObjectFactory1 *This, |
| 447 | IStream *xpsDocumentStream, |
| 448 | XPS_DOCUMENT_TYPE *documentType); |
| 449 | |
| 450 | HRESULT (STDMETHODCALLTYPE *ConvertHDPhotoToJpegXR)( |
| 451 | IXpsOMObjectFactory1 *This, |
| 452 | IXpsOMImageResource *imageResource); |
| 453 | |
| 454 | HRESULT (STDMETHODCALLTYPE *ConvertJpegXRToHDPhoto)( |
| 455 | IXpsOMObjectFactory1 *This, |
| 456 | IXpsOMImageResource *imageResource); |
| 457 | |
| 458 | HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile1)( |
| 459 | IXpsOMObjectFactory1 *This, |
| 460 | LPCWSTR fileName, |
| 461 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 462 | DWORD flagsAndAttributes, |
| 463 | WINBOOL optimizeMarkupSize, |
| 464 | XPS_INTERLEAVING interleaving, |
| 465 | IOpcPartUri *documentSequencePartName, |
| 466 | IXpsOMCoreProperties *coreProperties, |
| 467 | IXpsOMImageResource *packageThumbnail, |
| 468 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 469 | IOpcPartUri *discardControlPartName, |
| 470 | XPS_DOCUMENT_TYPE documentType, |
| 471 | IXpsOMPackageWriter **packageWriter); |
| 472 | |
| 473 | HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream1)( |
| 474 | IXpsOMObjectFactory1 *This, |
| 475 | ISequentialStream *outputStream, |
| 476 | WINBOOL optimizeMarkupSize, |
| 477 | XPS_INTERLEAVING interleaving, |
| 478 | IOpcPartUri *documentSequencePartName, |
| 479 | IXpsOMCoreProperties *coreProperties, |
| 480 | IXpsOMImageResource *packageThumbnail, |
| 481 | IXpsOMPrintTicketResource *documentSequencePrintTicket, |
| 482 | IOpcPartUri *discardControlPartName, |
| 483 | XPS_DOCUMENT_TYPE documentType, |
| 484 | IXpsOMPackageWriter **packageWriter); |
| 485 | |
| 486 | HRESULT (STDMETHODCALLTYPE *CreatePackage1)( |
| 487 | IXpsOMObjectFactory1 *This, |
| 488 | IXpsOMPackage1 **package); |
| 489 | |
| 490 | HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream1)( |
| 491 | IXpsOMObjectFactory1 *This, |
| 492 | IStream *stream, |
| 493 | WINBOOL reuseObjects, |
| 494 | IXpsOMPackage1 **package); |
| 495 | |
| 496 | HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile1)( |
| 497 | IXpsOMObjectFactory1 *This, |
| 498 | LPCWSTR filename, |
| 499 | WINBOOL reuseObjects, |
| 500 | IXpsOMPackage1 **package); |
| 501 | |
| 502 | HRESULT (STDMETHODCALLTYPE *CreatePage1)( |
| 503 | IXpsOMObjectFactory1 *This, |
| 504 | const XPS_SIZE *pageDimensions, |
| 505 | LPCWSTR language, |
| 506 | IOpcPartUri *partUri, |
| 507 | IXpsOMPage1 **page); |
| 508 | |
| 509 | HRESULT (STDMETHODCALLTYPE *CreatePageFromStream1)( |
| 510 | IXpsOMObjectFactory1 *This, |
| 511 | IStream *pageMarkupStream, |
| 512 | IOpcPartUri *partUri, |
| 513 | IXpsOMPartResources *resources, |
| 514 | WINBOOL reuseObjects, |
| 515 | IXpsOMPage1 **page); |
| 516 | |
| 517 | HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream1)( |
| 518 | IXpsOMObjectFactory1 *This, |
| 519 | IStream *dictionaryMarkupStream, |
| 520 | IOpcPartUri *partUri, |
| 521 | IXpsOMPartResources *resources, |
| 522 | IXpsOMRemoteDictionaryResource **dictionaryResource); |
| 523 | |
| 524 | END_INTERFACE |
| 525 | } IXpsOMObjectFactory1Vtbl; |
| 526 | |
| 527 | interface IXpsOMObjectFactory1 { |
| 528 | CONST_VTBL IXpsOMObjectFactory1Vtbl* lpVtbl; |
| 529 | }; |
| 530 | |
| 531 | #ifdef COBJMACROS |
| 532 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 533 | /*** IUnknown methods ***/ |
| 534 | #define IXpsOMObjectFactory1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 535 | #define IXpsOMObjectFactory1_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 536 | #define IXpsOMObjectFactory1_Release(This) (This)->lpVtbl->Release(This) |
| 537 | /*** IXpsOMObjectFactory methods ***/ |
| 538 | #define IXpsOMObjectFactory1_CreatePackage(This,package) (This)->lpVtbl->CreatePackage(This,package) |
| 539 | #define IXpsOMObjectFactory1_CreatePackageFromFile(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package) |
| 540 | #define IXpsOMObjectFactory1_CreatePackageFromStream(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package) |
| 541 | #define IXpsOMObjectFactory1_CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) (This)->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) |
| 542 | #define IXpsOMObjectFactory1_CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) (This)->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) |
| 543 | #define IXpsOMObjectFactory1_CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) (This)->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) |
| 544 | #define IXpsOMObjectFactory1_CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) |
| 545 | #define IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) |
| 546 | #define IXpsOMObjectFactory1_CreatePartResources(This,partResources) (This)->lpVtbl->CreatePartResources(This,partResources) |
| 547 | #define IXpsOMObjectFactory1_CreateDocumentSequence(This,partUri,documentSequence) (This)->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence) |
| 548 | #define IXpsOMObjectFactory1_CreateDocument(This,partUri,document) (This)->lpVtbl->CreateDocument(This,partUri,document) |
| 549 | #define IXpsOMObjectFactory1_CreatePageReference(This,advisoryPageDimensions,pageReference) (This)->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference) |
| 550 | #define IXpsOMObjectFactory1_CreatePage(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page) |
| 551 | #define IXpsOMObjectFactory1_CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) |
| 552 | #define IXpsOMObjectFactory1_CreateCanvas(This,canvas) (This)->lpVtbl->CreateCanvas(This,canvas) |
| 553 | #define IXpsOMObjectFactory1_CreateGlyphs(This,fontResource,glyphs) (This)->lpVtbl->CreateGlyphs(This,fontResource,glyphs) |
| 554 | #define IXpsOMObjectFactory1_CreatePath(This,path) (This)->lpVtbl->CreatePath(This,path) |
| 555 | #define IXpsOMObjectFactory1_CreateGeometry(This,geometry) (This)->lpVtbl->CreateGeometry(This,geometry) |
| 556 | #define IXpsOMObjectFactory1_CreateGeometryFigure(This,startPoint,figure) (This)->lpVtbl->CreateGeometryFigure(This,startPoint,figure) |
| 557 | #define IXpsOMObjectFactory1_CreateMatrixTransform(This,matrix,transform) (This)->lpVtbl->CreateMatrixTransform(This,matrix,transform) |
| 558 | #define IXpsOMObjectFactory1_CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) (This)->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) |
| 559 | #define IXpsOMObjectFactory1_CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) (This)->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) |
| 560 | #define IXpsOMObjectFactory1_CreateImageBrush(This,image,viewBox,viewPort,imageBrush) (This)->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush) |
| 561 | #define IXpsOMObjectFactory1_CreateVisualBrush(This,viewBox,viewPort,visualBrush) (This)->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush) |
| 562 | #define IXpsOMObjectFactory1_CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) (This)->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) |
| 563 | #define IXpsOMObjectFactory1_CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) (This)->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) |
| 564 | #define IXpsOMObjectFactory1_CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) (This)->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) |
| 565 | #define IXpsOMObjectFactory1_CreateGradientStop(This,color,colorProfile,offset,gradientStop) (This)->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop) |
| 566 | #define IXpsOMObjectFactory1_CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) |
| 567 | #define IXpsOMObjectFactory1_CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) |
| 568 | #define IXpsOMObjectFactory1_CreateCoreProperties(This,partUri,coreProperties) (This)->lpVtbl->CreateCoreProperties(This,partUri,coreProperties) |
| 569 | #define IXpsOMObjectFactory1_CreateDictionary(This,dictionary) (This)->lpVtbl->CreateDictionary(This,dictionary) |
| 570 | #define IXpsOMObjectFactory1_CreatePartUriCollection(This,partUriCollection) (This)->lpVtbl->CreatePartUriCollection(This,partUriCollection) |
| 571 | #define IXpsOMObjectFactory1_CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) |
| 572 | #define IXpsOMObjectFactory1_CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) |
| 573 | #define IXpsOMObjectFactory1_CreatePartUri(This,uri,partUri) (This)->lpVtbl->CreatePartUri(This,uri,partUri) |
| 574 | #define IXpsOMObjectFactory1_CreateReadOnlyStreamOnFile(This,filename,stream) (This)->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream) |
| 575 | /*** IXpsOMObjectFactory1 methods ***/ |
| 576 | #define IXpsOMObjectFactory1_GetDocumentTypeFromFile(This,filename,documentType) (This)->lpVtbl->GetDocumentTypeFromFile(This,filename,documentType) |
| 577 | #define IXpsOMObjectFactory1_GetDocumentTypeFromStream(This,xpsDocumentStream,documentType) (This)->lpVtbl->GetDocumentTypeFromStream(This,xpsDocumentStream,documentType) |
| 578 | #define IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR(This,imageResource) (This)->lpVtbl->ConvertHDPhotoToJpegXR(This,imageResource) |
| 579 | #define IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto(This,imageResource) (This)->lpVtbl->ConvertJpegXRToHDPhoto(This,imageResource) |
| 580 | #define IXpsOMObjectFactory1_CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) (This)->lpVtbl->CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) |
| 581 | #define IXpsOMObjectFactory1_CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter) |
| 582 | #define IXpsOMObjectFactory1_CreatePackage1(This,package) (This)->lpVtbl->CreatePackage1(This,package) |
| 583 | #define IXpsOMObjectFactory1_CreatePackageFromStream1(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream1(This,stream,reuseObjects,package) |
| 584 | #define IXpsOMObjectFactory1_CreatePackageFromFile1(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile1(This,filename,reuseObjects,package) |
| 585 | #define IXpsOMObjectFactory1_CreatePage1(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage1(This,pageDimensions,language,partUri,page) |
| 586 | #define IXpsOMObjectFactory1_CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page) |
| 587 | #define IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource) |
| 588 | #else |
| 589 | /*** IUnknown methods ***/ |
| 590 | static inline HRESULT IXpsOMObjectFactory1_QueryInterface(IXpsOMObjectFactory1* This,REFIID riid,void **ppvObject) { |
| 591 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 592 | } |
| 593 | static inline ULONG IXpsOMObjectFactory1_AddRef(IXpsOMObjectFactory1* This) { |
| 594 | return This->lpVtbl->AddRef(This); |
| 595 | } |
| 596 | static inline ULONG IXpsOMObjectFactory1_Release(IXpsOMObjectFactory1* This) { |
| 597 | return This->lpVtbl->Release(This); |
| 598 | } |
| 599 | /*** IXpsOMObjectFactory methods ***/ |
| 600 | static inline HRESULT IXpsOMObjectFactory1_CreatePackage(IXpsOMObjectFactory1* This,IXpsOMPackage **package) { |
| 601 | return This->lpVtbl->CreatePackage(This,package); |
| 602 | } |
| 603 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageFromFile(IXpsOMObjectFactory1* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage **package) { |
| 604 | return This->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package); |
| 605 | } |
| 606 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageFromStream(IXpsOMObjectFactory1* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage **package) { |
| 607 | return This->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package); |
| 608 | } |
| 609 | static inline HRESULT IXpsOMObjectFactory1_CreateStoryFragmentsResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMStoryFragmentsResource **storyFragmentsResource) { |
| 610 | return This->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource); |
| 611 | } |
| 612 | static inline HRESULT IXpsOMObjectFactory1_CreateDocumentStructureResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMDocumentStructureResource **documentStructureResource) { |
| 613 | return This->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource); |
| 614 | } |
| 615 | static inline HRESULT IXpsOMObjectFactory1_CreateSignatureBlockResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMSignatureBlockResource **signatureBlockResource) { |
| 616 | return This->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource); |
| 617 | } |
| 618 | static inline HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResource(IXpsOMObjectFactory1* This,IXpsOMDictionary *dictionary,IOpcPartUri *partUri,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) { |
| 619 | return This->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource); |
| 620 | } |
| 621 | static inline HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream(IXpsOMObjectFactory1* This,IStream *dictionaryMarkupStream,IOpcPartUri *dictionaryPartUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) { |
| 622 | return This->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource); |
| 623 | } |
| 624 | static inline HRESULT IXpsOMObjectFactory1_CreatePartResources(IXpsOMObjectFactory1* This,IXpsOMPartResources **partResources) { |
| 625 | return This->lpVtbl->CreatePartResources(This,partResources); |
| 626 | } |
| 627 | static inline HRESULT IXpsOMObjectFactory1_CreateDocumentSequence(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMDocumentSequence **documentSequence) { |
| 628 | return This->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence); |
| 629 | } |
| 630 | static inline HRESULT IXpsOMObjectFactory1_CreateDocument(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMDocument **document) { |
| 631 | return This->lpVtbl->CreateDocument(This,partUri,document); |
| 632 | } |
| 633 | static inline HRESULT IXpsOMObjectFactory1_CreatePageReference(IXpsOMObjectFactory1* This,const XPS_SIZE *advisoryPageDimensions,IXpsOMPageReference **pageReference) { |
| 634 | return This->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference); |
| 635 | } |
| 636 | static inline HRESULT IXpsOMObjectFactory1_CreatePage(IXpsOMObjectFactory1* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage **page) { |
| 637 | return This->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page); |
| 638 | } |
| 639 | static inline HRESULT IXpsOMObjectFactory1_CreatePageFromStream(IXpsOMObjectFactory1* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage **page) { |
| 640 | return This->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page); |
| 641 | } |
| 642 | static inline HRESULT IXpsOMObjectFactory1_CreateCanvas(IXpsOMObjectFactory1* This,IXpsOMCanvas **canvas) { |
| 643 | return This->lpVtbl->CreateCanvas(This,canvas); |
| 644 | } |
| 645 | static inline HRESULT IXpsOMObjectFactory1_CreateGlyphs(IXpsOMObjectFactory1* This,IXpsOMFontResource *fontResource,IXpsOMGlyphs **glyphs) { |
| 646 | return This->lpVtbl->CreateGlyphs(This,fontResource,glyphs); |
| 647 | } |
| 648 | static inline HRESULT IXpsOMObjectFactory1_CreatePath(IXpsOMObjectFactory1* This,IXpsOMPath **path) { |
| 649 | return This->lpVtbl->CreatePath(This,path); |
| 650 | } |
| 651 | static inline HRESULT IXpsOMObjectFactory1_CreateGeometry(IXpsOMObjectFactory1* This,IXpsOMGeometry **geometry) { |
| 652 | return This->lpVtbl->CreateGeometry(This,geometry); |
| 653 | } |
| 654 | static inline HRESULT IXpsOMObjectFactory1_CreateGeometryFigure(IXpsOMObjectFactory1* This,const XPS_POINT *startPoint,IXpsOMGeometryFigure **figure) { |
| 655 | return This->lpVtbl->CreateGeometryFigure(This,startPoint,figure); |
| 656 | } |
| 657 | static inline HRESULT IXpsOMObjectFactory1_CreateMatrixTransform(IXpsOMObjectFactory1* This,const XPS_MATRIX *matrix,IXpsOMMatrixTransform **transform) { |
| 658 | return This->lpVtbl->CreateMatrixTransform(This,matrix,transform); |
| 659 | } |
| 660 | static inline HRESULT IXpsOMObjectFactory1_CreateSolidColorBrush(IXpsOMObjectFactory1* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,IXpsOMSolidColorBrush **solidColorBrush) { |
| 661 | return This->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush); |
| 662 | } |
| 663 | static inline HRESULT IXpsOMObjectFactory1_CreateColorProfileResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMColorProfileResource **colorProfileResource) { |
| 664 | return This->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource); |
| 665 | } |
| 666 | static inline HRESULT IXpsOMObjectFactory1_CreateImageBrush(IXpsOMObjectFactory1* This,IXpsOMImageResource *image,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMImageBrush **imageBrush) { |
| 667 | return This->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush); |
| 668 | } |
| 669 | static inline HRESULT IXpsOMObjectFactory1_CreateVisualBrush(IXpsOMObjectFactory1* This,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMVisualBrush **visualBrush) { |
| 670 | return This->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush); |
| 671 | } |
| 672 | static inline HRESULT IXpsOMObjectFactory1_CreateImageResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,XPS_IMAGE_TYPE contentType,IOpcPartUri *partUri,IXpsOMImageResource **imageResource) { |
| 673 | return This->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource); |
| 674 | } |
| 675 | static inline HRESULT IXpsOMObjectFactory1_CreatePrintTicketResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMPrintTicketResource **printTicketResource) { |
| 676 | return This->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource); |
| 677 | } |
| 678 | static inline HRESULT IXpsOMObjectFactory1_CreateFontResource(IXpsOMObjectFactory1* This,IStream *acquiredStream,XPS_FONT_EMBEDDING fontEmbedding,IOpcPartUri *partUri,WINBOOL isObfSourceStream,IXpsOMFontResource **fontResource) { |
| 679 | return This->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource); |
| 680 | } |
| 681 | static inline HRESULT IXpsOMObjectFactory1_CreateGradientStop(IXpsOMObjectFactory1* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,FLOAT offset,IXpsOMGradientStop **gradientStop) { |
| 682 | return This->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop); |
| 683 | } |
| 684 | static inline HRESULT IXpsOMObjectFactory1_CreateLinearGradientBrush(IXpsOMObjectFactory1* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *startPoint,const XPS_POINT *endPoint,IXpsOMLinearGradientBrush **linearGradientBrush) { |
| 685 | return This->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush); |
| 686 | } |
| 687 | static inline HRESULT IXpsOMObjectFactory1_CreateRadialGradientBrush(IXpsOMObjectFactory1* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *centerPoint,const XPS_POINT *gradientOrigin,const XPS_SIZE *radiiSizes,IXpsOMRadialGradientBrush **radialGradientBrush) { |
| 688 | return This->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush); |
| 689 | } |
| 690 | static inline HRESULT IXpsOMObjectFactory1_CreateCoreProperties(IXpsOMObjectFactory1* This,IOpcPartUri *partUri,IXpsOMCoreProperties **coreProperties) { |
| 691 | return This->lpVtbl->CreateCoreProperties(This,partUri,coreProperties); |
| 692 | } |
| 693 | static inline HRESULT IXpsOMObjectFactory1_CreateDictionary(IXpsOMObjectFactory1* This,IXpsOMDictionary **dictionary) { |
| 694 | return This->lpVtbl->CreateDictionary(This,dictionary); |
| 695 | } |
| 696 | static inline HRESULT IXpsOMObjectFactory1_CreatePartUriCollection(IXpsOMObjectFactory1* This,IXpsOMPartUriCollection **partUriCollection) { |
| 697 | return This->lpVtbl->CreatePartUriCollection(This,partUriCollection); |
| 698 | } |
| 699 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnFile(IXpsOMObjectFactory1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) { |
| 700 | return This->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter); |
| 701 | } |
| 702 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnStream(IXpsOMObjectFactory1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) { |
| 703 | return This->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter); |
| 704 | } |
| 705 | static inline HRESULT IXpsOMObjectFactory1_CreatePartUri(IXpsOMObjectFactory1* This,LPCWSTR uri,IOpcPartUri **partUri) { |
| 706 | return This->lpVtbl->CreatePartUri(This,uri,partUri); |
| 707 | } |
| 708 | static inline HRESULT IXpsOMObjectFactory1_CreateReadOnlyStreamOnFile(IXpsOMObjectFactory1* This,LPCWSTR filename,IStream **stream) { |
| 709 | return This->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream); |
| 710 | } |
| 711 | /*** IXpsOMObjectFactory1 methods ***/ |
| 712 | static inline HRESULT IXpsOMObjectFactory1_GetDocumentTypeFromFile(IXpsOMObjectFactory1* This,LPCWSTR filename,XPS_DOCUMENT_TYPE *documentType) { |
| 713 | return This->lpVtbl->GetDocumentTypeFromFile(This,filename,documentType); |
| 714 | } |
| 715 | static inline HRESULT IXpsOMObjectFactory1_GetDocumentTypeFromStream(IXpsOMObjectFactory1* This,IStream *xpsDocumentStream,XPS_DOCUMENT_TYPE *documentType) { |
| 716 | return This->lpVtbl->GetDocumentTypeFromStream(This,xpsDocumentStream,documentType); |
| 717 | } |
| 718 | static inline HRESULT IXpsOMObjectFactory1_ConvertHDPhotoToJpegXR(IXpsOMObjectFactory1* This,IXpsOMImageResource *imageResource) { |
| 719 | return This->lpVtbl->ConvertHDPhotoToJpegXR(This,imageResource); |
| 720 | } |
| 721 | static inline HRESULT IXpsOMObjectFactory1_ConvertJpegXRToHDPhoto(IXpsOMObjectFactory1* This,IXpsOMImageResource *imageResource) { |
| 722 | return This->lpVtbl->ConvertJpegXRToHDPhoto(This,imageResource); |
| 723 | } |
| 724 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnFile1(IXpsOMObjectFactory1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,XPS_DOCUMENT_TYPE documentType,IXpsOMPackageWriter **packageWriter) { |
| 725 | return This->lpVtbl->CreatePackageWriterOnFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter); |
| 726 | } |
| 727 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageWriterOnStream1(IXpsOMObjectFactory1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,XPS_DOCUMENT_TYPE documentType,IXpsOMPackageWriter **packageWriter) { |
| 728 | return This->lpVtbl->CreatePackageWriterOnStream1(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,documentType,packageWriter); |
| 729 | } |
| 730 | static inline HRESULT IXpsOMObjectFactory1_CreatePackage1(IXpsOMObjectFactory1* This,IXpsOMPackage1 **package) { |
| 731 | return This->lpVtbl->CreatePackage1(This,package); |
| 732 | } |
| 733 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageFromStream1(IXpsOMObjectFactory1* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage1 **package) { |
| 734 | return This->lpVtbl->CreatePackageFromStream1(This,stream,reuseObjects,package); |
| 735 | } |
| 736 | static inline HRESULT IXpsOMObjectFactory1_CreatePackageFromFile1(IXpsOMObjectFactory1* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage1 **package) { |
| 737 | return This->lpVtbl->CreatePackageFromFile1(This,filename,reuseObjects,package); |
| 738 | } |
| 739 | static inline HRESULT IXpsOMObjectFactory1_CreatePage1(IXpsOMObjectFactory1* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage1 **page) { |
| 740 | return This->lpVtbl->CreatePage1(This,pageDimensions,language,partUri,page); |
| 741 | } |
| 742 | static inline HRESULT IXpsOMObjectFactory1_CreatePageFromStream1(IXpsOMObjectFactory1* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage1 **page) { |
| 743 | return This->lpVtbl->CreatePageFromStream1(This,pageMarkupStream,partUri,resources,reuseObjects,page); |
| 744 | } |
| 745 | static inline HRESULT IXpsOMObjectFactory1_CreateRemoteDictionaryResourceFromStream1(IXpsOMObjectFactory1* This,IStream *dictionaryMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) { |
| 746 | return This->lpVtbl->CreateRemoteDictionaryResourceFromStream1(This,dictionaryMarkupStream,partUri,resources,dictionaryResource); |
| 747 | } |
| 748 | #endif |
| 749 | #endif |
| 750 | |
| 751 | #endif |
| 752 | |
| 753 | |
| 754 | #endif /* __IXpsOMObjectFactory1_INTERFACE_DEFINED__ */ |
| 755 | |
| 756 | /***************************************************************************** |
| 757 | * IXpsOMPackage1 interface |
| 758 | */ |
| 759 | #ifndef __IXpsOMPackage1_INTERFACE_DEFINED__ |
| 760 | #define __IXpsOMPackage1_INTERFACE_DEFINED__ |
| 761 | |
| 762 | DEFINE_GUID(IID_IXpsOMPackage1, 0x95a9435e, 0x12bb, 0x461b, 0x8e,0x7f, 0xc6,0xad,0xb0,0x4c,0xd9,0x6a); |
| 763 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 764 | MIDL_INTERFACE("95a9435e-12bb-461b-8e7f-c6adb04cd96a") |
| 765 | IXpsOMPackage1 : public IXpsOMPackage |
| 766 | { |
| 767 | virtual HRESULT STDMETHODCALLTYPE GetDocumentType( |
| 768 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 769 | |
| 770 | virtual HRESULT STDMETHODCALLTYPE WriteToFile1( |
| 771 | LPCWSTR fileName, |
| 772 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 773 | DWORD flagsAndAttributes, |
| 774 | WINBOOL optimizeMarkupSize, |
| 775 | XPS_DOCUMENT_TYPE documentType) = 0; |
| 776 | |
| 777 | virtual HRESULT STDMETHODCALLTYPE WriteToStream1( |
| 778 | ISequentialStream *outputStream, |
| 779 | WINBOOL optimizeMarkupSize, |
| 780 | XPS_DOCUMENT_TYPE documentType) = 0; |
| 781 | |
| 782 | }; |
| 783 | #ifdef __CRT_UUID_DECL |
| 784 | __CRT_UUID_DECL(IXpsOMPackage1, 0x95a9435e, 0x12bb, 0x461b, 0x8e,0x7f, 0xc6,0xad,0xb0,0x4c,0xd9,0x6a) |
| 785 | #endif |
| 786 | #else |
| 787 | typedef struct IXpsOMPackage1Vtbl { |
| 788 | BEGIN_INTERFACE |
| 789 | |
| 790 | /*** IUnknown methods ***/ |
| 791 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 792 | IXpsOMPackage1 *This, |
| 793 | REFIID riid, |
| 794 | void **ppvObject); |
| 795 | |
| 796 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 797 | IXpsOMPackage1 *This); |
| 798 | |
| 799 | ULONG (STDMETHODCALLTYPE *Release)( |
| 800 | IXpsOMPackage1 *This); |
| 801 | |
| 802 | /*** IXpsOMPackage methods ***/ |
| 803 | HRESULT (STDMETHODCALLTYPE *GetDocumentSequence)( |
| 804 | IXpsOMPackage1 *This, |
| 805 | IXpsOMDocumentSequence **documentSequence); |
| 806 | |
| 807 | HRESULT (STDMETHODCALLTYPE *SetDocumentSequence)( |
| 808 | IXpsOMPackage1 *This, |
| 809 | IXpsOMDocumentSequence *documentSequence); |
| 810 | |
| 811 | HRESULT (STDMETHODCALLTYPE *GetCoreProperties)( |
| 812 | IXpsOMPackage1 *This, |
| 813 | IXpsOMCoreProperties **coreProperties); |
| 814 | |
| 815 | HRESULT (STDMETHODCALLTYPE *SetCoreProperties)( |
| 816 | IXpsOMPackage1 *This, |
| 817 | IXpsOMCoreProperties *coreProperties); |
| 818 | |
| 819 | HRESULT (STDMETHODCALLTYPE *GetDiscardControlPartName)( |
| 820 | IXpsOMPackage1 *This, |
| 821 | IOpcPartUri **discardControlPartUri); |
| 822 | |
| 823 | HRESULT (STDMETHODCALLTYPE *SetDiscardControlPartName)( |
| 824 | IXpsOMPackage1 *This, |
| 825 | IOpcPartUri *discardControlPartUri); |
| 826 | |
| 827 | HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)( |
| 828 | IXpsOMPackage1 *This, |
| 829 | IXpsOMImageResource **imageResource); |
| 830 | |
| 831 | HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)( |
| 832 | IXpsOMPackage1 *This, |
| 833 | IXpsOMImageResource *imageResource); |
| 834 | |
| 835 | HRESULT (STDMETHODCALLTYPE *WriteToFile)( |
| 836 | IXpsOMPackage1 *This, |
| 837 | LPCWSTR fileName, |
| 838 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 839 | DWORD flagsAndAttributes, |
| 840 | WINBOOL optimizeMarkupSize); |
| 841 | |
| 842 | HRESULT (STDMETHODCALLTYPE *WriteToStream)( |
| 843 | IXpsOMPackage1 *This, |
| 844 | ISequentialStream *stream, |
| 845 | WINBOOL optimizeMarkupSize); |
| 846 | |
| 847 | /*** IXpsOMPackage1 methods ***/ |
| 848 | HRESULT (STDMETHODCALLTYPE *GetDocumentType)( |
| 849 | IXpsOMPackage1 *This, |
| 850 | XPS_DOCUMENT_TYPE *documentType); |
| 851 | |
| 852 | HRESULT (STDMETHODCALLTYPE *WriteToFile1)( |
| 853 | IXpsOMPackage1 *This, |
| 854 | LPCWSTR fileName, |
| 855 | LPSECURITY_ATTRIBUTES securityAttributes, |
| 856 | DWORD flagsAndAttributes, |
| 857 | WINBOOL optimizeMarkupSize, |
| 858 | XPS_DOCUMENT_TYPE documentType); |
| 859 | |
| 860 | HRESULT (STDMETHODCALLTYPE *WriteToStream1)( |
| 861 | IXpsOMPackage1 *This, |
| 862 | ISequentialStream *outputStream, |
| 863 | WINBOOL optimizeMarkupSize, |
| 864 | XPS_DOCUMENT_TYPE documentType); |
| 865 | |
| 866 | END_INTERFACE |
| 867 | } IXpsOMPackage1Vtbl; |
| 868 | |
| 869 | interface IXpsOMPackage1 { |
| 870 | CONST_VTBL IXpsOMPackage1Vtbl* lpVtbl; |
| 871 | }; |
| 872 | |
| 873 | #ifdef COBJMACROS |
| 874 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 875 | /*** IUnknown methods ***/ |
| 876 | #define IXpsOMPackage1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 877 | #define IXpsOMPackage1_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 878 | #define IXpsOMPackage1_Release(This) (This)->lpVtbl->Release(This) |
| 879 | /*** IXpsOMPackage methods ***/ |
| 880 | #define IXpsOMPackage1_GetDocumentSequence(This,documentSequence) (This)->lpVtbl->GetDocumentSequence(This,documentSequence) |
| 881 | #define IXpsOMPackage1_SetDocumentSequence(This,documentSequence) (This)->lpVtbl->SetDocumentSequence(This,documentSequence) |
| 882 | #define IXpsOMPackage1_GetCoreProperties(This,coreProperties) (This)->lpVtbl->GetCoreProperties(This,coreProperties) |
| 883 | #define IXpsOMPackage1_SetCoreProperties(This,coreProperties) (This)->lpVtbl->SetCoreProperties(This,coreProperties) |
| 884 | #define IXpsOMPackage1_GetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri) |
| 885 | #define IXpsOMPackage1_SetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri) |
| 886 | #define IXpsOMPackage1_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource) |
| 887 | #define IXpsOMPackage1_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource) |
| 888 | #define IXpsOMPackage1_WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) (This)->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) |
| 889 | #define IXpsOMPackage1_WriteToStream(This,stream,optimizeMarkupSize) (This)->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize) |
| 890 | /*** IXpsOMPackage1 methods ***/ |
| 891 | #define IXpsOMPackage1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType) |
| 892 | #define IXpsOMPackage1_WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType) (This)->lpVtbl->WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType) |
| 893 | #define IXpsOMPackage1_WriteToStream1(This,outputStream,optimizeMarkupSize,documentType) (This)->lpVtbl->WriteToStream1(This,outputStream,optimizeMarkupSize,documentType) |
| 894 | #else |
| 895 | /*** IUnknown methods ***/ |
| 896 | static inline HRESULT IXpsOMPackage1_QueryInterface(IXpsOMPackage1* This,REFIID riid,void **ppvObject) { |
| 897 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 898 | } |
| 899 | static inline ULONG IXpsOMPackage1_AddRef(IXpsOMPackage1* This) { |
| 900 | return This->lpVtbl->AddRef(This); |
| 901 | } |
| 902 | static inline ULONG IXpsOMPackage1_Release(IXpsOMPackage1* This) { |
| 903 | return This->lpVtbl->Release(This); |
| 904 | } |
| 905 | /*** IXpsOMPackage methods ***/ |
| 906 | static inline HRESULT IXpsOMPackage1_GetDocumentSequence(IXpsOMPackage1* This,IXpsOMDocumentSequence **documentSequence) { |
| 907 | return This->lpVtbl->GetDocumentSequence(This,documentSequence); |
| 908 | } |
| 909 | static inline HRESULT IXpsOMPackage1_SetDocumentSequence(IXpsOMPackage1* This,IXpsOMDocumentSequence *documentSequence) { |
| 910 | return This->lpVtbl->SetDocumentSequence(This,documentSequence); |
| 911 | } |
| 912 | static inline HRESULT IXpsOMPackage1_GetCoreProperties(IXpsOMPackage1* This,IXpsOMCoreProperties **coreProperties) { |
| 913 | return This->lpVtbl->GetCoreProperties(This,coreProperties); |
| 914 | } |
| 915 | static inline HRESULT IXpsOMPackage1_SetCoreProperties(IXpsOMPackage1* This,IXpsOMCoreProperties *coreProperties) { |
| 916 | return This->lpVtbl->SetCoreProperties(This,coreProperties); |
| 917 | } |
| 918 | static inline HRESULT IXpsOMPackage1_GetDiscardControlPartName(IXpsOMPackage1* This,IOpcPartUri **discardControlPartUri) { |
| 919 | return This->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri); |
| 920 | } |
| 921 | static inline HRESULT IXpsOMPackage1_SetDiscardControlPartName(IXpsOMPackage1* This,IOpcPartUri *discardControlPartUri) { |
| 922 | return This->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri); |
| 923 | } |
| 924 | static inline HRESULT IXpsOMPackage1_GetThumbnailResource(IXpsOMPackage1* This,IXpsOMImageResource **imageResource) { |
| 925 | return This->lpVtbl->GetThumbnailResource(This,imageResource); |
| 926 | } |
| 927 | static inline HRESULT IXpsOMPackage1_SetThumbnailResource(IXpsOMPackage1* This,IXpsOMImageResource *imageResource) { |
| 928 | return This->lpVtbl->SetThumbnailResource(This,imageResource); |
| 929 | } |
| 930 | static inline HRESULT IXpsOMPackage1_WriteToFile(IXpsOMPackage1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize) { |
| 931 | return This->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize); |
| 932 | } |
| 933 | static inline HRESULT IXpsOMPackage1_WriteToStream(IXpsOMPackage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) { |
| 934 | return This->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize); |
| 935 | } |
| 936 | /*** IXpsOMPackage1 methods ***/ |
| 937 | static inline HRESULT IXpsOMPackage1_GetDocumentType(IXpsOMPackage1* This,XPS_DOCUMENT_TYPE *documentType) { |
| 938 | return This->lpVtbl->GetDocumentType(This,documentType); |
| 939 | } |
| 940 | static inline HRESULT IXpsOMPackage1_WriteToFile1(IXpsOMPackage1* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) { |
| 941 | return This->lpVtbl->WriteToFile1(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,documentType); |
| 942 | } |
| 943 | static inline HRESULT IXpsOMPackage1_WriteToStream1(IXpsOMPackage1* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) { |
| 944 | return This->lpVtbl->WriteToStream1(This,outputStream,optimizeMarkupSize,documentType); |
| 945 | } |
| 946 | #endif |
| 947 | #endif |
| 948 | |
| 949 | #endif |
| 950 | |
| 951 | |
| 952 | #endif /* __IXpsOMPackage1_INTERFACE_DEFINED__ */ |
| 953 | |
| 954 | /***************************************************************************** |
| 955 | * IXpsOMPage1 interface |
| 956 | */ |
| 957 | #ifndef __IXpsOMPage1_INTERFACE_DEFINED__ |
| 958 | #define __IXpsOMPage1_INTERFACE_DEFINED__ |
| 959 | |
| 960 | DEFINE_GUID(IID_IXpsOMPage1, 0x305b60ef, 0x6892, 0x4dda, 0x9c,0xbb, 0x3a,0xa6,0x59,0x74,0x50,0x8a); |
| 961 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 962 | MIDL_INTERFACE("305b60ef-6892-4dda-9cbb-3aa65974508a") |
| 963 | IXpsOMPage1 : public IXpsOMPage |
| 964 | { |
| 965 | virtual HRESULT STDMETHODCALLTYPE GetDocumentType( |
| 966 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 967 | |
| 968 | virtual HRESULT STDMETHODCALLTYPE Write1( |
| 969 | ISequentialStream *stream, |
| 970 | WINBOOL optimizeMarkupSize, |
| 971 | XPS_DOCUMENT_TYPE documentType) = 0; |
| 972 | |
| 973 | }; |
| 974 | #ifdef __CRT_UUID_DECL |
| 975 | __CRT_UUID_DECL(IXpsOMPage1, 0x305b60ef, 0x6892, 0x4dda, 0x9c,0xbb, 0x3a,0xa6,0x59,0x74,0x50,0x8a) |
| 976 | #endif |
| 977 | #else |
| 978 | typedef struct IXpsOMPage1Vtbl { |
| 979 | BEGIN_INTERFACE |
| 980 | |
| 981 | /*** IUnknown methods ***/ |
| 982 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 983 | IXpsOMPage1 *This, |
| 984 | REFIID riid, |
| 985 | void **ppvObject); |
| 986 | |
| 987 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 988 | IXpsOMPage1 *This); |
| 989 | |
| 990 | ULONG (STDMETHODCALLTYPE *Release)( |
| 991 | IXpsOMPage1 *This); |
| 992 | |
| 993 | /*** IXpsOMPart methods ***/ |
| 994 | HRESULT (STDMETHODCALLTYPE *GetPartName)( |
| 995 | IXpsOMPage1 *This, |
| 996 | IOpcPartUri **partUri); |
| 997 | |
| 998 | HRESULT (STDMETHODCALLTYPE *SetPartName)( |
| 999 | IXpsOMPage1 *This, |
| 1000 | IOpcPartUri *partUri); |
| 1001 | |
| 1002 | /*** IXpsOMPage methods ***/ |
| 1003 | HRESULT (STDMETHODCALLTYPE *GetOwner)( |
| 1004 | IXpsOMPage1 *This, |
| 1005 | IXpsOMPageReference **pageReference); |
| 1006 | |
| 1007 | HRESULT (STDMETHODCALLTYPE *GetVisuals)( |
| 1008 | IXpsOMPage1 *This, |
| 1009 | IXpsOMVisualCollection **visuals); |
| 1010 | |
| 1011 | HRESULT (STDMETHODCALLTYPE *GetPageDimensions)( |
| 1012 | IXpsOMPage1 *This, |
| 1013 | XPS_SIZE *pageDimensions); |
| 1014 | |
| 1015 | HRESULT (STDMETHODCALLTYPE *SetPageDimensions)( |
| 1016 | IXpsOMPage1 *This, |
| 1017 | const XPS_SIZE *pageDimensions); |
| 1018 | |
| 1019 | HRESULT (STDMETHODCALLTYPE *GetContentBox)( |
| 1020 | IXpsOMPage1 *This, |
| 1021 | XPS_RECT *contentBox); |
| 1022 | |
| 1023 | HRESULT (STDMETHODCALLTYPE *SetContentBox)( |
| 1024 | IXpsOMPage1 *This, |
| 1025 | const XPS_RECT *contentBox); |
| 1026 | |
| 1027 | HRESULT (STDMETHODCALLTYPE *GetBleedBox)( |
| 1028 | IXpsOMPage1 *This, |
| 1029 | XPS_RECT *bleedBox); |
| 1030 | |
| 1031 | HRESULT (STDMETHODCALLTYPE *SetBleedBox)( |
| 1032 | IXpsOMPage1 *This, |
| 1033 | const XPS_RECT *bleedBox); |
| 1034 | |
| 1035 | HRESULT (STDMETHODCALLTYPE *GetLanguage)( |
| 1036 | IXpsOMPage1 *This, |
| 1037 | LPWSTR *language); |
| 1038 | |
| 1039 | HRESULT (STDMETHODCALLTYPE *SetLanguage)( |
| 1040 | IXpsOMPage1 *This, |
| 1041 | LPCWSTR language); |
| 1042 | |
| 1043 | HRESULT (STDMETHODCALLTYPE *GetName)( |
| 1044 | IXpsOMPage1 *This, |
| 1045 | LPWSTR *name); |
| 1046 | |
| 1047 | HRESULT (STDMETHODCALLTYPE *SetName)( |
| 1048 | IXpsOMPage1 *This, |
| 1049 | LPCWSTR name); |
| 1050 | |
| 1051 | HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)( |
| 1052 | IXpsOMPage1 *This, |
| 1053 | WINBOOL *isHyperlinkTarget); |
| 1054 | |
| 1055 | HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)( |
| 1056 | IXpsOMPage1 *This, |
| 1057 | WINBOOL isHyperlinkTarget); |
| 1058 | |
| 1059 | HRESULT (STDMETHODCALLTYPE *GetDictionary)( |
| 1060 | IXpsOMPage1 *This, |
| 1061 | IXpsOMDictionary **resourceDictionary); |
| 1062 | |
| 1063 | HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)( |
| 1064 | IXpsOMPage1 *This, |
| 1065 | IXpsOMDictionary **resourceDictionary); |
| 1066 | |
| 1067 | HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)( |
| 1068 | IXpsOMPage1 *This, |
| 1069 | IXpsOMDictionary *resourceDictionary); |
| 1070 | |
| 1071 | HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)( |
| 1072 | IXpsOMPage1 *This, |
| 1073 | IXpsOMRemoteDictionaryResource **remoteDictionaryResource); |
| 1074 | |
| 1075 | HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)( |
| 1076 | IXpsOMPage1 *This, |
| 1077 | IXpsOMRemoteDictionaryResource *remoteDictionaryResource); |
| 1078 | |
| 1079 | HRESULT (STDMETHODCALLTYPE *Write)( |
| 1080 | IXpsOMPage1 *This, |
| 1081 | ISequentialStream *stream, |
| 1082 | WINBOOL optimizeMarkupSize); |
| 1083 | |
| 1084 | HRESULT (STDMETHODCALLTYPE *GenerateUnusedLookupKey)( |
| 1085 | IXpsOMPage1 *This, |
| 1086 | XPS_OBJECT_TYPE type, |
| 1087 | LPWSTR *key); |
| 1088 | |
| 1089 | HRESULT (STDMETHODCALLTYPE *Clone)( |
| 1090 | IXpsOMPage1 *This, |
| 1091 | IXpsOMPage **page); |
| 1092 | |
| 1093 | /*** IXpsOMPage1 methods ***/ |
| 1094 | HRESULT (STDMETHODCALLTYPE *GetDocumentType)( |
| 1095 | IXpsOMPage1 *This, |
| 1096 | XPS_DOCUMENT_TYPE *documentType); |
| 1097 | |
| 1098 | HRESULT (STDMETHODCALLTYPE *Write1)( |
| 1099 | IXpsOMPage1 *This, |
| 1100 | ISequentialStream *stream, |
| 1101 | WINBOOL optimizeMarkupSize, |
| 1102 | XPS_DOCUMENT_TYPE documentType); |
| 1103 | |
| 1104 | END_INTERFACE |
| 1105 | } IXpsOMPage1Vtbl; |
| 1106 | |
| 1107 | interface IXpsOMPage1 { |
| 1108 | CONST_VTBL IXpsOMPage1Vtbl* lpVtbl; |
| 1109 | }; |
| 1110 | |
| 1111 | #ifdef COBJMACROS |
| 1112 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 1113 | /*** IUnknown methods ***/ |
| 1114 | #define IXpsOMPage1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1115 | #define IXpsOMPage1_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1116 | #define IXpsOMPage1_Release(This) (This)->lpVtbl->Release(This) |
| 1117 | /*** IXpsOMPart methods ***/ |
| 1118 | #define IXpsOMPage1_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri) |
| 1119 | #define IXpsOMPage1_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri) |
| 1120 | /*** IXpsOMPage methods ***/ |
| 1121 | #define IXpsOMPage1_GetOwner(This,pageReference) (This)->lpVtbl->GetOwner(This,pageReference) |
| 1122 | #define IXpsOMPage1_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals) |
| 1123 | #define IXpsOMPage1_GetPageDimensions(This,pageDimensions) (This)->lpVtbl->GetPageDimensions(This,pageDimensions) |
| 1124 | #define IXpsOMPage1_SetPageDimensions(This,pageDimensions) (This)->lpVtbl->SetPageDimensions(This,pageDimensions) |
| 1125 | #define IXpsOMPage1_GetContentBox(This,contentBox) (This)->lpVtbl->GetContentBox(This,contentBox) |
| 1126 | #define IXpsOMPage1_SetContentBox(This,contentBox) (This)->lpVtbl->SetContentBox(This,contentBox) |
| 1127 | #define IXpsOMPage1_GetBleedBox(This,bleedBox) (This)->lpVtbl->GetBleedBox(This,bleedBox) |
| 1128 | #define IXpsOMPage1_SetBleedBox(This,bleedBox) (This)->lpVtbl->SetBleedBox(This,bleedBox) |
| 1129 | #define IXpsOMPage1_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language) |
| 1130 | #define IXpsOMPage1_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language) |
| 1131 | #define IXpsOMPage1_GetName(This,name) (This)->lpVtbl->GetName(This,name) |
| 1132 | #define IXpsOMPage1_SetName(This,name) (This)->lpVtbl->SetName(This,name) |
| 1133 | #define IXpsOMPage1_GetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget) |
| 1134 | #define IXpsOMPage1_SetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget) |
| 1135 | #define IXpsOMPage1_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary) |
| 1136 | #define IXpsOMPage1_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary) |
| 1137 | #define IXpsOMPage1_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary) |
| 1138 | #define IXpsOMPage1_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource) |
| 1139 | #define IXpsOMPage1_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource) |
| 1140 | #define IXpsOMPage1_Write(This,stream,optimizeMarkupSize) (This)->lpVtbl->Write(This,stream,optimizeMarkupSize) |
| 1141 | #define IXpsOMPage1_GenerateUnusedLookupKey(This,type,key) (This)->lpVtbl->GenerateUnusedLookupKey(This,type,key) |
| 1142 | #define IXpsOMPage1_Clone(This,page) (This)->lpVtbl->Clone(This,page) |
| 1143 | /*** IXpsOMPage1 methods ***/ |
| 1144 | #define IXpsOMPage1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType) |
| 1145 | #define IXpsOMPage1_Write1(This,stream,optimizeMarkupSize,documentType) (This)->lpVtbl->Write1(This,stream,optimizeMarkupSize,documentType) |
| 1146 | #else |
| 1147 | /*** IUnknown methods ***/ |
| 1148 | static inline HRESULT IXpsOMPage1_QueryInterface(IXpsOMPage1* This,REFIID riid,void **ppvObject) { |
| 1149 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1150 | } |
| 1151 | static inline ULONG IXpsOMPage1_AddRef(IXpsOMPage1* This) { |
| 1152 | return This->lpVtbl->AddRef(This); |
| 1153 | } |
| 1154 | static inline ULONG IXpsOMPage1_Release(IXpsOMPage1* This) { |
| 1155 | return This->lpVtbl->Release(This); |
| 1156 | } |
| 1157 | /*** IXpsOMPart methods ***/ |
| 1158 | static inline HRESULT IXpsOMPage1_GetPartName(IXpsOMPage1* This,IOpcPartUri **partUri) { |
| 1159 | return This->lpVtbl->GetPartName(This,partUri); |
| 1160 | } |
| 1161 | static inline HRESULT IXpsOMPage1_SetPartName(IXpsOMPage1* This,IOpcPartUri *partUri) { |
| 1162 | return This->lpVtbl->SetPartName(This,partUri); |
| 1163 | } |
| 1164 | /*** IXpsOMPage methods ***/ |
| 1165 | static inline HRESULT IXpsOMPage1_GetOwner(IXpsOMPage1* This,IXpsOMPageReference **pageReference) { |
| 1166 | return This->lpVtbl->GetOwner(This,pageReference); |
| 1167 | } |
| 1168 | static inline HRESULT IXpsOMPage1_GetVisuals(IXpsOMPage1* This,IXpsOMVisualCollection **visuals) { |
| 1169 | return This->lpVtbl->GetVisuals(This,visuals); |
| 1170 | } |
| 1171 | static inline HRESULT IXpsOMPage1_GetPageDimensions(IXpsOMPage1* This,XPS_SIZE *pageDimensions) { |
| 1172 | return This->lpVtbl->GetPageDimensions(This,pageDimensions); |
| 1173 | } |
| 1174 | static inline HRESULT IXpsOMPage1_SetPageDimensions(IXpsOMPage1* This,const XPS_SIZE *pageDimensions) { |
| 1175 | return This->lpVtbl->SetPageDimensions(This,pageDimensions); |
| 1176 | } |
| 1177 | static inline HRESULT IXpsOMPage1_GetContentBox(IXpsOMPage1* This,XPS_RECT *contentBox) { |
| 1178 | return This->lpVtbl->GetContentBox(This,contentBox); |
| 1179 | } |
| 1180 | static inline HRESULT IXpsOMPage1_SetContentBox(IXpsOMPage1* This,const XPS_RECT *contentBox) { |
| 1181 | return This->lpVtbl->SetContentBox(This,contentBox); |
| 1182 | } |
| 1183 | static inline HRESULT IXpsOMPage1_GetBleedBox(IXpsOMPage1* This,XPS_RECT *bleedBox) { |
| 1184 | return This->lpVtbl->GetBleedBox(This,bleedBox); |
| 1185 | } |
| 1186 | static inline HRESULT IXpsOMPage1_SetBleedBox(IXpsOMPage1* This,const XPS_RECT *bleedBox) { |
| 1187 | return This->lpVtbl->SetBleedBox(This,bleedBox); |
| 1188 | } |
| 1189 | static inline HRESULT IXpsOMPage1_GetLanguage(IXpsOMPage1* This,LPWSTR *language) { |
| 1190 | return This->lpVtbl->GetLanguage(This,language); |
| 1191 | } |
| 1192 | static inline HRESULT IXpsOMPage1_SetLanguage(IXpsOMPage1* This,LPCWSTR language) { |
| 1193 | return This->lpVtbl->SetLanguage(This,language); |
| 1194 | } |
| 1195 | static inline HRESULT IXpsOMPage1_GetName(IXpsOMPage1* This,LPWSTR *name) { |
| 1196 | return This->lpVtbl->GetName(This,name); |
| 1197 | } |
| 1198 | static inline HRESULT IXpsOMPage1_SetName(IXpsOMPage1* This,LPCWSTR name) { |
| 1199 | return This->lpVtbl->SetName(This,name); |
| 1200 | } |
| 1201 | static inline HRESULT IXpsOMPage1_GetIsHyperlinkTarget(IXpsOMPage1* This,WINBOOL *isHyperlinkTarget) { |
| 1202 | return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget); |
| 1203 | } |
| 1204 | static inline HRESULT IXpsOMPage1_SetIsHyperlinkTarget(IXpsOMPage1* This,WINBOOL isHyperlinkTarget) { |
| 1205 | return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget); |
| 1206 | } |
| 1207 | static inline HRESULT IXpsOMPage1_GetDictionary(IXpsOMPage1* This,IXpsOMDictionary **resourceDictionary) { |
| 1208 | return This->lpVtbl->GetDictionary(This,resourceDictionary); |
| 1209 | } |
| 1210 | static inline HRESULT IXpsOMPage1_GetDictionaryLocal(IXpsOMPage1* This,IXpsOMDictionary **resourceDictionary) { |
| 1211 | return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary); |
| 1212 | } |
| 1213 | static inline HRESULT IXpsOMPage1_SetDictionaryLocal(IXpsOMPage1* This,IXpsOMDictionary *resourceDictionary) { |
| 1214 | return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary); |
| 1215 | } |
| 1216 | static inline HRESULT IXpsOMPage1_GetDictionaryResource(IXpsOMPage1* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) { |
| 1217 | return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource); |
| 1218 | } |
| 1219 | static inline HRESULT IXpsOMPage1_SetDictionaryResource(IXpsOMPage1* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) { |
| 1220 | return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource); |
| 1221 | } |
| 1222 | static inline HRESULT IXpsOMPage1_Write(IXpsOMPage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) { |
| 1223 | return This->lpVtbl->Write(This,stream,optimizeMarkupSize); |
| 1224 | } |
| 1225 | static inline HRESULT IXpsOMPage1_GenerateUnusedLookupKey(IXpsOMPage1* This,XPS_OBJECT_TYPE type,LPWSTR *key) { |
| 1226 | return This->lpVtbl->GenerateUnusedLookupKey(This,type,key); |
| 1227 | } |
| 1228 | static inline HRESULT IXpsOMPage1_Clone(IXpsOMPage1* This,IXpsOMPage **page) { |
| 1229 | return This->lpVtbl->Clone(This,page); |
| 1230 | } |
| 1231 | /*** IXpsOMPage1 methods ***/ |
| 1232 | static inline HRESULT IXpsOMPage1_GetDocumentType(IXpsOMPage1* This,XPS_DOCUMENT_TYPE *documentType) { |
| 1233 | return This->lpVtbl->GetDocumentType(This,documentType); |
| 1234 | } |
| 1235 | static inline HRESULT IXpsOMPage1_Write1(IXpsOMPage1* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize,XPS_DOCUMENT_TYPE documentType) { |
| 1236 | return This->lpVtbl->Write1(This,stream,optimizeMarkupSize,documentType); |
| 1237 | } |
| 1238 | #endif |
| 1239 | #endif |
| 1240 | |
| 1241 | #endif |
| 1242 | |
| 1243 | |
| 1244 | #endif /* __IXpsOMPage1_INTERFACE_DEFINED__ */ |
| 1245 | |
| 1246 | /***************************************************************************** |
| 1247 | * IXpsDocumentPackageTarget interface |
| 1248 | */ |
| 1249 | #ifndef __IXpsDocumentPackageTarget_INTERFACE_DEFINED__ |
| 1250 | #define __IXpsDocumentPackageTarget_INTERFACE_DEFINED__ |
| 1251 | |
| 1252 | DEFINE_GUID(IID_IXpsDocumentPackageTarget, 0x3b0b6d38, 0x53ad, 0x41da, 0xb2,0x12, 0xd3,0x76,0x37,0xa6,0x71,0x4e); |
| 1253 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 1254 | MIDL_INTERFACE("3b0b6d38-53ad-41da-b212-d37637a6714e") |
| 1255 | IXpsDocumentPackageTarget : public IUnknown |
| 1256 | { |
| 1257 | virtual HRESULT STDMETHODCALLTYPE GetXpsOMPackageWriter( |
| 1258 | IOpcPartUri *documentSequencePartName, |
| 1259 | IOpcPartUri *discardControlPartName, |
| 1260 | IXpsOMPackageWriter **packageWriter) = 0; |
| 1261 | |
| 1262 | virtual HRESULT STDMETHODCALLTYPE GetXpsOMFactory( |
| 1263 | IXpsOMObjectFactory **xpsFactory) = 0; |
| 1264 | |
| 1265 | virtual HRESULT STDMETHODCALLTYPE GetXpsType( |
| 1266 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 1267 | |
| 1268 | }; |
| 1269 | #ifdef __CRT_UUID_DECL |
| 1270 | __CRT_UUID_DECL(IXpsDocumentPackageTarget, 0x3b0b6d38, 0x53ad, 0x41da, 0xb2,0x12, 0xd3,0x76,0x37,0xa6,0x71,0x4e) |
| 1271 | #endif |
| 1272 | #else |
| 1273 | typedef struct IXpsDocumentPackageTargetVtbl { |
| 1274 | BEGIN_INTERFACE |
| 1275 | |
| 1276 | /*** IUnknown methods ***/ |
| 1277 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1278 | IXpsDocumentPackageTarget *This, |
| 1279 | REFIID riid, |
| 1280 | void **ppvObject); |
| 1281 | |
| 1282 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1283 | IXpsDocumentPackageTarget *This); |
| 1284 | |
| 1285 | ULONG (STDMETHODCALLTYPE *Release)( |
| 1286 | IXpsDocumentPackageTarget *This); |
| 1287 | |
| 1288 | /*** IXpsDocumentPackageTarget methods ***/ |
| 1289 | HRESULT (STDMETHODCALLTYPE *GetXpsOMPackageWriter)( |
| 1290 | IXpsDocumentPackageTarget *This, |
| 1291 | IOpcPartUri *documentSequencePartName, |
| 1292 | IOpcPartUri *discardControlPartName, |
| 1293 | IXpsOMPackageWriter **packageWriter); |
| 1294 | |
| 1295 | HRESULT (STDMETHODCALLTYPE *GetXpsOMFactory)( |
| 1296 | IXpsDocumentPackageTarget *This, |
| 1297 | IXpsOMObjectFactory **xpsFactory); |
| 1298 | |
| 1299 | HRESULT (STDMETHODCALLTYPE *GetXpsType)( |
| 1300 | IXpsDocumentPackageTarget *This, |
| 1301 | XPS_DOCUMENT_TYPE *documentType); |
| 1302 | |
| 1303 | END_INTERFACE |
| 1304 | } IXpsDocumentPackageTargetVtbl; |
| 1305 | |
| 1306 | interface IXpsDocumentPackageTarget { |
| 1307 | CONST_VTBL IXpsDocumentPackageTargetVtbl* lpVtbl; |
| 1308 | }; |
| 1309 | |
| 1310 | #ifdef COBJMACROS |
| 1311 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 1312 | /*** IUnknown methods ***/ |
| 1313 | #define IXpsDocumentPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1314 | #define IXpsDocumentPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1315 | #define IXpsDocumentPackageTarget_Release(This) (This)->lpVtbl->Release(This) |
| 1316 | /*** IXpsDocumentPackageTarget methods ***/ |
| 1317 | #define IXpsDocumentPackageTarget_GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter) (This)->lpVtbl->GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter) |
| 1318 | #define IXpsDocumentPackageTarget_GetXpsOMFactory(This,xpsFactory) (This)->lpVtbl->GetXpsOMFactory(This,xpsFactory) |
| 1319 | #define IXpsDocumentPackageTarget_GetXpsType(This,documentType) (This)->lpVtbl->GetXpsType(This,documentType) |
| 1320 | #else |
| 1321 | /*** IUnknown methods ***/ |
| 1322 | static inline HRESULT IXpsDocumentPackageTarget_QueryInterface(IXpsDocumentPackageTarget* This,REFIID riid,void **ppvObject) { |
| 1323 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1324 | } |
| 1325 | static inline ULONG IXpsDocumentPackageTarget_AddRef(IXpsDocumentPackageTarget* This) { |
| 1326 | return This->lpVtbl->AddRef(This); |
| 1327 | } |
| 1328 | static inline ULONG IXpsDocumentPackageTarget_Release(IXpsDocumentPackageTarget* This) { |
| 1329 | return This->lpVtbl->Release(This); |
| 1330 | } |
| 1331 | /*** IXpsDocumentPackageTarget methods ***/ |
| 1332 | static inline HRESULT IXpsDocumentPackageTarget_GetXpsOMPackageWriter(IXpsDocumentPackageTarget* This,IOpcPartUri *documentSequencePartName,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) { |
| 1333 | return This->lpVtbl->GetXpsOMPackageWriter(This,documentSequencePartName,discardControlPartName,packageWriter); |
| 1334 | } |
| 1335 | static inline HRESULT IXpsDocumentPackageTarget_GetXpsOMFactory(IXpsDocumentPackageTarget* This,IXpsOMObjectFactory **xpsFactory) { |
| 1336 | return This->lpVtbl->GetXpsOMFactory(This,xpsFactory); |
| 1337 | } |
| 1338 | static inline HRESULT IXpsDocumentPackageTarget_GetXpsType(IXpsDocumentPackageTarget* This,XPS_DOCUMENT_TYPE *documentType) { |
| 1339 | return This->lpVtbl->GetXpsType(This,documentType); |
| 1340 | } |
| 1341 | #endif |
| 1342 | #endif |
| 1343 | |
| 1344 | #endif |
| 1345 | |
| 1346 | |
| 1347 | #endif /* __IXpsDocumentPackageTarget_INTERFACE_DEFINED__ */ |
| 1348 | |
| 1349 | /***************************************************************************** |
| 1350 | * IXpsOMRemoteDictionaryResource1 interface |
| 1351 | */ |
| 1352 | #ifndef __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__ |
| 1353 | #define __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__ |
| 1354 | |
| 1355 | DEFINE_GUID(IID_IXpsOMRemoteDictionaryResource1, 0xbf8fc1d4, 0x9d46, 0x4141, 0xba,0x5f, 0x94,0xbb,0x92,0x50,0xd0,0x41); |
| 1356 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 1357 | MIDL_INTERFACE("bf8fc1d4-9d46-4141-ba5f-94bb9250d041") |
| 1358 | IXpsOMRemoteDictionaryResource1 : public IXpsOMRemoteDictionaryResource |
| 1359 | { |
| 1360 | virtual HRESULT STDMETHODCALLTYPE GetDocumentType( |
| 1361 | XPS_DOCUMENT_TYPE *documentType) = 0; |
| 1362 | |
| 1363 | virtual HRESULT STDMETHODCALLTYPE Write1( |
| 1364 | ISequentialStream *stream, |
| 1365 | XPS_DOCUMENT_TYPE documentType) = 0; |
| 1366 | |
| 1367 | }; |
| 1368 | #ifdef __CRT_UUID_DECL |
| 1369 | __CRT_UUID_DECL(IXpsOMRemoteDictionaryResource1, 0xbf8fc1d4, 0x9d46, 0x4141, 0xba,0x5f, 0x94,0xbb,0x92,0x50,0xd0,0x41) |
| 1370 | #endif |
| 1371 | #else |
| 1372 | typedef struct IXpsOMRemoteDictionaryResource1Vtbl { |
| 1373 | BEGIN_INTERFACE |
| 1374 | |
| 1375 | /*** IUnknown methods ***/ |
| 1376 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1377 | IXpsOMRemoteDictionaryResource1 *This, |
| 1378 | REFIID riid, |
| 1379 | void **ppvObject); |
| 1380 | |
| 1381 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1382 | IXpsOMRemoteDictionaryResource1 *This); |
| 1383 | |
| 1384 | ULONG (STDMETHODCALLTYPE *Release)( |
| 1385 | IXpsOMRemoteDictionaryResource1 *This); |
| 1386 | |
| 1387 | /*** IXpsOMPart methods ***/ |
| 1388 | HRESULT (STDMETHODCALLTYPE *GetPartName)( |
| 1389 | IXpsOMRemoteDictionaryResource1 *This, |
| 1390 | IOpcPartUri **partUri); |
| 1391 | |
| 1392 | HRESULT (STDMETHODCALLTYPE *SetPartName)( |
| 1393 | IXpsOMRemoteDictionaryResource1 *This, |
| 1394 | IOpcPartUri *partUri); |
| 1395 | |
| 1396 | /*** IXpsOMRemoteDictionaryResource methods ***/ |
| 1397 | HRESULT (STDMETHODCALLTYPE *GetDictionary)( |
| 1398 | IXpsOMRemoteDictionaryResource1 *This, |
| 1399 | IXpsOMDictionary **dictionary); |
| 1400 | |
| 1401 | HRESULT (STDMETHODCALLTYPE *SetDictionary)( |
| 1402 | IXpsOMRemoteDictionaryResource1 *This, |
| 1403 | IXpsOMDictionary *dictionary); |
| 1404 | |
| 1405 | /*** IXpsOMRemoteDictionaryResource1 methods ***/ |
| 1406 | HRESULT (STDMETHODCALLTYPE *GetDocumentType)( |
| 1407 | IXpsOMRemoteDictionaryResource1 *This, |
| 1408 | XPS_DOCUMENT_TYPE *documentType); |
| 1409 | |
| 1410 | HRESULT (STDMETHODCALLTYPE *Write1)( |
| 1411 | IXpsOMRemoteDictionaryResource1 *This, |
| 1412 | ISequentialStream *stream, |
| 1413 | XPS_DOCUMENT_TYPE documentType); |
| 1414 | |
| 1415 | END_INTERFACE |
| 1416 | } IXpsOMRemoteDictionaryResource1Vtbl; |
| 1417 | |
| 1418 | interface IXpsOMRemoteDictionaryResource1 { |
| 1419 | CONST_VTBL IXpsOMRemoteDictionaryResource1Vtbl* lpVtbl; |
| 1420 | }; |
| 1421 | |
| 1422 | #ifdef COBJMACROS |
| 1423 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 1424 | /*** IUnknown methods ***/ |
| 1425 | #define IXpsOMRemoteDictionaryResource1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1426 | #define IXpsOMRemoteDictionaryResource1_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1427 | #define IXpsOMRemoteDictionaryResource1_Release(This) (This)->lpVtbl->Release(This) |
| 1428 | /*** IXpsOMPart methods ***/ |
| 1429 | #define IXpsOMRemoteDictionaryResource1_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri) |
| 1430 | #define IXpsOMRemoteDictionaryResource1_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri) |
| 1431 | /*** IXpsOMRemoteDictionaryResource methods ***/ |
| 1432 | #define IXpsOMRemoteDictionaryResource1_GetDictionary(This,dictionary) (This)->lpVtbl->GetDictionary(This,dictionary) |
| 1433 | #define IXpsOMRemoteDictionaryResource1_SetDictionary(This,dictionary) (This)->lpVtbl->SetDictionary(This,dictionary) |
| 1434 | /*** IXpsOMRemoteDictionaryResource1 methods ***/ |
| 1435 | #define IXpsOMRemoteDictionaryResource1_GetDocumentType(This,documentType) (This)->lpVtbl->GetDocumentType(This,documentType) |
| 1436 | #define IXpsOMRemoteDictionaryResource1_Write1(This,stream,documentType) (This)->lpVtbl->Write1(This,stream,documentType) |
| 1437 | #else |
| 1438 | /*** IUnknown methods ***/ |
| 1439 | static inline HRESULT IXpsOMRemoteDictionaryResource1_QueryInterface(IXpsOMRemoteDictionaryResource1* This,REFIID riid,void **ppvObject) { |
| 1440 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1441 | } |
| 1442 | static inline ULONG IXpsOMRemoteDictionaryResource1_AddRef(IXpsOMRemoteDictionaryResource1* This) { |
| 1443 | return This->lpVtbl->AddRef(This); |
| 1444 | } |
| 1445 | static inline ULONG IXpsOMRemoteDictionaryResource1_Release(IXpsOMRemoteDictionaryResource1* This) { |
| 1446 | return This->lpVtbl->Release(This); |
| 1447 | } |
| 1448 | /*** IXpsOMPart methods ***/ |
| 1449 | static inline HRESULT IXpsOMRemoteDictionaryResource1_GetPartName(IXpsOMRemoteDictionaryResource1* This,IOpcPartUri **partUri) { |
| 1450 | return This->lpVtbl->GetPartName(This,partUri); |
| 1451 | } |
| 1452 | static inline HRESULT IXpsOMRemoteDictionaryResource1_SetPartName(IXpsOMRemoteDictionaryResource1* This,IOpcPartUri *partUri) { |
| 1453 | return This->lpVtbl->SetPartName(This,partUri); |
| 1454 | } |
| 1455 | /*** IXpsOMRemoteDictionaryResource methods ***/ |
| 1456 | static inline HRESULT IXpsOMRemoteDictionaryResource1_GetDictionary(IXpsOMRemoteDictionaryResource1* This,IXpsOMDictionary **dictionary) { |
| 1457 | return This->lpVtbl->GetDictionary(This,dictionary); |
| 1458 | } |
| 1459 | static inline HRESULT IXpsOMRemoteDictionaryResource1_SetDictionary(IXpsOMRemoteDictionaryResource1* This,IXpsOMDictionary *dictionary) { |
| 1460 | return This->lpVtbl->SetDictionary(This,dictionary); |
| 1461 | } |
| 1462 | /*** IXpsOMRemoteDictionaryResource1 methods ***/ |
| 1463 | static inline HRESULT IXpsOMRemoteDictionaryResource1_GetDocumentType(IXpsOMRemoteDictionaryResource1* This,XPS_DOCUMENT_TYPE *documentType) { |
| 1464 | return This->lpVtbl->GetDocumentType(This,documentType); |
| 1465 | } |
| 1466 | static inline HRESULT IXpsOMRemoteDictionaryResource1_Write1(IXpsOMRemoteDictionaryResource1* This,ISequentialStream *stream,XPS_DOCUMENT_TYPE documentType) { |
| 1467 | return This->lpVtbl->Write1(This,stream,documentType); |
| 1468 | } |
| 1469 | #endif |
| 1470 | #endif |
| 1471 | |
| 1472 | #endif |
| 1473 | |
| 1474 | |
| 1475 | #endif /* __IXpsOMRemoteDictionaryResource1_INTERFACE_DEFINED__ */ |
| 1476 | |
| 1477 | #endif |
| 1478 | #endif |
| 1479 | /* Begin additional prototypes for all interfaces */ |
| 1480 | |
| 1481 | |
| 1482 | /* End additional prototypes */ |
| 1483 | |
| 1484 | #ifdef __cplusplus |
| 1485 | } |
| 1486 | #endif |
| 1487 | |
| 1488 | #endif /* __xpsobjectmodel_1_h__ */ |