| 1 | /** | 
 
 
 
 
 | 2 | * This file is part of the mingw-w64 runtime package. | 
 
 
 
 
 | 3 | * No warranty is given; refer to the file DISCLAIMER within this package. | 
 
 
 
 
 | 4 | */ | 
 
 
 
 
 | 5 |  | 
 
 
 
 
 | 6 | import "oaidl.idl"; | 
 
 
 
 
 | 7 | import "ocidl.idl"; | 
 
 
 
 
 | 8 |  | 
 
 
 
 
 | 9 | cpp_quote("#include <winapifamily.h>") | 
 
 
 
 
 | 10 | cpp_quote("") | 
 
 
 
 
 | 11 | cpp_quote("#if NTDDI_VERSION >= 0x06010000") | 
 
 
 
 
 | 12 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | 
 
 
 
 
 | 13 | import "msopc.idl"; | 
 
 
 
 
 | 14 | cpp_quote("#endif") | 
 
 
 
 
 | 15 |  | 
 
 
 
 
 | 16 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)") | 
 
 
 
 
 | 17 | cpp_quote("#define XPS_E_INVALID_LANGUAGE MAKE_HRESULT(1, FACILITY_XPS, 0x0)") | 
 
 
 
 
 | 18 | cpp_quote("#define XPS_E_INVALID_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x1)") | 
 
 
 
 
 | 19 | cpp_quote("#define XPS_E_INVALID_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x2)") | 
 
 
 
 
 | 20 | cpp_quote("#define XPS_E_INVALID_PAGE_SIZE MAKE_HRESULT(1, FACILITY_XPS, 0x3)") | 
 
 
 
 
 | 21 | cpp_quote("#define XPS_E_INVALID_BLEED_BOX MAKE_HRESULT(1, FACILITY_XPS, 0x4)") | 
 
 
 
 
 | 22 | cpp_quote("#define XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x5)") | 
 
 
 
 
 | 23 | cpp_quote("#define XPS_E_INVALID_LOOKUP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x6)") | 
 
 
 
 
 | 24 | cpp_quote("#define XPS_E_INVALID_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x7)") | 
 
 
 
 
 | 25 | cpp_quote("#define XPS_E_UNEXPECTED_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x8)") | 
 
 
 
 
 | 26 | cpp_quote("#define XPS_E_INVALID_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xa)") | 
 
 
 
 
 | 27 | cpp_quote("#define XPS_E_INVALID_CONTENT_BOX MAKE_HRESULT(1, FACILITY_XPS, 0xb)") | 
 
 
 
 
 | 28 | cpp_quote("#define XPS_E_INVALID_MARKUP MAKE_HRESULT(1, FACILITY_XPS, 0xc)") | 
 
 
 
 
 | 29 | cpp_quote("#define XPS_E_INVALID_XML_ENCODING MAKE_HRESULT(1, FACILITY_XPS, 0xd)") | 
 
 
 
 
 | 30 | cpp_quote("#define XPS_E_INVALID_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0xe)") | 
 
 
 
 
 | 31 | cpp_quote("#define XPS_E_INVALID_OBFUSCATED_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xf)") | 
 
 
 
 
 | 32 | cpp_quote("#define XPS_E_UNEXPECTED_RELATIONSHIP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x10)") | 
 
 
 
 
 | 33 | cpp_quote("#define XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x11)") | 
 
 
 
 
 | 34 | cpp_quote("#define XPS_E_MISSING_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x100)") | 
 
 
 
 
 | 35 | cpp_quote("#define XPS_E_MISSING_LOOKUP MAKE_HRESULT(1, FACILITY_XPS, 0x101)") | 
 
 
 
 
 | 36 | cpp_quote("#define XPS_E_MISSING_GLYPHS MAKE_HRESULT(1, FACILITY_XPS, 0x102)") | 
 
 
 
 
 | 37 | cpp_quote("#define XPS_E_MISSING_SEGMENT_DATA MAKE_HRESULT(1, FACILITY_XPS, 0x103)") | 
 
 
 
 
 | 38 | cpp_quote("#define XPS_E_MISSING_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x104)") | 
 
 
 
 
 | 39 | cpp_quote("#define XPS_E_MISSING_RELATIONSHIP_TARGET MAKE_HRESULT(1, FACILITY_XPS, 0x105)") | 
 
 
 
 
 | 40 | cpp_quote("#define XPS_E_MISSING_RESOURCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x106)") | 
 
 
 
 
 | 41 | cpp_quote("#define XPS_E_MISSING_FONTURI MAKE_HRESULT(1, FACILITY_XPS, 0x107)") | 
 
 
 
 
 | 42 | cpp_quote("#define XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x108)") | 
 
 
 
 
 | 43 | cpp_quote("#define XPS_E_MISSING_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x109)") | 
 
 
 
 
 | 44 | cpp_quote("#define XPS_E_MISSING_REFERRED_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10a)") | 
 
 
 
 
 | 45 | cpp_quote("#define XPS_E_MISSING_REFERRED_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x10b)") | 
 
 
 
 
 | 46 | cpp_quote("#define XPS_E_MISSING_PAGE_IN_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10c)") | 
 
 
 
 
 | 47 | cpp_quote("#define XPS_E_MISSING_PAGE_IN_PAGEREFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x10d)") | 
 
 
 
 
 | 48 | cpp_quote("#define XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH MAKE_HRESULT(1, FACILITY_XPS, 0x10e)") | 
 
 
 
 
 | 49 | cpp_quote("#define XPS_E_MISSING_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x10f)") | 
 
 
 
 
 | 50 | cpp_quote("#define XPS_E_MISSING_PART_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x110)") | 
 
 
 
 
 | 51 | cpp_quote("#define XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x111)") | 
 
 
 
 
 | 52 | cpp_quote("#define XPS_E_MISSING_DISCARDCONTROL MAKE_HRESULT(1, FACILITY_XPS, 0x112)") | 
 
 
 
 
 | 53 | cpp_quote("#define XPS_E_MISSING_PART_STREAM MAKE_HRESULT(1, FACILITY_XPS, 0x113)") | 
 
 
 
 
 | 54 | cpp_quote("#define XPS_E_UNAVAILABLE_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x114)") | 
 
 
 
 
 | 55 | cpp_quote("#define XPS_E_DUPLICATE_RESOURCE_KEYS MAKE_HRESULT(1, FACILITY_XPS, 0x200)") | 
 
 
 
 
 | 56 | cpp_quote("#define XPS_E_MULTIPLE_RESOURCES MAKE_HRESULT(1, FACILITY_XPS, 0x201)") | 
 
 
 
 
 | 57 | cpp_quote("#define XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS MAKE_HRESULT(1, FACILITY_XPS, 0x202)") | 
 
 
 
 
 | 58 | cpp_quote("#define XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x203)") | 
 
 
 
 
 | 59 | cpp_quote("#define XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x204)") | 
 
 
 
 
 | 60 | cpp_quote("#define XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x205)") | 
 
 
 
 
 | 61 | cpp_quote("#define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x206)") | 
 
 
 
 
 | 62 | cpp_quote("#define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE MAKE_HRESULT(1, FACILITY_XPS, 0x207)") | 
 
 
 
 
 | 63 | cpp_quote("#define XPS_E_MULTIPLE_REFERENCES_TO_PART MAKE_HRESULT(1, FACILITY_XPS, 0x208)") | 
 
 
 
 
 | 64 | cpp_quote("#define XPS_E_DUPLICATE_NAMES MAKE_HRESULT(1, FACILITY_XPS, 0x209)") | 
 
 
 
 
 | 65 | cpp_quote("#define XPS_E_STRING_TOO_LONG MAKE_HRESULT(1, FACILITY_XPS, 0x300)") | 
 
 
 
 
 | 66 | cpp_quote("#define XPS_E_TOO_MANY_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x301)") | 
 
 
 
 
 | 67 | cpp_quote("#define XPS_E_MAPPING_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x302)") | 
 
 
 
 
 | 68 | cpp_quote("#define XPS_E_MAPPING_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x303)") | 
 
 
 
 
 | 69 | cpp_quote("#define XPS_E_MAPPING_OUTSIDE_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x304)") | 
 
 
 
 
 | 70 | cpp_quote("#define XPS_E_CARET_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x305)") | 
 
 
 
 
 | 71 | cpp_quote("#define XPS_E_CARET_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x306)") | 
 
 
 
 
 | 72 | cpp_quote("#define XPS_E_ODD_BIDILEVEL MAKE_HRESULT(1, FACILITY_XPS, 0x307)") | 
 
 
 
 
 | 73 | cpp_quote("#define XPS_E_ONE_TO_ONE_MAPPING_EXPECTED MAKE_HRESULT(1, FACILITY_XPS, 0x308)") | 
 
 
 
 
 | 74 | cpp_quote("#define XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED MAKE_HRESULT(1, FACILITY_XPS, 0x309)") | 
 
 
 
 
 | 75 | cpp_quote("#define XPS_E_NEGATIVE_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x30a)") | 
 
 
 
 
 | 76 | cpp_quote("#define XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT MAKE_HRESULT(1, FACILITY_XPS, 0x400)") | 
 
 
 
 
 | 77 | cpp_quote("#define XPS_E_DICTIONARY_ITEM_NAMED MAKE_HRESULT(1, FACILITY_XPS, 0x401)") | 
 
 
 
 
 | 78 | cpp_quote("#define XPS_E_NESTED_REMOTE_DICTIONARY MAKE_HRESULT(1, FACILITY_XPS, 0x402)") | 
 
 
 
 
 | 79 | cpp_quote("#define XPS_E_INDEX_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x500)") | 
 
 
 
 
 | 80 | cpp_quote("#define XPS_E_VISUAL_CIRCULAR_REF MAKE_HRESULT(1, FACILITY_XPS, 0x501)") | 
 
 
 
 
 | 81 | cpp_quote("#define XPS_E_NO_CUSTOM_OBJECTS MAKE_HRESULT(1, FACILITY_XPS, 0x502)") | 
 
 
 
 
 | 82 | cpp_quote("#define XPS_E_ALREADY_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x503)") | 
 
 
 
 
 | 83 | cpp_quote("#define XPS_E_RESOURCE_NOT_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x504)") | 
 
 
 
 
 | 84 | cpp_quote("#define XPS_E_UNEXPECTED_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x505)") | 
 
 
 
 
 | 85 | cpp_quote("#define XPS_E_COLOR_COMPONENT_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x506)") | 
 
 
 
 
 | 86 | cpp_quote("#define XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x507)") | 
 
 
 
 
 | 87 | cpp_quote("#define XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x508)") | 
 
 
 
 
 | 88 | cpp_quote("#define XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC MAKE_HRESULT(1, FACILITY_XPS, 0x509)") | 
 
 
 
 
 | 89 | cpp_quote("#define XPS_E_RELATIONSHIP_EXTERNAL MAKE_HRESULT(1, FACILITY_XPS, 0x50a)") | 
 
 
 
 
 | 90 | cpp_quote("#define XPS_E_NOT_ENOUGH_GRADIENT_STOPS MAKE_HRESULT(1, FACILITY_XPS, 0x50b)") | 
 
 
 
 
 | 91 | cpp_quote("#define XPS_E_PACKAGE_WRITER_NOT_CLOSED MAKE_HRESULT(1, FACILITY_XPS, 0x50c)") | 
 
 
 
 
 | 92 |  | 
 
 
 
 
 | 93 | interface IXpsOMDocumentStructureResource; | 
 
 
 
 
 | 94 | interface IXpsOMCoreProperties; | 
 
 
 
 
 | 95 | interface IXpsOMPrintTicketResource; | 
 
 
 
 
 | 96 | interface IXpsOMStoryFragmentsResource; | 
 
 
 
 
 | 97 | interface IXpsOMPackage; | 
 
 
 
 
 | 98 | interface IXpsOMPart; | 
 
 
 
 
 | 99 | interface IXpsOMShareable; | 
 
 
 
 
 | 100 | interface IXpsOMVisual; | 
 
 
 
 
 | 101 | interface IXpsOMBrush; | 
 
 
 
 
 | 102 | interface IXpsOMTileBrush; | 
 
 
 
 
 | 103 | interface IXpsOMResource; | 
 
 
 
 
 | 104 | interface IXpsOMCanvas; | 
 
 
 
 
 | 105 | interface IXpsOMColorProfileResource; | 
 
 
 
 
 | 106 | interface IXpsOMColorProfileResourceCollection; | 
 
 
 
 
 | 107 | interface IXpsOMDashCollection; | 
 
 
 
 
 | 108 | interface IXpsOMFontResource; | 
 
 
 
 
 | 109 | interface IXpsOMFontResourceCollection; | 
 
 
 
 
 | 110 | interface IXpsOMGeometry; | 
 
 
 
 
 | 111 | interface IXpsOMGeometryFigure; | 
 
 
 
 
 | 112 | interface IXpsOMGeometryFigureCollection; | 
 
 
 
 
 | 113 | interface IXpsOMGlyphs; | 
 
 
 
 
 | 114 | interface IXpsOMGradientBrush; | 
 
 
 
 
 | 115 | interface IXpsOMGradientStop; | 
 
 
 
 
 | 116 | interface IXpsOMGradientStopCollection; | 
 
 
 
 
 | 117 | interface IXpsOMImageBrush; | 
 
 
 
 
 | 118 | interface IXpsOMImageResource; | 
 
 
 
 
 | 119 | interface IXpsOMImageResourceCollection; | 
 
 
 
 
 | 120 | interface IXpsOMLinearGradientBrush; | 
 
 
 
 
 | 121 | interface IXpsOMMatrixTransform; | 
 
 
 
 
 | 122 | interface IXpsOMPartResources; | 
 
 
 
 
 | 123 | interface IXpsOMPath; | 
 
 
 
 
 | 124 | interface IXpsOMPartUriCollection; | 
 
 
 
 
 | 125 | interface IXpsOMRadialGradientBrush; | 
 
 
 
 
 | 126 | interface IXpsOMRemoteDictionaryResource; | 
 
 
 
 
 | 127 | interface IXpsOMRemoteDictionaryResourceCollection; | 
 
 
 
 
 | 128 | interface IXpsOMDictionary; | 
 
 
 
 
 | 129 | interface IXpsOMShareable; | 
 
 
 
 
 | 130 | interface IXpsOMSolidColorBrush; | 
 
 
 
 
 | 131 | interface IXpsOMTileBrush; | 
 
 
 
 
 | 132 | interface IXpsOMVisualBrush; | 
 
 
 
 
 | 133 | interface IXpsOMVisualCollection; | 
 
 
 
 
 | 134 | interface IXpsOMPageReference; | 
 
 
 
 
 | 135 | interface IXpsOMDocumentSequence; | 
 
 
 
 
 | 136 | interface IXpsOMSignatureBlockResource; | 
 
 
 
 
 | 137 | interface IXpsOMSignatureBlockResourceCollection; | 
 
 
 
 
 | 138 | interface IXpsOMNameCollection; | 
 
 
 
 
 | 139 | interface IXpsOMDocument; | 
 
 
 
 
 | 140 | interface IXpsOMPage; | 
 
 
 
 
 | 141 | interface IXpsOMPackageWriter; | 
 
 
 
 
 | 142 | interface IXpsOMPackageTarget; | 
 
 
 
 
 | 143 |  | 
 
 
 
 
 | 144 | typedef [v1_enum] enum { | 
 
 
 
 
 | 145 | XPS_COLOR_INTERPOLATION_SCRGBLINEAR = 1, | 
 
 
 
 
 | 146 | XPS_COLOR_INTERPOLATION_SRGBLINEAR | 
 
 
 
 
 | 147 | } XPS_COLOR_INTERPOLATION; | 
 
 
 
 
 | 148 |  | 
 
 
 
 
 | 149 | typedef [v1_enum] enum { | 
 
 
 
 
 | 150 | XPS_COLOR_TYPE_SRGB = 1, | 
 
 
 
 
 | 151 | XPS_COLOR_TYPE_SCRGB, | 
 
 
 
 
 | 152 | XPS_COLOR_TYPE_CONTEXT | 
 
 
 
 
 | 153 | } XPS_COLOR_TYPE; | 
 
 
 
 
 | 154 |  | 
 
 
 
 
 | 155 | typedef [v1_enum] enum { | 
 
 
 
 
 | 156 | XPS_DASH_CAP_FLAT = 1, | 
 
 
 
 
 | 157 | XPS_DASH_CAP_ROUND, | 
 
 
 
 
 | 158 | XPS_DASH_CAP_SQUARE, | 
 
 
 
 
 | 159 | XPS_DASH_CAP_TRIANGLE | 
 
 
 
 
 | 160 | } XPS_DASH_CAP; | 
 
 
 
 
 | 161 |  | 
 
 
 
 
 | 162 | typedef [v1_enum] enum { | 
 
 
 
 
 | 163 | XPS_FILL_RULE_EVENODD = 1, | 
 
 
 
 
 | 164 | XPS_FILL_RULE_NONZERO | 
 
 
 
 
 | 165 | } XPS_FILL_RULE; | 
 
 
 
 
 | 166 |  | 
 
 
 
 
 | 167 | typedef [v1_enum] enum { | 
 
 
 
 
 | 168 | XPS_FONT_EMBEDDING_NORMAL = 1, | 
 
 
 
 
 | 169 | XPS_FONT_EMBEDDING_OBFUSCATED, | 
 
 
 
 
 | 170 | XPS_FONT_EMBEDDING_RESTRICTED, | 
 
 
 
 
 | 171 | XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED | 
 
 
 
 
 | 172 | } XPS_FONT_EMBEDDING; | 
 
 
 
 
 | 173 |  | 
 
 
 
 
 | 174 | typedef [v1_enum] enum { | 
 
 
 
 
 | 175 | XPS_IMAGE_TYPE_JPEG = 1, | 
 
 
 
 
 | 176 | XPS_IMAGE_TYPE_PNG, | 
 
 
 
 
 | 177 | XPS_IMAGE_TYPE_TIFF, | 
 
 
 
 
 | 178 | XPS_IMAGE_TYPE_WDP, | 
 
 
 
 
 | 179 | XPS_IMAGE_TYPE_JXR | 
 
 
 
 
 | 180 | } XPS_IMAGE_TYPE; | 
 
 
 
 
 | 181 |  | 
 
 
 
 
 | 182 | typedef [v1_enum] enum { | 
 
 
 
 
 | 183 | XPS_INTERLEAVING_OFF = 1, | 
 
 
 
 
 | 184 | XPS_INTERLEAVING_ON, | 
 
 
 
 
 | 185 | } XPS_INTERLEAVING; | 
 
 
 
 
 | 186 |  | 
 
 
 
 
 | 187 | typedef [v1_enum] enum { | 
 
 
 
 
 | 188 | XPS_LINE_CAP_FLAT = 1, | 
 
 
 
 
 | 189 | XPS_LINE_CAP_ROUND, | 
 
 
 
 
 | 190 | XPS_LINE_CAP_SQUARE, | 
 
 
 
 
 | 191 | XPS_LINE_CAP_TRIANGLE | 
 
 
 
 
 | 192 | } XPS_LINE_CAP; | 
 
 
 
 
 | 193 |  | 
 
 
 
 
 | 194 | typedef [v1_enum] enum { | 
 
 
 
 
 | 195 | XPS_LINE_JOIN_MITER = 1, | 
 
 
 
 
 | 196 | XPS_LINE_JOIN_BEVEL, | 
 
 
 
 
 | 197 | XPS_LINE_JOIN_ROUND | 
 
 
 
 
 | 198 | } XPS_LINE_JOIN; | 
 
 
 
 
 | 199 |  | 
 
 
 
 
 | 200 | typedef [v1_enum] enum { | 
 
 
 
 
 | 201 | XPS_OBJECT_TYPE_CANVAS = 1, | 
 
 
 
 
 | 202 | XPS_OBJECT_TYPE_GLYPHS, | 
 
 
 
 
 | 203 | XPS_OBJECT_TYPE_PATH, | 
 
 
 
 
 | 204 | XPS_OBJECT_TYPE_MATRIX_TRANSFORM, | 
 
 
 
 
 | 205 | XPS_OBJECT_TYPE_GEOMETRY, | 
 
 
 
 
 | 206 | XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH, | 
 
 
 
 
 | 207 | XPS_OBJECT_TYPE_IMAGE_BRUSH, | 
 
 
 
 
 | 208 | XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH, | 
 
 
 
 
 | 209 | XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH, | 
 
 
 
 
 | 210 | XPS_OBJECT_TYPE_VISUAL_BRUSH | 
 
 
 
 
 | 211 | } XPS_OBJECT_TYPE; | 
 
 
 
 
 | 212 |  | 
 
 
 
 
 | 213 | typedef [v1_enum] enum { | 
 
 
 
 
 | 214 | XPS_SEGMENT_STROKE_PATTERN_ALL = 1, | 
 
 
 
 
 | 215 | XPS_SEGMENT_STROKE_PATTERN_NONE, | 
 
 
 
 
 | 216 | XPS_SEGMENT_STROKE_PATTERN_MIXED | 
 
 
 
 
 | 217 | } XPS_SEGMENT_STROKE_PATTERN; | 
 
 
 
 
 | 218 |  | 
 
 
 
 
 | 219 | typedef [v1_enum] enum { | 
 
 
 
 
 | 220 | XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE = 1, | 
 
 
 
 
 | 221 | XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE, | 
 
 
 
 
 | 222 | XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE, | 
 
 
 
 
 | 223 | XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE, | 
 
 
 
 
 | 224 | XPS_SEGMENT_TYPE_BEZIER, | 
 
 
 
 
 | 225 | XPS_SEGMENT_TYPE_LINE, | 
 
 
 
 
 | 226 | XPS_SEGMENT_TYPE_QUADRATIC_BEZIER | 
 
 
 
 
 | 227 | } XPS_SEGMENT_TYPE; | 
 
 
 
 
 | 228 |  | 
 
 
 
 
 | 229 | typedef [v1_enum] enum { | 
 
 
 
 
 | 230 | XPS_SPREAD_METHOD_PAD = 1, | 
 
 
 
 
 | 231 | XPS_SPREAD_METHOD_REFLECT, | 
 
 
 
 
 | 232 | XPS_SPREAD_METHOD_REPEAT | 
 
 
 
 
 | 233 | } XPS_SPREAD_METHOD; | 
 
 
 
 
 | 234 |  | 
 
 
 
 
 | 235 | typedef [v1_enum] enum { | 
 
 
 
 
 | 236 | XPS_STYLE_SIMULATION_NONE = 1, | 
 
 
 
 
 | 237 | XPS_STYLE_SIMULATION_ITALIC, | 
 
 
 
 
 | 238 | XPS_STYLE_SIMULATION_BOLD, | 
 
 
 
 
 | 239 | XPS_STYLE_SIMULATION_BOLDITALIC | 
 
 
 
 
 | 240 | } XPS_STYLE_SIMULATION; | 
 
 
 
 
 | 241 |  | 
 
 
 
 
 | 242 | typedef [v1_enum] enum { | 
 
 
 
 
 | 243 | XPS_THUMBNAIL_SIZE_VERYSMALL = 1, | 
 
 
 
 
 | 244 | XPS_THUMBNAIL_SIZE_SMALL, | 
 
 
 
 
 | 245 | XPS_THUMBNAIL_SIZE_MEDIUM, | 
 
 
 
 
 | 246 | XPS_THUMBNAIL_SIZE_LARGE | 
 
 
 
 
 | 247 | } XPS_THUMBNAIL_SIZE; | 
 
 
 
 
 | 248 |  | 
 
 
 
 
 | 249 | typedef [v1_enum] enum { | 
 
 
 
 
 | 250 | XPS_TILE_MODE_NONE = 1, | 
 
 
 
 
 | 251 | XPS_TILE_MODE_TILE, | 
 
 
 
 
 | 252 | XPS_TILE_MODE_FLIPX, | 
 
 
 
 
 | 253 | XPS_TILE_MODE_FLIPY, | 
 
 
 
 
 | 254 | XPS_TILE_MODE_FLIPXY | 
 
 
 
 
 | 255 | } XPS_TILE_MODE; | 
 
 
 
 
 | 256 |  | 
 
 
 
 
 | 257 | typedef union switch (XPS_COLOR_TYPE colorType) value { | 
 
 
 
 
 | 258 | case XPS_COLOR_TYPE_SRGB: struct { | 
 
 
 
 
 | 259 | UINT8 alpha, red, green, blue; | 
 
 
 
 
 | 260 | } sRGB; | 
 
 
 
 
 | 261 | case XPS_COLOR_TYPE_SCRGB: struct { | 
 
 
 
 
 | 262 | FLOAT alpha, red, green, blue; | 
 
 
 
 
 | 263 | } scRGB; | 
 
 
 
 
 | 264 | case XPS_COLOR_TYPE_CONTEXT: struct { | 
 
 
 
 
 | 265 | UINT8 channelCount; | 
 
 
 
 
 | 266 | FLOAT channels[9]; | 
 
 
 
 
 | 267 | } context; | 
 
 
 
 
 | 268 | } XPS_COLOR; | 
 
 
 
 
 | 269 |  | 
 
 
 
 
 | 270 | typedef struct { | 
 
 
 
 
 | 271 | FLOAT length; | 
 
 
 
 
 | 272 | FLOAT gap; | 
 
 
 
 
 | 273 | } XPS_DASH; | 
 
 
 
 
 | 274 |  | 
 
 
 
 
 | 275 | typedef struct { | 
 
 
 
 
 | 276 | LONG index; | 
 
 
 
 
 | 277 | FLOAT advanceWidth; | 
 
 
 
 
 | 278 | FLOAT horizontalOffset; | 
 
 
 
 
 | 279 | FLOAT verticalOffset; | 
 
 
 
 
 | 280 | } XPS_GLYPH_INDEX; | 
 
 
 
 
 | 281 |  | 
 
 
 
 
 | 282 | typedef struct { | 
 
 
 
 
 | 283 | UINT32 unicodeStringStart; | 
 
 
 
 
 | 284 | UINT16 unicodeStringLength; | 
 
 
 
 
 | 285 | UINT32 glyphIndicesStart; | 
 
 
 
 
 | 286 | UINT16 glyphIndicesLength; | 
 
 
 
 
 | 287 | } XPS_GLYPH_MAPPING; | 
 
 
 
 
 | 288 |  | 
 
 
 
 
 | 289 | typedef struct { | 
 
 
 
 
 | 290 | FLOAT m11, m12, m21, m22, m31, m32; | 
 
 
 
 
 | 291 | } XPS_MATRIX; | 
 
 
 
 
 | 292 |  | 
 
 
 
 
 | 293 | typedef struct { | 
 
 
 
 
 | 294 | FLOAT x; | 
 
 
 
 
 | 295 | FLOAT y; | 
 
 
 
 
 | 296 | } XPS_POINT; | 
 
 
 
 
 | 297 |  | 
 
 
 
 
 | 298 | typedef struct { | 
 
 
 
 
 | 299 | FLOAT x; | 
 
 
 
 
 | 300 | FLOAT y; | 
 
 
 
 
 | 301 | FLOAT width; | 
 
 
 
 
 | 302 | FLOAT height; | 
 
 
 
 
 | 303 | } XPS_RECT; | 
 
 
 
 
 | 304 |  | 
 
 
 
 
 | 305 | typedef struct { | 
 
 
 
 
 | 306 | FLOAT width; | 
 
 
 
 
 | 307 | FLOAT height; | 
 
 
 
 
 | 308 | } XPS_SIZE; | 
 
 
 
 
 | 309 |  | 
 
 
 
 
 | 310 | [object, uuid (7137398f-2fc1-454d-8c6a-2c3115a16ece)] | 
 
 
 
 
 | 311 | interface IXpsOMShareable : IUnknown { | 
 
 
 
 
 | 312 | HRESULT GetOwner ([out, retval] IUnknown **owner); | 
 
 
 
 
 | 313 | HRESULT GetType ([out, retval] XPS_OBJECT_TYPE *type); | 
 
 
 
 
 | 314 | } | 
 
 
 
 
 | 315 |  | 
 
 
 
 
 | 316 | [object, uuid (74eb2f0b-a91e-4486-afac-0fabeca3dfc6)] | 
 
 
 
 
 | 317 | interface IXpsOMPart : IUnknown { | 
 
 
 
 
 | 318 | HRESULT GetPartName ([out, retval] IOpcPartUri **partUri); | 
 
 
 
 
 | 319 | HRESULT SetPartName ([in] IOpcPartUri *partUri); | 
 
 
 
 
 | 320 | } | 
 
 
 
 
 | 321 |  | 
 
 
 
 
 | 322 | [object, uuid (A5AB8616-5b16-4b9f-9629-89b323ed7909)] | 
 
 
 
 
 | 323 | interface IXpsOMGlyphsEditor : IUnknown { | 
 
 
 
 
 | 324 | HRESULT ApplyEdits (); | 
 
 
 
 
 | 325 | HRESULT GetUnicodeString ([out, string, retval] LPWSTR *unicodeString); | 
 
 
 
 
 | 326 | HRESULT SetUnicodeString ([in, string] LPCWSTR unicodeString); | 
 
 
 
 
 | 327 | HRESULT GetGlyphIndexCount ([out, retval] UINT32 *indexCount); | 
 
 
 
 
 | 328 | HRESULT GetGlyphIndices ([in, out] UINT32 *indexCount,[out] XPS_GLYPH_INDEX *glyphIndices); | 
 
 
 
 
 | 329 | HRESULT SetGlyphIndices ([in] UINT32 indexCount,[in] const XPS_GLYPH_INDEX *glyphIndices); | 
 
 
 
 
 | 330 | HRESULT GetGlyphMappingCount ([out, retval] UINT32 *glyphMappingCount); | 
 
 
 
 
 | 331 | HRESULT GetGlyphMappings ([in, out] UINT32 *glyphMappingCount,[out] XPS_GLYPH_MAPPING *glyphMappings); | 
 
 
 
 
 | 332 | HRESULT SetGlyphMappings ([in] UINT32 glyphMappingCount,[in] const XPS_GLYPH_MAPPING *glyphMappings); | 
 
 
 
 
 | 333 | HRESULT GetProhibitedCaretStopCount ([out, retval] UINT32 *prohibitedCaretStopCount); | 
 
 
 
 
 | 334 | HRESULT GetProhibitedCaretStops ([in, out] UINT32 *count,[out] UINT32 *prohibitedCaretStops); | 
 
 
 
 
 | 335 | HRESULT SetProhibitedCaretStops ([in] UINT32 count,[in] const UINT32 *prohibitedCaretStops); | 
 
 
 
 
 | 336 | HRESULT GetBidiLevel ([out, retval] UINT32 *bidiLevel); | 
 
 
 
 
 | 337 | HRESULT SetBidiLevel ([in] UINT32 bidiLevel); | 
 
 
 
 
 | 338 | HRESULT GetIsSideways ([out, retval] BOOL *isSideways); | 
 
 
 
 
 | 339 | HRESULT SetIsSideways ([in] BOOL isSideways); | 
 
 
 
 
 | 340 | HRESULT GetDeviceFontName ([out, string, retval] LPWSTR *deviceFontName); | 
 
 
 
 
 | 341 | HRESULT SetDeviceFontName ([in, string] LPCWSTR deviceFontName); | 
 
 
 
 
 | 342 | } | 
 
 
 
 
 | 343 |  | 
 
 
 
 
 | 344 | [object, uuid (081613f4-74eb-48f2-83b3-37a9ce2d7dc6)] | 
 
 
 
 
 | 345 | interface IXpsOMDashCollection : IUnknown { | 
 
 
 
 
 | 346 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 347 | HRESULT GetAt ([in] UINT32 index,[out, retval] XPS_DASH *dash); | 
 
 
 
 
 | 348 | HRESULT InsertAt ([in] UINT32 index,[in] const XPS_DASH *dash); | 
 
 
 
 
 | 349 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 350 | HRESULT SetAt ([in] UINT32 index,[in] const XPS_DASH *dash); | 
 
 
 
 
 | 351 | HRESULT Append ([in] const XPS_DASH *dash); | 
 
 
 
 
 | 352 | } | 
 
 
 
 
 | 353 |  | 
 
 
 
 
 | 354 | [object, uuid (D410DC83-908c-443e-8947-B1795D3C165A)] | 
 
 
 
 
 | 355 | interface IXpsOMGeometryFigure : IUnknown { | 
 
 
 
 
 | 356 | HRESULT GetOwner ([out, retval] IXpsOMGeometry **owner); | 
 
 
 
 
 | 357 | HRESULT GetSegmentData ([in, out] UINT32 *dataCount,[in, out] FLOAT *segmentData); | 
 
 
 
 
 | 358 | HRESULT GetSegmentTypes ([in, out] UINT32 *segmentCount,[in, out] XPS_SEGMENT_TYPE *segmentTypes); | 
 
 
 
 
 | 359 | HRESULT GetSegmentStrokes ([in, out] UINT32 *segmentCount,[in, out] BOOL *segmentStrokes); | 
 
 
 
 
 | 360 | HRESULT SetSegments ([in] UINT32 segmentCount,[in] UINT32 segmentDataCount,[in] const XPS_SEGMENT_TYPE *segmentTypes,[in] const FLOAT *segmentData,[in] const BOOL *segmentStrokes); | 
 
 
 
 
 | 361 | HRESULT GetStartPoint ([out, retval] XPS_POINT *startPoint); | 
 
 
 
 
 | 362 | HRESULT SetStartPoint ([in] const XPS_POINT *startPoint); | 
 
 
 
 
 | 363 | HRESULT GetIsClosed ([out, retval] BOOL *isClosed); | 
 
 
 
 
 | 364 | HRESULT SetIsClosed ([in] BOOL isClosed); | 
 
 
 
 
 | 365 | HRESULT GetIsFilled ([out, retval] BOOL *isFilled); | 
 
 
 
 
 | 366 | HRESULT SetIsFilled ([in] BOOL isFilled); | 
 
 
 
 
 | 367 | HRESULT GetSegmentCount ([out, retval] UINT32 *segmentCount); | 
 
 
 
 
 | 368 | HRESULT GetSegmentDataCount ([out, retval] UINT32 *segmentDataCount); | 
 
 
 
 
 | 369 | HRESULT GetSegmentStrokePattern ([out, retval] XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern); | 
 
 
 
 
 | 370 | HRESULT Clone ([out, retval] IXpsOMGeometryFigure **geometryFigure); | 
 
 
 
 
 | 371 | } | 
 
 
 
 
 | 372 |  | 
 
 
 
 
 | 373 | [object, uuid (FD48C3F3-A58E-4b5a-8826-1de54abe72b2)] | 
 
 
 
 
 | 374 | interface IXpsOMGeometryFigureCollection : IUnknown { | 
 
 
 
 
 | 375 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 376 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMGeometryFigure **geometryFigure); | 
 
 
 
 
 | 377 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMGeometryFigure *geometryFigure); | 
 
 
 
 
 | 378 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 379 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMGeometryFigure *geometryFigure); | 
 
 
 
 
 | 380 | HRESULT Append ([in] IXpsOMGeometryFigure *geometryFigure); | 
 
 
 
 
 | 381 | } | 
 
 
 
 
 | 382 |  | 
 
 
 
 
 | 383 | [object, uuid (C9174C3A-3cd3-4319-BDA4-11a39392ceef)] | 
 
 
 
 
 | 384 | interface IXpsOMGradientStopCollection : IUnknown { | 
 
 
 
 
 | 385 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 386 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMGradientStop **stop); | 
 
 
 
 
 | 387 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMGradientStop *stop); | 
 
 
 
 
 | 388 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 389 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMGradientStop *stop); | 
 
 
 
 
 | 390 | HRESULT Append ([in] IXpsOMGradientStop *stop); | 
 
 
 
 
 | 391 | } | 
 
 
 
 
 | 392 |  | 
 
 
 
 
 | 393 | [object, uuid (5cf4f5cc-3969-49b5-A70A-5550b618fe49)] | 
 
 
 
 
 | 394 | interface IXpsOMGradientStop : IUnknown { | 
 
 
 
 
 | 395 | HRESULT GetOwner ([out, retval] IXpsOMGradientBrush **owner); | 
 
 
 
 
 | 396 | HRESULT GetOffset ([out, retval] FLOAT *offset); | 
 
 
 
 
 | 397 | HRESULT SetOffset ([in] FLOAT offset); | 
 
 
 
 
 | 398 | HRESULT GetColor ([out] XPS_COLOR *color,[out, retval] IXpsOMColorProfileResource **colorProfile); | 
 
 
 
 
 | 399 | HRESULT SetColor ([in] const XPS_COLOR *color,[in] IXpsOMColorProfileResource *colorProfile); | 
 
 
 
 
 | 400 | HRESULT Clone ([out, retval] IXpsOMGradientStop **gradientStop); | 
 
 
 
 
 | 401 | } | 
 
 
 
 
 | 402 |  | 
 
 
 
 
 | 403 | [object, uuid (f4cf7729-4864-4275-99b3-a8717163ecaf)] | 
 
 
 
 
 | 404 | interface IXpsOMPartResources : IUnknown { | 
 
 
 
 
 | 405 | HRESULT GetFontResources ([out, retval] IXpsOMFontResourceCollection **fontResources); | 
 
 
 
 
 | 406 | HRESULT GetImageResources ([out, retval] IXpsOMImageResourceCollection **imageResources); | 
 
 
 
 
 | 407 | HRESULT GetColorProfileResources ([out, retval] IXpsOMColorProfileResourceCollection **colorProfileResources); | 
 
 
 
 
 | 408 | HRESULT GetRemoteDictionaryResources ([out, retval] IXpsOMRemoteDictionaryResourceCollection **dictionaryResources); | 
 
 
 
 
 | 409 | } | 
 
 
 
 
 | 410 |  | 
 
 
 
 
 | 411 | [object, uuid (70b4a6bb-88d4-4fa8-AAF9-6d9c596fdbad)] | 
 
 
 
 
 | 412 | interface IXpsOMFontResourceCollection : IUnknown { | 
 
 
 
 
 | 413 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 414 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMFontResource **value); | 
 
 
 
 
 | 415 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMFontResource *value); | 
 
 
 
 
 | 416 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMFontResource *value); | 
 
 
 
 
 | 417 | HRESULT Append ([in] IXpsOMFontResource *value); | 
 
 
 
 
 | 418 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 419 | HRESULT GetByPartName ([in] IOpcPartUri *partName,[out, retval] IXpsOMFontResource **part); | 
 
 
 
 
 | 420 | } | 
 
 
 
 
 | 421 |  | 
 
 
 
 
 | 422 | [object, uuid (7a4a1a71-9cde-4b71-B33F-62de843eabfe)] | 
 
 
 
 
 | 423 | interface IXpsOMImageResourceCollection : IUnknown { | 
 
 
 
 
 | 424 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 425 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMImageResource **object); | 
 
 
 
 
 | 426 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMImageResource *object); | 
 
 
 
 
 | 427 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 428 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMImageResource *object); | 
 
 
 
 
 | 429 | HRESULT Append ([in] IXpsOMImageResource *object); | 
 
 
 
 
 | 430 | HRESULT GetByPartName ([in] IOpcPartUri *partName,[out, retval] IXpsOMImageResource **part); | 
 
 
 
 
 | 431 | } | 
 
 
 
 
 | 432 |  | 
 
 
 
 
 | 433 | [object, uuid (12759630-5fba-4283-8f7d-CCA849809EDB)] | 
 
 
 
 
 | 434 | interface IXpsOMColorProfileResourceCollection : IUnknown { | 
 
 
 
 
 | 435 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 436 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMColorProfileResource **object); | 
 
 
 
 
 | 437 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMColorProfileResource *object); | 
 
 
 
 
 | 438 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 439 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMColorProfileResource *object); | 
 
 
 
 
 | 440 | HRESULT Append ([in] IXpsOMColorProfileResource *object); | 
 
 
 
 
 | 441 | HRESULT GetByPartName ([in] IOpcPartUri *partName,[out, retval] IXpsOMColorProfileResource **part); | 
 
 
 
 
 | 442 | } | 
 
 
 
 
 | 443 |  | 
 
 
 
 
 | 444 | [object, uuid (5c38db61-7fec-464a-87bd-41e3bef018be)] | 
 
 
 
 
 | 445 | interface IXpsOMRemoteDictionaryResourceCollection : IUnknown { | 
 
 
 
 
 | 446 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 447 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMRemoteDictionaryResource **object); | 
 
 
 
 
 | 448 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMRemoteDictionaryResource *object); | 
 
 
 
 
 | 449 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 450 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMRemoteDictionaryResource *object); | 
 
 
 
 
 | 451 | HRESULT Append ([in] IXpsOMRemoteDictionaryResource *object); | 
 
 
 
 
 | 452 | HRESULT GetByPartName ([in] IOpcPartUri *partName,[out, retval] IXpsOMRemoteDictionaryResource **remoteDictionaryResource); | 
 
 
 
 
 | 453 | } | 
 
 
 
 
 | 454 |  | 
 
 
 
 
 | 455 | [object, uuid (AB8F5D8E-351b-4d33-AAED-FA56F0022931)] | 
 
 
 
 
 | 456 | interface IXpsOMSignatureBlockResourceCollection : IUnknown { | 
 
 
 
 
 | 457 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 458 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMSignatureBlockResource **signatureBlockResource); | 
 
 
 
 
 | 459 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMSignatureBlockResource *signatureBlockResource); | 
 
 
 
 
 | 460 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 461 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMSignatureBlockResource *signatureBlockResource); | 
 
 
 
 
 | 462 | HRESULT Append ([in] IXpsOMSignatureBlockResource *signatureBlockResource); | 
 
 
 
 
 | 463 | HRESULT GetByPartName ([in] IOpcPartUri *partName,[out, retval] IXpsOMSignatureBlockResource **signatureBlockResource); | 
 
 
 
 
 | 464 | } | 
 
 
 
 
 | 465 |  | 
 
 
 
 
 | 466 | [object, uuid (94d8abde-AB91-46a8-82b7-F5B05EF01A96), pointer_default (ref)] | 
 
 
 
 
 | 467 | interface IXpsOMVisualCollection : IUnknown { | 
 
 
 
 
 | 468 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 469 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMVisual **object); | 
 
 
 
 
 | 470 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMVisual *object); | 
 
 
 
 
 | 471 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 472 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMVisual *object); | 
 
 
 
 
 | 473 | HRESULT Append ([in] IXpsOMVisual *object); | 
 
 
 
 
 | 474 | } | 
 
 
 
 
 | 475 |  | 
 
 
 
 
 | 476 | [object, uuid (897c86b8-8eaf-4ae3-BDDE-56419fcf4236)] | 
 
 
 
 
 | 477 | interface IXpsOMDictionary : IUnknown { | 
 
 
 
 
 | 478 | HRESULT GetOwner ([out, retval] IUnknown **owner); | 
 
 
 
 
 | 479 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 480 | HRESULT GetAt ([in] UINT32 index,[out, string] LPWSTR *key,[out, retval] IXpsOMShareable **entry); | 
 
 
 
 
 | 481 | HRESULT GetByKey ([in, string] LPCWSTR key,[in] IXpsOMShareable *beforeEntry,[out, retval] IXpsOMShareable **entry); | 
 
 
 
 
 | 482 | HRESULT GetIndex ([in] IXpsOMShareable *entry,[out, retval] UINT32 *index); | 
 
 
 
 
 | 483 | HRESULT Append ([in, string] LPCWSTR key,[in] IXpsOMShareable *entry); | 
 
 
 
 
 | 484 | HRESULT InsertAt ([in] UINT32 index,[in, string] LPCWSTR key,[in] IXpsOMShareable *entry); | 
 
 
 
 
 | 485 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 486 | HRESULT SetAt ([in] UINT32 index,[in, string] LPCWSTR key,[in] IXpsOMShareable *entry); | 
 
 
 
 
 | 487 | HRESULT Clone ([out, retval] IXpsOMDictionary **dictionary); | 
 
 
 
 
 | 488 | } | 
 
 
 
 
 | 489 |  | 
 
 
 
 
 | 490 | [object, uuid (ED360180-6f92-4998-890d-2f208531a0a0), pointer_default (ref)] | 
 
 
 
 
 | 491 | interface IXpsOMPageReference : IUnknown { | 
 
 
 
 
 | 492 | HRESULT GetOwner ([out, retval] IXpsOMDocument **document); | 
 
 
 
 
 | 493 | HRESULT GetPage ([out, retval] IXpsOMPage **page); | 
 
 
 
 
 | 494 | HRESULT SetPage ([in] IXpsOMPage *page); | 
 
 
 
 
 | 495 | HRESULT DiscardPage (); | 
 
 
 
 
 | 496 | HRESULT IsPageLoaded ([out, retval] BOOL *isPageLoaded); | 
 
 
 
 
 | 497 | HRESULT GetAdvisoryPageDimensions ([out, retval] XPS_SIZE *pageDimensions); | 
 
 
 
 
 | 498 | HRESULT SetAdvisoryPageDimensions ([in] const XPS_SIZE *pageDimensions); | 
 
 
 
 
 | 499 | HRESULT GetStoryFragmentsResource ([out, retval] IXpsOMStoryFragmentsResource **storyFragmentsResource); | 
 
 
 
 
 | 500 | HRESULT SetStoryFragmentsResource ([in] IXpsOMStoryFragmentsResource *storyFragmentsResource); | 
 
 
 
 
 | 501 | HRESULT GetPrintTicketResource ([out, retval] IXpsOMPrintTicketResource **printTicketResource); | 
 
 
 
 
 | 502 | HRESULT SetPrintTicketResource ([in] IXpsOMPrintTicketResource *printTicketResource); | 
 
 
 
 
 | 503 | HRESULT GetThumbnailResource ([out, retval] IXpsOMImageResource **imageResource); | 
 
 
 
 
 | 504 | HRESULT SetThumbnailResource ([in] IXpsOMImageResource *imageResource); | 
 
 
 
 
 | 505 | HRESULT CollectLinkTargets ([out, retval] IXpsOMNameCollection **linkTargets); | 
 
 
 
 
 | 506 | HRESULT CollectPartResources ([out, retval] IXpsOMPartResources **partResources); | 
 
 
 
 
 | 507 | HRESULT HasRestrictedFonts ([out, retval] BOOL *restrictedFonts); | 
 
 
 
 
 | 508 | HRESULT Clone ([out, retval] IXpsOMPageReference **pageReference); | 
 
 
 
 
 | 509 | } | 
 
 
 
 
 | 510 |  | 
 
 
 
 
 | 511 | [object, uuid (CA16BA4D-E7B9-45c5-958b-F98022473745), pointer_default (ref)] | 
 
 
 
 
 | 512 | interface IXpsOMPageReferenceCollection : IUnknown { | 
 
 
 
 
 | 513 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 514 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMPageReference **pageReference); | 
 
 
 
 
 | 515 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMPageReference *pageReference); | 
 
 
 
 
 | 516 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 517 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMPageReference *pageReference); | 
 
 
 
 
 | 518 | HRESULT Append ([in] IXpsOMPageReference *pageReference); | 
 
 
 
 
 | 519 | } | 
 
 
 
 
 | 520 | [object, uuid (D1C87F0D-E947-4754-8a25-971478f7e83e), pointer_default (ref)] | 
 
 
 
 
 | 521 | interface IXpsOMDocumentCollection : IUnknown { | 
 
 
 
 
 | 522 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 523 | HRESULT GetAt ([in] UINT32 index,[out, retval] IXpsOMDocument **document); | 
 
 
 
 
 | 524 | HRESULT InsertAt ([in] UINT32 index,[in] IXpsOMDocument *document); | 
 
 
 
 
 | 525 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 526 | HRESULT SetAt ([in] UINT32 index,[in] IXpsOMDocument *document); | 
 
 
 
 
 | 527 | HRESULT Append ([in] IXpsOMDocument *document); | 
 
 
 
 
 | 528 | } | 
 
 
 
 
 | 529 |  | 
 
 
 
 
 | 530 | [object, local, uuid (18c3df65-81e1-4674-91dc-FC452F5A416F), pointer_default (ref)] | 
 
 
 
 
 | 531 | interface IXpsOMPackage : IUnknown { | 
 
 
 
 
 | 532 | HRESULT GetDocumentSequence ([out, retval] IXpsOMDocumentSequence **documentSequence); | 
 
 
 
 
 | 533 | HRESULT SetDocumentSequence ([in] IXpsOMDocumentSequence *documentSequence); | 
 
 
 
 
 | 534 | HRESULT GetCoreProperties ([out, retval] IXpsOMCoreProperties **coreProperties); | 
 
 
 
 
 | 535 | HRESULT SetCoreProperties ([in] IXpsOMCoreProperties *coreProperties); | 
 
 
 
 
 | 536 | HRESULT GetDiscardControlPartName ([out, retval] IOpcPartUri **discardControlPartUri); | 
 
 
 
 
 | 537 | HRESULT SetDiscardControlPartName ([in] IOpcPartUri *discardControlPartUri); | 
 
 
 
 
 | 538 | HRESULT GetThumbnailResource ([out, retval] IXpsOMImageResource **imageResource); | 
 
 
 
 
 | 539 | HRESULT SetThumbnailResource ([in] IXpsOMImageResource *imageResource); | 
 
 
 
 
 | 540 | HRESULT WriteToFile ([in, string] LPCWSTR fileName,[in, unique] LPSECURITY_ATTRIBUTES securityAttributes,[in] DWORD flagsAndAttributes,[in] BOOL optimizeMarkupSize); | 
 
 
 
 
 | 541 | HRESULT WriteToStream ([in] ISequentialStream *stream,[in] BOOL optimizeMarkupSize); | 
 
 
 
 
 | 542 | } | 
 
 
 
 
 | 543 |  | 
 
 
 
 
 | 544 | [object, local, uuid (f9b2a685-a50d-4fc2-b764-b56e093ea0ca), pointer_default (ref)] | 
 
 
 
 
 | 545 | interface IXpsOMObjectFactory : IUnknown { | 
 
 
 
 
 | 546 | HRESULT CreatePackage ([out, retval] IXpsOMPackage **package); | 
 
 
 
 
 | 547 | HRESULT CreatePackageFromFile ([in, string] LPCWSTR filename,[in] BOOL reuseObjects,[out, retval] IXpsOMPackage **package); | 
 
 
 
 
 | 548 | HRESULT CreatePackageFromStream ([in] IStream *stream,[in] BOOL reuseObjects,[out, retval] IXpsOMPackage **package); | 
 
 
 
 
 | 549 | HRESULT CreateStoryFragmentsResource ([in] IStream *acquiredStream,[in] IOpcPartUri *partUri,[out, retval] IXpsOMStoryFragmentsResource **storyFragmentsResource); | 
 
 
 
 
 | 550 | HRESULT CreateDocumentStructureResource ([in] IStream *acquiredStream,[in] IOpcPartUri *partUri,[out, retval] IXpsOMDocumentStructureResource **documentStructureResource); | 
 
 
 
 
 | 551 | HRESULT CreateSignatureBlockResource ([in] IStream *acquiredStream,[in] IOpcPartUri *partUri,[out, retval] IXpsOMSignatureBlockResource **signatureBlockResource); | 
 
 
 
 
 | 552 | HRESULT CreateRemoteDictionaryResource ([in] IXpsOMDictionary *dictionary,[in] IOpcPartUri *partUri,[out, retval] IXpsOMRemoteDictionaryResource **remoteDictionaryResource); | 
 
 
 
 
 | 553 | HRESULT CreateRemoteDictionaryResourceFromStream ([in] IStream *dictionaryMarkupStream,[in] IOpcPartUri *dictionaryPartUri,[in] IXpsOMPartResources *resources,[out, retval] IXpsOMRemoteDictionaryResource **dictionaryResource); | 
 
 
 
 
 | 554 | HRESULT CreatePartResources ([out, retval] IXpsOMPartResources **partResources); | 
 
 
 
 
 | 555 | HRESULT CreateDocumentSequence ([in] IOpcPartUri *partUri,[out, retval] IXpsOMDocumentSequence **documentSequence); | 
 
 
 
 
 | 556 | HRESULT CreateDocument ([in] IOpcPartUri *partUri,[out, retval] IXpsOMDocument **document); | 
 
 
 
 
 | 557 | HRESULT CreatePageReference ([in] const XPS_SIZE *advisoryPageDimensions,[out, retval] IXpsOMPageReference **pageReference); | 
 
 
 
 
 | 558 | HRESULT CreatePage ([in] const XPS_SIZE *pageDimensions,[in, string] LPCWSTR language,[in] IOpcPartUri *partUri,[out, retval] IXpsOMPage **page); | 
 
 
 
 
 | 559 | HRESULT CreatePageFromStream ([in] IStream *pageMarkupStream,[in] IOpcPartUri *partUri,[in] IXpsOMPartResources *resources,[in] BOOL reuseObjects,[out, retval] IXpsOMPage **page); | 
 
 
 
 
 | 560 | HRESULT CreateCanvas ([out, retval] IXpsOMCanvas **canvas); | 
 
 
 
 
 | 561 | HRESULT CreateGlyphs ([in] IXpsOMFontResource *fontResource,[out, retval] IXpsOMGlyphs **glyphs); | 
 
 
 
 
 | 562 | HRESULT CreatePath ([out, retval] IXpsOMPath **path); | 
 
 
 
 
 | 563 | HRESULT CreateGeometry ([out, retval] IXpsOMGeometry **geometry); | 
 
 
 
 
 | 564 | HRESULT CreateGeometryFigure ([in] const XPS_POINT *startPoint,[out, retval] IXpsOMGeometryFigure **figure); | 
 
 
 
 
 | 565 | HRESULT CreateMatrixTransform ([in] const XPS_MATRIX *matrix,[out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 566 | HRESULT CreateSolidColorBrush ([in] const XPS_COLOR *color,[in] IXpsOMColorProfileResource *colorProfile,[out, retval] IXpsOMSolidColorBrush **solidColorBrush); | 
 
 
 
 
 | 567 | HRESULT CreateColorProfileResource ([in] IStream *acquiredStream,[in] IOpcPartUri *partUri,[out, retval] IXpsOMColorProfileResource **colorProfileResource); | 
 
 
 
 
 | 568 | HRESULT CreateImageBrush ([in] IXpsOMImageResource *image,[in] const XPS_RECT *viewBox,[in] const XPS_RECT *viewPort,[out, retval] IXpsOMImageBrush **imageBrush); | 
 
 
 
 
 | 569 | HRESULT CreateVisualBrush ([in] const XPS_RECT *viewBox,[in] const XPS_RECT *viewPort,[out, retval] IXpsOMVisualBrush **visualBrush); | 
 
 
 
 
 | 570 | HRESULT CreateImageResource ([in] IStream *acquiredStream,[in] XPS_IMAGE_TYPE contentType,[in] IOpcPartUri *partUri,[out, retval] IXpsOMImageResource **imageResource); | 
 
 
 
 
 | 571 | HRESULT CreatePrintTicketResource ([in] IStream *acquiredStream,[in] IOpcPartUri *partUri,[out, retval] IXpsOMPrintTicketResource **printTicketResource); | 
 
 
 
 
 | 572 | HRESULT CreateFontResource ([in] IStream *acquiredStream,[in] XPS_FONT_EMBEDDING fontEmbedding,[in] IOpcPartUri *partUri,[in] BOOL isObfSourceStream,[out, retval] IXpsOMFontResource **fontResource); | 
 
 
 
 
 | 573 | HRESULT CreateGradientStop ([in] const XPS_COLOR *color,[in] IXpsOMColorProfileResource *colorProfile,[in] FLOAT offset,[out, retval] IXpsOMGradientStop **gradientStop); | 
 
 
 
 
 | 574 | HRESULT CreateLinearGradientBrush ([in] IXpsOMGradientStop *gradStop1,[in] IXpsOMGradientStop *gradStop2,[in] const XPS_POINT *startPoint,[in] const XPS_POINT *endPoint,[out, retval] IXpsOMLinearGradientBrush **linearGradientBrush); | 
 
 
 
 
 | 575 | HRESULT CreateRadialGradientBrush ([in] IXpsOMGradientStop *gradStop1,[in] IXpsOMGradientStop *gradStop2,[in] const XPS_POINT *centerPoint,[in] const XPS_POINT *gradientOrigin,[in] const XPS_SIZE *radiiSizes,[out, retval] IXpsOMRadialGradientBrush **radialGradientBrush); | 
 
 
 
 
 | 576 | HRESULT CreateCoreProperties ([in] IOpcPartUri *partUri,[out, retval] IXpsOMCoreProperties **coreProperties); | 
 
 
 
 
 | 577 | HRESULT CreateDictionary ([out, retval] IXpsOMDictionary **dictionary); | 
 
 
 
 
 | 578 | HRESULT CreatePartUriCollection ([out, retval] IXpsOMPartUriCollection **partUriCollection); | 
 
 
 
 
 | 579 | HRESULT CreatePackageWriterOnFile ([in, string] LPCWSTR fileName,[in, unique] LPSECURITY_ATTRIBUTES securityAttributes,[in] DWORD flagsAndAttributes,[in] BOOL optimizeMarkupSize,[in] XPS_INTERLEAVING interleaving,[in] IOpcPartUri *documentSequencePartName,[in] IXpsOMCoreProperties *coreProperties,[in] IXpsOMImageResource *packageThumbnail,[in] IXpsOMPrintTicketResource *documentSequencePrintTicket,[in] IOpcPartUri *discardControlPartName,[out, retval] IXpsOMPackageWriter **packageWriter); | 
 
 
 
 
 | 580 | HRESULT CreatePackageWriterOnStream ([in] ISequentialStream *outputStream,[in] BOOL optimizeMarkupSize,[in] XPS_INTERLEAVING interleaving,[in] IOpcPartUri *documentSequencePartName,[in] IXpsOMCoreProperties *coreProperties,[in] IXpsOMImageResource *packageThumbnail,[in] IXpsOMPrintTicketResource *documentSequencePrintTicket,[in] IOpcPartUri *discardControlPartName,[out, retval] IXpsOMPackageWriter **packageWriter); | 
 
 
 
 
 | 581 | HRESULT CreatePartUri ([in, string] LPCWSTR uri,[out, retval] IOpcPartUri **partUri); | 
 
 
 
 
 | 582 | HRESULT CreateReadOnlyStreamOnFile ([in, string] LPCWSTR filename,[out, retval] IStream **stream); | 
 
 
 
 
 | 583 | } | 
 
 
 
 
 | 584 |  | 
 
 
 
 
 | 585 | [object, uuid (4bddf8ec-C915-421b-A166-D173D25653D2)] | 
 
 
 
 
 | 586 | interface IXpsOMNameCollection : IUnknown { | 
 
 
 
 
 | 587 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 588 | HRESULT GetAt ([in] UINT32 index,[out, string, retval] LPWSTR *name); | 
 
 
 
 
 | 589 | } | 
 
 
 
 
 | 590 |  | 
 
 
 
 
 | 591 | [object, uuid (57c650d4-067c-4893-8c33-F62A0633730F)] | 
 
 
 
 
 | 592 | interface IXpsOMPartUriCollection : IUnknown { | 
 
 
 
 
 | 593 | HRESULT GetCount ([out, retval] UINT32 *count); | 
 
 
 
 
 | 594 | HRESULT GetAt ([in] UINT32 index,[out, retval] IOpcPartUri **partUri); | 
 
 
 
 
 | 595 | HRESULT InsertAt ([in] UINT32 index,[in] IOpcPartUri *partUri); | 
 
 
 
 
 | 596 | HRESULT RemoveAt ([in] UINT32 index); | 
 
 
 
 
 | 597 | HRESULT SetAt ([in] UINT32 index,[in] IOpcPartUri *partUri); | 
 
 
 
 
 | 598 | HRESULT Append ([in] IOpcPartUri *partUri); | 
 
 
 
 
 | 599 | } | 
 
 
 
 
 | 600 |  | 
 
 
 
 
 | 601 | [object, uuid (4e2aa182-A443-42c6-B41B-4f8e9de73ff9)] | 
 
 
 
 
 | 602 | interface IXpsOMPackageWriter : IUnknown { | 
 
 
 
 
 | 603 | HRESULT StartNewDocument ([in] IOpcPartUri *documentPartName,[in] IXpsOMPrintTicketResource *documentPrintTicket,[in] IXpsOMDocumentStructureResource *documentStructure,[in] IXpsOMSignatureBlockResourceCollection *signatureBlockResources,[in] IXpsOMPartUriCollection *restrictedFonts); | 
 
 
 
 
 | 604 | HRESULT AddPage ([in] IXpsOMPage *page,[in] const XPS_SIZE *advisoryPageDimensions,[in] IXpsOMPartUriCollection *discardableResourceParts,[in] IXpsOMStoryFragmentsResource *storyFragments,[in] IXpsOMPrintTicketResource *pagePrintTicket,[in] IXpsOMImageResource *pageThumbnail); | 
 
 
 
 
 | 605 | HRESULT AddResource ([in] IXpsOMResource *resource); | 
 
 
 
 
 | 606 | HRESULT Close (); | 
 
 
 
 
 | 607 | HRESULT IsClosed ([out, retval] BOOL *isClosed); | 
 
 
 
 
 | 608 | }; | 
 
 
 
 
 | 609 |  | 
 
 
 
 
 | 610 | [object, uuid (219a9db0-4959-47d0-8034-B1CE84F41A4D)] | 
 
 
 
 
 | 611 | interface IXpsOMPackageTarget : IUnknown { | 
 
 
 
 
 | 612 | HRESULT CreateXpsOMPackageWriter ([in] IOpcPartUri *documentSequencePartName,[in] IXpsOMPrintTicketResource *documentSequencePrintTicket,[in] IOpcPartUri *discardControlPartName,[out] IXpsOMPackageWriter **packageWriter); | 
 
 
 
 
 | 613 | } | 
 
 
 
 
 | 614 |  | 
 
 
 
 
 | 615 | [object, uuid (BC3E7333-FB0B-4af3-A819-0b4eaad0d2fd)] | 
 
 
 
 
 | 616 | interface IXpsOMVisual : IXpsOMShareable { | 
 
 
 
 
 | 617 | HRESULT GetTransform ([out, retval] IXpsOMMatrixTransform **matrixTransform); | 
 
 
 
 
 | 618 | HRESULT GetTransformLocal ([out, retval] IXpsOMMatrixTransform **matrixTransform); | 
 
 
 
 
 | 619 | HRESULT SetTransformLocal ([in] IXpsOMMatrixTransform *matrixTransform); | 
 
 
 
 
 | 620 | HRESULT GetTransformLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 621 | HRESULT SetTransformLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 622 | HRESULT GetClipGeometry ([out, retval] IXpsOMGeometry **clipGeometry); | 
 
 
 
 
 | 623 | HRESULT GetClipGeometryLocal ([out, retval] IXpsOMGeometry **clipGeometry); | 
 
 
 
 
 | 624 | HRESULT SetClipGeometryLocal ([in] IXpsOMGeometry *clipGeometry); | 
 
 
 
 
 | 625 | HRESULT GetClipGeometryLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 626 | HRESULT SetClipGeometryLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 627 | HRESULT GetOpacity ([out, retval] FLOAT *opacity); | 
 
 
 
 
 | 628 | HRESULT SetOpacity ([in] FLOAT opacity); | 
 
 
 
 
 | 629 | HRESULT GetOpacityMaskBrush ([out, retval] IXpsOMBrush **opacityMaskBrush); | 
 
 
 
 
 | 630 | HRESULT GetOpacityMaskBrushLocal ([out, retval] IXpsOMBrush **opacityMaskBrush); | 
 
 
 
 
 | 631 | HRESULT SetOpacityMaskBrushLocal ([in] IXpsOMBrush *opacityMaskBrush); | 
 
 
 
 
 | 632 | HRESULT GetOpacityMaskBrushLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 633 | HRESULT SetOpacityMaskBrushLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 634 | HRESULT GetName ([out, string, retval] LPWSTR *name); | 
 
 
 
 
 | 635 | HRESULT SetName ([in, string] LPCWSTR name); | 
 
 
 
 
 | 636 | HRESULT GetIsHyperlinkTarget ([out, retval] BOOL *isHyperlink); | 
 
 
 
 
 | 637 | HRESULT SetIsHyperlinkTarget ([in] BOOL isHyperlink); | 
 
 
 
 
 | 638 | HRESULT GetHyperlinkNavigateUri ([out, retval] IUri **hyperlinkUri); | 
 
 
 
 
 | 639 | HRESULT SetHyperlinkNavigateUri ([in] IUri *hyperlinkUri); | 
 
 
 
 
 | 640 | HRESULT GetLanguage ([out, string, retval] LPWSTR *language); | 
 
 
 
 
 | 641 | HRESULT SetLanguage ([in, string] LPCWSTR language); | 
 
 
 
 
 | 642 | } | 
 
 
 
 
 | 643 |  | 
 
 
 
 
 | 644 | [object, uuid (56a3f80c-EA4C-4187-A57B-A2A473B2B42B)] | 
 
 
 
 
 | 645 | interface IXpsOMBrush : IXpsOMShareable { | 
 
 
 
 
 | 646 | HRESULT GetOpacity ([out, retval] FLOAT *opacity); | 
 
 
 
 
 | 647 | HRESULT SetOpacity ([in] FLOAT opacity); | 
 
 
 
 
 | 648 | } | 
 
 
 
 
 | 649 |  | 
 
 
 
 
 | 650 | [object, uuid (B77330FF-BB37-4501-A93E-F1B1E50BFC46)] | 
 
 
 
 
 | 651 | interface IXpsOMMatrixTransform : IXpsOMShareable { | 
 
 
 
 
 | 652 | HRESULT GetMatrix ([out, retval] XPS_MATRIX *matrix); | 
 
 
 
 
 | 653 | HRESULT SetMatrix ([in] const XPS_MATRIX *matrix); | 
 
 
 
 
 | 654 | HRESULT Clone ([out, retval] IXpsOMMatrixTransform **matrixTransform); | 
 
 
 
 
 | 655 | } | 
 
 
 
 
 | 656 |  | 
 
 
 
 
 | 657 | [object, uuid (64fcf3d7-4d58-44ba-AD73-A13AF6492072)] | 
 
 
 
 
 | 658 | interface IXpsOMGeometry : IXpsOMShareable { | 
 
 
 
 
 | 659 | HRESULT GetFigures ([out, retval] IXpsOMGeometryFigureCollection **figures); | 
 
 
 
 
 | 660 | HRESULT GetFillRule ([out, retval] XPS_FILL_RULE *fillRule); | 
 
 
 
 
 | 661 | HRESULT SetFillRule ([in] XPS_FILL_RULE fillRule); | 
 
 
 
 
 | 662 | HRESULT GetTransform ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 663 | HRESULT GetTransformLocal ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 664 | HRESULT SetTransformLocal ([in] IXpsOMMatrixTransform *transform); | 
 
 
 
 
 | 665 | HRESULT GetTransformLookup ([out, string, retval] LPWSTR *lookup); | 
 
 
 
 
 | 666 | HRESULT SetTransformLookup ([in, string] LPCWSTR lookup); | 
 
 
 
 
 | 667 | HRESULT Clone ([out, retval] IXpsOMGeometry **geometry); | 
 
 
 
 
 | 668 | } | 
 
 
 
 
 | 669 |  | 
 
 
 
 
 | 670 | [object, uuid (819b3199-0a5a-4b64-BEC7-A9E17E780DE2)] | 
 
 
 
 
 | 671 | interface IXpsOMGlyphs : IXpsOMVisual { | 
 
 
 
 
 | 672 | HRESULT GetUnicodeString ([out, string, retval] LPWSTR *unicodeString); | 
 
 
 
 
 | 673 | HRESULT GetGlyphIndexCount ([out, retval] UINT32 *indexCount); | 
 
 
 
 
 | 674 | HRESULT GetGlyphIndices ([in, out] UINT32 *indexCount,[in, out] XPS_GLYPH_INDEX *glyphIndices); | 
 
 
 
 
 | 675 | HRESULT GetGlyphMappingCount ([out, retval] UINT32 *glyphMappingCount); | 
 
 
 
 
 | 676 | HRESULT GetGlyphMappings ([in, out] UINT32 *glyphMappingCount,[in, out] XPS_GLYPH_MAPPING *glyphMappings); | 
 
 
 
 
 | 677 | HRESULT GetProhibitedCaretStopCount ([out, retval] UINT32 *prohibitedCaretStopCount); | 
 
 
 
 
 | 678 | HRESULT GetProhibitedCaretStops ([in, out] UINT32 *prohibitedCaretStopCount,[out] UINT32 *prohibitedCaretStops); | 
 
 
 
 
 | 679 | HRESULT GetBidiLevel ([out, retval] UINT32 *bidiLevel); | 
 
 
 
 
 | 680 | HRESULT GetIsSideways ([out, retval] BOOL *isSideways); | 
 
 
 
 
 | 681 | HRESULT GetDeviceFontName ([out, string, retval] LPWSTR *deviceFontName); | 
 
 
 
 
 | 682 | HRESULT GetStyleSimulations ([out, retval] XPS_STYLE_SIMULATION *styleSimulations); | 
 
 
 
 
 | 683 | HRESULT SetStyleSimulations ([in] XPS_STYLE_SIMULATION styleSimulations); | 
 
 
 
 
 | 684 | HRESULT GetOrigin ([out, retval] XPS_POINT *origin); | 
 
 
 
 
 | 685 | HRESULT SetOrigin ([in] const XPS_POINT *origin); | 
 
 
 
 
 | 686 | HRESULT GetFontRenderingEmSize ([out, retval] FLOAT *fontRenderingEmSize); | 
 
 
 
 
 | 687 | HRESULT SetFontRenderingEmSize ([in] FLOAT fontRenderingEmSize); | 
 
 
 
 
 | 688 | HRESULT GetFontResource ([out, retval] IXpsOMFontResource **fontResource); | 
 
 
 
 
 | 689 | HRESULT SetFontResource ([in] IXpsOMFontResource *fontResource); | 
 
 
 
 
 | 690 | HRESULT GetFontFaceIndex ([out, retval] SHORT *fontFaceIndex); | 
 
 
 
 
 | 691 | HRESULT SetFontFaceIndex ([in] SHORT fontFaceIndex); | 
 
 
 
 
 | 692 | HRESULT GetFillBrush ([out, retval] IXpsOMBrush **fillBrush); | 
 
 
 
 
 | 693 | HRESULT GetFillBrushLocal ([out, retval] IXpsOMBrush **fillBrush); | 
 
 
 
 
 | 694 | HRESULT SetFillBrushLocal ([in] IXpsOMBrush *fillBrush); | 
 
 
 
 
 | 695 | HRESULT GetFillBrushLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 696 | HRESULT SetFillBrushLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 697 | HRESULT GetGlyphsEditor ([out, retval] IXpsOMGlyphsEditor **editor); | 
 
 
 
 
 | 698 | HRESULT Clone ([out, retval] IXpsOMGlyphs **glyphs); | 
 
 
 
 
 | 699 | } | 
 
 
 
 
 | 700 |  | 
 
 
 
 
 | 701 | [object, uuid (37d38bb6-3ee9-4110-9312-14b194163337)] | 
 
 
 
 
 | 702 | interface IXpsOMPath : IXpsOMVisual { | 
 
 
 
 
 | 703 | HRESULT GetGeometry ([out, retval] IXpsOMGeometry **geometry); | 
 
 
 
 
 | 704 | HRESULT GetGeometryLocal ([out, retval] IXpsOMGeometry **geometry); | 
 
 
 
 
 | 705 | HRESULT SetGeometryLocal ([in] IXpsOMGeometry *geometry); | 
 
 
 
 
 | 706 | HRESULT GetGeometryLookup ([out, string, retval] LPWSTR *lookup); | 
 
 
 
 
 | 707 | HRESULT SetGeometryLookup ([in, string] LPCWSTR lookup); | 
 
 
 
 
 | 708 | HRESULT GetAccessibilityShortDescription ([out, string, retval] LPWSTR *shortDescription); | 
 
 
 
 
 | 709 | HRESULT SetAccessibilityShortDescription ([in, string] LPCWSTR shortDescription); | 
 
 
 
 
 | 710 | HRESULT GetAccessibilityLongDescription ([out, string, retval] LPWSTR *longDescription); | 
 
 
 
 
 | 711 | HRESULT SetAccessibilityLongDescription ([in, string] LPCWSTR longDescription); | 
 
 
 
 
 | 712 | HRESULT GetSnapsToPixels ([out, retval] BOOL *snapsToPixels); | 
 
 
 
 
 | 713 | HRESULT SetSnapsToPixels ([in] BOOL snapsToPixels); | 
 
 
 
 
 | 714 | HRESULT GetStrokeBrush ([out, retval] IXpsOMBrush **brush); | 
 
 
 
 
 | 715 | HRESULT GetStrokeBrushLocal ([out, retval] IXpsOMBrush **brush); | 
 
 
 
 
 | 716 | HRESULT SetStrokeBrushLocal ([in] IXpsOMBrush *brush); | 
 
 
 
 
 | 717 | HRESULT GetStrokeBrushLookup ([out, string, retval] LPWSTR *lookup); | 
 
 
 
 
 | 718 | HRESULT SetStrokeBrushLookup ([in, string] LPCWSTR lookup); | 
 
 
 
 
 | 719 | HRESULT GetStrokeDashes ([out, retval] IXpsOMDashCollection **strokeDashes); | 
 
 
 
 
 | 720 | HRESULT GetStrokeDashCap ([out, retval] XPS_DASH_CAP *strokeDashCap); | 
 
 
 
 
 | 721 | HRESULT SetStrokeDashCap ([in] XPS_DASH_CAP strokeDashCap); | 
 
 
 
 
 | 722 | HRESULT GetStrokeDashOffset ([out, retval] FLOAT *strokeDashOffset); | 
 
 
 
 
 | 723 | HRESULT SetStrokeDashOffset ([in] FLOAT strokeDashOffset); | 
 
 
 
 
 | 724 | HRESULT GetStrokeStartLineCap ([out, retval] XPS_LINE_CAP *strokeStartLineCap); | 
 
 
 
 
 | 725 | HRESULT SetStrokeStartLineCap ([in] XPS_LINE_CAP strokeStartLineCap); | 
 
 
 
 
 | 726 | HRESULT GetStrokeEndLineCap ([out, retval] XPS_LINE_CAP *strokeEndLineCap); | 
 
 
 
 
 | 727 | HRESULT SetStrokeEndLineCap ([in] XPS_LINE_CAP strokeEndLineCap); | 
 
 
 
 
 | 728 | HRESULT GetStrokeLineJoin ([out, retval] XPS_LINE_JOIN *strokeLineJoin); | 
 
 
 
 
 | 729 | HRESULT SetStrokeLineJoin ([in] XPS_LINE_JOIN strokeLineJoin); | 
 
 
 
 
 | 730 | HRESULT GetStrokeMiterLimit ([out, retval] FLOAT *strokeMiterLimit); | 
 
 
 
 
 | 731 | HRESULT SetStrokeMiterLimit ([in] FLOAT strokeMiterLimit); | 
 
 
 
 
 | 732 | HRESULT GetStrokeThickness ([out, retval] FLOAT *strokeThickness); | 
 
 
 
 
 | 733 | HRESULT SetStrokeThickness ([in] FLOAT strokeThickness); | 
 
 
 
 
 | 734 | HRESULT GetFillBrush ([out, retval] IXpsOMBrush **brush); | 
 
 
 
 
 | 735 | HRESULT GetFillBrushLocal ([out, retval] IXpsOMBrush **brush); | 
 
 
 
 
 | 736 | HRESULT SetFillBrushLocal ([in] IXpsOMBrush *brush); | 
 
 
 
 
 | 737 | HRESULT GetFillBrushLookup ([out, string, retval] LPWSTR *lookup); | 
 
 
 
 
 | 738 | HRESULT SetFillBrushLookup ([in, string] LPCWSTR lookup); | 
 
 
 
 
 | 739 | HRESULT Clone ([out, retval] IXpsOMPath **path); | 
 
 
 
 
 | 740 | } | 
 
 
 
 
 | 741 |  | 
 
 
 
 
 | 742 | [object, uuid (A06F9F05-3be9-4763-98a8-094fc672e488)] | 
 
 
 
 
 | 743 | interface IXpsOMSolidColorBrush : IXpsOMBrush { | 
 
 
 
 
 | 744 | HRESULT GetColor ([out] XPS_COLOR *color,[out, retval] IXpsOMColorProfileResource **colorProfile); | 
 
 
 
 
 | 745 | HRESULT SetColor ([in] const XPS_COLOR *color,[in] IXpsOMColorProfileResource *colorProfile); | 
 
 
 
 
 | 746 | HRESULT Clone ([out, retval] IXpsOMSolidColorBrush **solidColorBrush); | 
 
 
 
 
 | 747 | } | 
 
 
 
 
 | 748 |  | 
 
 
 
 
 | 749 | [object, uuid (0fc2328d-D722-4a54-B2EC-BE90218A789E)] | 
 
 
 
 
 | 750 | interface IXpsOMTileBrush : IXpsOMBrush { | 
 
 
 
 
 | 751 | HRESULT GetTransform ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 752 | HRESULT GetTransformLocal ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 753 | HRESULT SetTransformLocal ([in] IXpsOMMatrixTransform *transform); | 
 
 
 
 
 | 754 | HRESULT GetTransformLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 755 | HRESULT SetTransformLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 756 | HRESULT GetViewbox ([out, retval] XPS_RECT *viewbox); | 
 
 
 
 
 | 757 | HRESULT SetViewbox ([in] const XPS_RECT *viewbox); | 
 
 
 
 
 | 758 | HRESULT GetViewport ([out, retval] XPS_RECT *viewport); | 
 
 
 
 
 | 759 | HRESULT SetViewport ([in] const XPS_RECT *viewport); | 
 
 
 
 
 | 760 | HRESULT GetTileMode ([out, retval] XPS_TILE_MODE *tileMode); | 
 
 
 
 
 | 761 | HRESULT SetTileMode ([in] XPS_TILE_MODE tileMode); | 
 
 
 
 
 | 762 | } | 
 
 
 
 
 | 763 |  | 
 
 
 
 
 | 764 | [object, uuid (EDB59622-61a2-42c3-BACE-ACF2286C06BF)] | 
 
 
 
 
 | 765 | interface IXpsOMGradientBrush : IXpsOMBrush { | 
 
 
 
 
 | 766 | HRESULT GetGradientStops ([out, retval] IXpsOMGradientStopCollection **gradientStops); | 
 
 
 
 
 | 767 | HRESULT GetTransform ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 768 | HRESULT GetTransformLocal ([out, retval] IXpsOMMatrixTransform **transform); | 
 
 
 
 
 | 769 | HRESULT SetTransformLocal ([in] IXpsOMMatrixTransform *transform); | 
 
 
 
 
 | 770 | HRESULT GetTransformLookup ([out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 771 | HRESULT SetTransformLookup ([in, string] LPCWSTR key); | 
 
 
 
 
 | 772 | HRESULT GetSpreadMethod ([out, retval] XPS_SPREAD_METHOD *spreadMethod); | 
 
 
 
 
 | 773 | HRESULT SetSpreadMethod ([in] XPS_SPREAD_METHOD spreadMethod); | 
 
 
 
 
 | 774 | HRESULT GetColorInterpolationMode ([out, retval] XPS_COLOR_INTERPOLATION *colorInterpolationMode); | 
 
 
 
 
 | 775 | HRESULT SetColorInterpolationMode ([in] XPS_COLOR_INTERPOLATION colorInterpolationMode); | 
 
 
 
 
 | 776 | } | 
 
 
 
 
 | 777 |  | 
 
 
 
 
 | 778 | [object, uuid (97e294af-5b37-46b4-8057-874d2f64119b)] | 
 
 
 
 
 | 779 | interface IXpsOMVisualBrush : IXpsOMTileBrush { | 
 
 
 
 
 | 780 | HRESULT GetVisual ([out, retval] IXpsOMVisual **visual); | 
 
 
 
 
 | 781 | HRESULT GetVisualLocal ([out, retval] IXpsOMVisual **visual); | 
 
 
 
 
 | 782 | HRESULT SetVisualLocal ([in] IXpsOMVisual *visual); | 
 
 
 
 
 | 783 | HRESULT GetVisualLookup ([out, string, retval] LPWSTR *lookup); | 
 
 
 
 
 | 784 | HRESULT SetVisualLookup ([in, string] LPCWSTR lookup); | 
 
 
 
 
 | 785 | HRESULT Clone ([out, retval] IXpsOMVisualBrush **visualBrush); | 
 
 
 
 
 | 786 | } | 
 
 
 
 
 | 787 |  | 
 
 
 
 
 | 788 | [object, uuid (3df0b466-D382-49ef-8550-DD94C80242E4)] | 
 
 
 
 
 | 789 | interface IXpsOMImageBrush : IXpsOMTileBrush { | 
 
 
 
 
 | 790 | HRESULT GetImageResource ([out, retval] IXpsOMImageResource **imageResource); | 
 
 
 
 
 | 791 | HRESULT SetImageResource ([in] IXpsOMImageResource *imageResource); | 
 
 
 
 
 | 792 | HRESULT GetColorProfileResource ([out, retval] IXpsOMColorProfileResource **colorProfileResource); | 
 
 
 
 
 | 793 | HRESULT SetColorProfileResource ([in] IXpsOMColorProfileResource *colorProfileResource); | 
 
 
 
 
 | 794 | HRESULT Clone ([out, retval] IXpsOMImageBrush **imageBrush); | 
 
 
 
 
 | 795 | } | 
 
 
 
 
 | 796 |  | 
 
 
 
 
 | 797 | [object, uuid (005e279f-C30D-40ff-93ec-1950d3c528db)] | 
 
 
 
 
 | 798 | interface IXpsOMLinearGradientBrush : IXpsOMGradientBrush { | 
 
 
 
 
 | 799 | HRESULT GetStartPoint ([out, retval] XPS_POINT *startPoint); | 
 
 
 
 
 | 800 | HRESULT SetStartPoint ([in] const XPS_POINT *startPoint); | 
 
 
 
 
 | 801 | HRESULT GetEndPoint ([out, retval] XPS_POINT *endPoint); | 
 
 
 
 
 | 802 | HRESULT SetEndPoint ([in] const XPS_POINT *endPoint); | 
 
 
 
 
 | 803 | HRESULT Clone ([out, retval] IXpsOMLinearGradientBrush **linearGradientBrush); | 
 
 
 
 
 | 804 | } | 
 
 
 
 
 | 805 |  | 
 
 
 
 
 | 806 | [object, uuid (75f207e5-08bf-413c-96b1-B82B4064176B)] | 
 
 
 
 
 | 807 | interface IXpsOMRadialGradientBrush : IXpsOMGradientBrush { | 
 
 
 
 
 | 808 | HRESULT GetCenter ([out, retval] XPS_POINT *center); | 
 
 
 
 
 | 809 | HRESULT SetCenter ([in] const XPS_POINT *center); | 
 
 
 
 
 | 810 | HRESULT GetRadiiSizes ([out, retval] XPS_SIZE *radiiSizes); | 
 
 
 
 
 | 811 | HRESULT SetRadiiSizes ([in] const XPS_SIZE *radiiSizes); | 
 
 
 
 
 | 812 | HRESULT GetGradientOrigin ([out, retval] XPS_POINT *origin); | 
 
 
 
 
 | 813 | HRESULT SetGradientOrigin ([in] const XPS_POINT *origin); | 
 
 
 
 
 | 814 | HRESULT Clone ([out, retval] IXpsOMRadialGradientBrush **radialGradientBrush); | 
 
 
 
 
 | 815 | } | 
 
 
 
 
 | 816 |  | 
 
 
 
 
 | 817 | [object, uuid (da2ac0a2-73a2-4975-ad14-74097c3ff3a5)] interface IXpsOMResource : IXpsOMPart { | 
 
 
 
 
 | 818 | } | 
 
 
 
 
 | 819 |  | 
 
 
 
 
 | 820 | [object, uuid (a8c45708-47d9-4af4-8d20-33b48c9b8485)] | 
 
 
 
 
 | 821 | interface IXpsOMFontResource : IXpsOMResource { | 
 
 
 
 
 | 822 | HRESULT GetStream ([out, retval] IStream **readerStream); | 
 
 
 
 
 | 823 | HRESULT SetContent ([in] IStream *sourceStream,[in] XPS_FONT_EMBEDDING embeddingOption,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 824 | HRESULT GetEmbeddingOption ([out, retval] XPS_FONT_EMBEDDING *embeddingOption); | 
 
 
 
 
 | 825 | } | 
 
 
 
 
 | 826 |  | 
 
 
 
 
 | 827 | [object, uuid (3db8417d-ae50-485e-9a44-d7758f78a23f)] | 
 
 
 
 
 | 828 | interface IXpsOMImageResource : IXpsOMResource { | 
 
 
 
 
 | 829 | HRESULT GetStream ([out, retval] IStream **readerStream); | 
 
 
 
 
 | 830 | HRESULT SetContent ([in] IStream *sourceStream,[in] XPS_IMAGE_TYPE imageType,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 831 | HRESULT GetImageType ([out, retval] XPS_IMAGE_TYPE *imageType); | 
 
 
 
 
 | 832 | } | 
 
 
 
 
 | 833 |  | 
 
 
 
 
 | 834 | [object, uuid (67bd7d69-1eef-4bb1-b5e7-6f4f87be8abe)] | 
 
 
 
 
 | 835 | interface IXpsOMColorProfileResource : IXpsOMResource { | 
 
 
 
 
 | 836 | HRESULT GetStream ([out, retval] IStream **stream); | 
 
 
 
 
 | 837 | HRESULT SetContent ([in] IStream *sourceStream,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 838 | } | 
 
 
 
 
 | 839 |  | 
 
 
 
 
 | 840 | [object, uuid (e7ff32d2-34aa-499b-bbe9-9cd4ee6c59f7)] | 
 
 
 
 
 | 841 | interface IXpsOMPrintTicketResource : IXpsOMResource { | 
 
 
 
 
 | 842 | HRESULT GetStream ([out, retval] IStream **stream); | 
 
 
 
 
 | 843 | HRESULT SetContent ([in] IStream *sourceStream,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 844 | } | 
 
 
 
 
 | 845 |  | 
 
 
 
 
 | 846 | [object, uuid (c9bd7cd4-e16a-4bf8-8c84-c950af7a3061)] | 
 
 
 
 
 | 847 | interface IXpsOMRemoteDictionaryResource : IXpsOMResource { | 
 
 
 
 
 | 848 | HRESULT GetDictionary ([out, retval] IXpsOMDictionary **dictionary); | 
 
 
 
 
 | 849 | HRESULT SetDictionary ([in] IXpsOMDictionary *dictionary); | 
 
 
 
 
 | 850 | } | 
 
 
 
 
 | 851 |  | 
 
 
 
 
 | 852 | [object, uuid (85febc8a-6b63-48a9-af07-7064e4ecff30)] | 
 
 
 
 
 | 853 | interface IXpsOMDocumentStructureResource : IXpsOMResource { | 
 
 
 
 
 | 854 | HRESULT GetOwner ([out, retval] IXpsOMDocument **owner); | 
 
 
 
 
 | 855 | HRESULT GetStream ([out, retval] IStream **stream); | 
 
 
 
 
 | 856 | HRESULT SetContent ([in] IStream *sourceStream,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 857 | } | 
 
 
 
 
 | 858 |  | 
 
 
 
 
 | 859 | [object, uuid (c2b3ca09-0473-4282-87ae-1780863223f0)] | 
 
 
 
 
 | 860 | interface IXpsOMStoryFragmentsResource : IXpsOMResource { | 
 
 
 
 
 | 861 | HRESULT GetOwner ([out, retval] IXpsOMPageReference **owner); | 
 
 
 
 
 | 862 | HRESULT GetStream ([out, retval] IStream **stream); | 
 
 
 
 
 | 863 | HRESULT SetContent ([in] IStream *sourceStream,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 864 | } | 
 
 
 
 
 | 865 |  | 
 
 
 
 
 | 866 | [object, uuid (4776ad35-2e04-4357-8743-ebf6c171a905), pointer_default (ref)] | 
 
 
 
 
 | 867 | interface IXpsOMSignatureBlockResource : IXpsOMResource { | 
 
 
 
 
 | 868 | HRESULT GetOwner ([out, retval] IXpsOMDocument **owner); | 
 
 
 
 
 | 869 | HRESULT GetStream ([out, retval] IStream **stream); | 
 
 
 
 
 | 870 | HRESULT SetContent ([in] IStream *sourceStream,[in] IOpcPartUri *partName); | 
 
 
 
 
 | 871 | } | 
 
 
 
 
 | 872 |  | 
 
 
 
 
 | 873 | [object, uuid (221d1452-331e-47c6-87e9-6ccefb9b5ba3), pointer_default (ref)] | 
 
 
 
 
 | 874 | interface IXpsOMCanvas : IXpsOMVisual { | 
 
 
 
 
 | 875 | HRESULT GetVisuals ([out, retval] IXpsOMVisualCollection **visuals); | 
 
 
 
 
 | 876 | HRESULT GetUseAliasedEdgeMode ([out, retval] BOOL *useAliasedEdgeMode); | 
 
 
 
 
 | 877 | HRESULT SetUseAliasedEdgeMode ([in] BOOL useAliasedEdgeMode); | 
 
 
 
 
 | 878 | HRESULT GetAccessibilityShortDescription ([out, string, retval] LPWSTR *shortDescription); | 
 
 
 
 
 | 879 | HRESULT SetAccessibilityShortDescription ([in, string] LPCWSTR shortDescription); | 
 
 
 
 
 | 880 | HRESULT GetAccessibilityLongDescription ([out, string, retval] LPWSTR *longDescription); | 
 
 
 
 
 | 881 | HRESULT SetAccessibilityLongDescription ([in, string] LPCWSTR longDescription); | 
 
 
 
 
 | 882 | HRESULT GetDictionary ([out, retval] IXpsOMDictionary **resourceDictionary); | 
 
 
 
 
 | 883 | HRESULT GetDictionaryLocal ([out, retval] IXpsOMDictionary **resourceDictionary); | 
 
 
 
 
 | 884 | HRESULT SetDictionaryLocal ([in] IXpsOMDictionary *resourceDictionary); | 
 
 
 
 
 | 885 | HRESULT GetDictionaryResource ([out, retval] IXpsOMRemoteDictionaryResource **remoteDictionaryResource); | 
 
 
 
 
 | 886 | HRESULT SetDictionaryResource ([in] IXpsOMRemoteDictionaryResource *remoteDictionaryResource); | 
 
 
 
 
 | 887 | HRESULT Clone ([out, retval] IXpsOMCanvas **canvas); | 
 
 
 
 
 | 888 | } | 
 
 
 
 
 | 889 |  | 
 
 
 
 
 | 890 | [object, uuid (d3e18888-f120-4fee-8c68-35296eae91d4), pointer_default (ref)] | 
 
 
 
 
 | 891 | interface IXpsOMPage : IXpsOMPart { | 
 
 
 
 
 | 892 | HRESULT GetOwner ([out, retval] IXpsOMPageReference **pageReference); | 
 
 
 
 
 | 893 | HRESULT GetVisuals ([out, retval] IXpsOMVisualCollection **visuals); | 
 
 
 
 
 | 894 | HRESULT GetPageDimensions ([out, retval] XPS_SIZE *pageDimensions); | 
 
 
 
 
 | 895 | HRESULT SetPageDimensions ([in] const XPS_SIZE *pageDimensions); | 
 
 
 
 
 | 896 | HRESULT GetContentBox ([out, retval] XPS_RECT *contentBox); | 
 
 
 
 
 | 897 | HRESULT SetContentBox ([in] const XPS_RECT *contentBox); | 
 
 
 
 
 | 898 | HRESULT GetBleedBox ([out, retval] XPS_RECT *bleedBox); | 
 
 
 
 
 | 899 | HRESULT SetBleedBox ([in] const XPS_RECT *bleedBox); | 
 
 
 
 
 | 900 | HRESULT GetLanguage ([out, string, retval] LPWSTR *language); | 
 
 
 
 
 | 901 | HRESULT SetLanguage ([in, string] LPCWSTR language); | 
 
 
 
 
 | 902 | HRESULT GetName ([out, string, retval] LPWSTR *name); | 
 
 
 
 
 | 903 | HRESULT SetName ([in, string] LPCWSTR name); | 
 
 
 
 
 | 904 | HRESULT GetIsHyperlinkTarget ([out, retval] BOOL *isHyperlinkTarget); | 
 
 
 
 
 | 905 | HRESULT SetIsHyperlinkTarget ([in] BOOL isHyperlinkTarget); | 
 
 
 
 
 | 906 | HRESULT GetDictionary ([out, retval] IXpsOMDictionary **resourceDictionary); | 
 
 
 
 
 | 907 | HRESULT GetDictionaryLocal ([out, retval] IXpsOMDictionary **resourceDictionary); | 
 
 
 
 
 | 908 | HRESULT SetDictionaryLocal ([in] IXpsOMDictionary *resourceDictionary); | 
 
 
 
 
 | 909 | HRESULT GetDictionaryResource ([out, retval] IXpsOMRemoteDictionaryResource **remoteDictionaryResource); | 
 
 
 
 
 | 910 | HRESULT SetDictionaryResource ([in] IXpsOMRemoteDictionaryResource *remoteDictionaryResource); | 
 
 
 
 
 | 911 | HRESULT Write ([in] ISequentialStream *stream,[in] BOOL optimizeMarkupSize); | 
 
 
 
 
 | 912 | HRESULT GenerateUnusedLookupKey ([in] XPS_OBJECT_TYPE type,[out, string, retval] LPWSTR *key); | 
 
 
 
 
 | 913 | HRESULT Clone ([out, retval] IXpsOMPage **page); | 
 
 
 
 
 | 914 | } | 
 
 
 
 
 | 915 |  | 
 
 
 
 
 | 916 | [object, uuid (2c2c94cb-AC5F-4254-8ee9-23948309d9f0), pointer_default (ref)] | 
 
 
 
 
 | 917 | interface IXpsOMDocument : IXpsOMPart { | 
 
 
 
 
 | 918 | HRESULT GetOwner ([out, retval] IXpsOMDocumentSequence **documentSequence); | 
 
 
 
 
 | 919 | HRESULT GetPageReferences ([out, retval] IXpsOMPageReferenceCollection **pageReferences); | 
 
 
 
 
 | 920 | HRESULT GetPrintTicketResource ([out, retval] IXpsOMPrintTicketResource **printTicketResource); | 
 
 
 
 
 | 921 | HRESULT SetPrintTicketResource ([in] IXpsOMPrintTicketResource *printTicketResource); | 
 
 
 
 
 | 922 | HRESULT GetDocumentStructureResource ([out, retval] IXpsOMDocumentStructureResource **documentStructureResource); | 
 
 
 
 
 | 923 | HRESULT SetDocumentStructureResource ([in] IXpsOMDocumentStructureResource *documentStructureResource); | 
 
 
 
 
 | 924 | HRESULT GetSignatureBlockResources ([out, retval] IXpsOMSignatureBlockResourceCollection **signatureBlockResources); | 
 
 
 
 
 | 925 | HRESULT Clone ([out, retval] IXpsOMDocument **document); | 
 
 
 
 
 | 926 | } | 
 
 
 
 
 | 927 |  | 
 
 
 
 
 | 928 | [object, uuid (56492eb4-D8D5-425e-8256-4c2b64ad0264), pointer_default (ref)] | 
 
 
 
 
 | 929 | interface IXpsOMDocumentSequence : IXpsOMPart { | 
 
 
 
 
 | 930 | HRESULT GetOwner ([out, retval] IXpsOMPackage **package); | 
 
 
 
 
 | 931 | HRESULT GetDocuments ([out, retval] IXpsOMDocumentCollection **documents); | 
 
 
 
 
 | 932 | HRESULT GetPrintTicketResource ([out, retval] IXpsOMPrintTicketResource **printTicketResource); | 
 
 
 
 
 | 933 | HRESULT SetPrintTicketResource ([in] IXpsOMPrintTicketResource *printTicketResource); | 
 
 
 
 
 | 934 | } | 
 
 
 
 
 | 935 |  | 
 
 
 
 
 | 936 | [object, uuid (3340fe8f-4027-4aa1-8f5f-D35AE45FE597), pointer_default (ref)] | 
 
 
 
 
 | 937 | interface IXpsOMCoreProperties : IXpsOMPart { | 
 
 
 
 
 | 938 | HRESULT GetOwner ([out, retval] IXpsOMPackage **package); | 
 
 
 
 
 | 939 | HRESULT GetCategory ([out, string, retval] LPWSTR *category); | 
 
 
 
 
 | 940 | HRESULT SetCategory ([in, string] LPCWSTR category); | 
 
 
 
 
 | 941 | HRESULT GetContentStatus ([out, string, retval] LPWSTR *contentStatus); | 
 
 
 
 
 | 942 | HRESULT SetContentStatus ([in, string] LPCWSTR contentStatus); | 
 
 
 
 
 | 943 | HRESULT GetContentType ([out, string, retval] LPWSTR *contentType); | 
 
 
 
 
 | 944 | HRESULT SetContentType ([in, string] LPCWSTR contentType); | 
 
 
 
 
 | 945 | HRESULT GetCreated ([out, retval] SYSTEMTIME *created); | 
 
 
 
 
 | 946 | HRESULT SetCreated ([in] const SYSTEMTIME *created); | 
 
 
 
 
 | 947 | HRESULT GetCreator ([out, string, retval] LPWSTR *creator); | 
 
 
 
 
 | 948 | HRESULT SetCreator ([in, string] LPCWSTR creator); | 
 
 
 
 
 | 949 | HRESULT GetDescription ([out, string, retval] LPWSTR *description); | 
 
 
 
 
 | 950 | HRESULT SetDescription ([in, string] LPCWSTR description); | 
 
 
 
 
 | 951 | HRESULT GetIdentifier ([out, string, retval] LPWSTR *identifier); | 
 
 
 
 
 | 952 | HRESULT SetIdentifier ([in, string] LPCWSTR identifier); | 
 
 
 
 
 | 953 | HRESULT GetKeywords ([out, string, retval] LPWSTR *keywords); | 
 
 
 
 
 | 954 | HRESULT SetKeywords ([in, string] LPCWSTR keywords); | 
 
 
 
 
 | 955 | HRESULT GetLanguage ([out, string, retval] LPWSTR *language); | 
 
 
 
 
 | 956 | HRESULT SetLanguage ([in, string] LPCWSTR language); | 
 
 
 
 
 | 957 | HRESULT GetLastModifiedBy ([out, string, retval] LPWSTR *lastModifiedBy); | 
 
 
 
 
 | 958 | HRESULT SetLastModifiedBy ([in, string] LPCWSTR lastModifiedBy); | 
 
 
 
 
 | 959 | HRESULT GetLastPrinted ([out, retval] SYSTEMTIME *lastPrinted); | 
 
 
 
 
 | 960 | HRESULT SetLastPrinted ([in] const SYSTEMTIME *lastPrinted); | 
 
 
 
 
 | 961 | HRESULT GetModified ([out, retval] SYSTEMTIME *modified); | 
 
 
 
 
 | 962 | HRESULT SetModified ([in] const SYSTEMTIME *modified); | 
 
 
 
 
 | 963 | HRESULT GetRevision ([out, string, retval] LPWSTR *revision); | 
 
 
 
 
 | 964 | HRESULT SetRevision ([in, string] LPCWSTR revision); | 
 
 
 
 
 | 965 | HRESULT GetSubject ([out, string, retval] LPWSTR *subject); | 
 
 
 
 
 | 966 | HRESULT SetSubject ([in, string] LPCWSTR subject); | 
 
 
 
 
 | 967 | HRESULT GetTitle ([out, string, retval] LPWSTR *title); | 
 
 
 
 
 | 968 | HRESULT SetTitle ([in, string] LPCWSTR title); | 
 
 
 
 
 | 969 | HRESULT GetVersion ([out, string, retval] LPWSTR *version); | 
 
 
 
 
 | 970 | HRESULT SetVersion ([in, string] LPCWSTR version); | 
 
 
 
 
 | 971 | HRESULT Clone ([out, retval] IXpsOMCoreProperties **coreProperties); | 
 
 
 
 
 | 972 | } | 
 
 
 
 
 | 973 | cpp_quote("#endif") | 
 
 
 
 
 | 974 |  | 
 
 
 
 
 | 975 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | 
 
 
 
 
 | 976 | [object, uuid (15b873d5-1971-41e8-83a3-6578403064c7), local] | 
 
 
 
 
 | 977 | interface IXpsOMThumbnailGenerator : IUnknown { | 
 
 
 
 
 | 978 | HRESULT GenerateThumbnail ([in] IXpsOMPage *page,[in] XPS_IMAGE_TYPE thumbnailType,[in] XPS_THUMBNAIL_SIZE thumbnailSize,[in] IOpcPartUri *imageResourcePartName,[out, retval] IXpsOMImageResource **imageResource); | 
 
 
 
 
 | 979 | }; | 
 
 
 
 
 | 980 | cpp_quote("#endif") | 
 
 
 
 
 | 981 |  | 
 
 
 
 
 | 982 | [uuid (B47491A0-CF33-4fe4-9a48-B0ACDAE207E8)] | 
 
 
 
 
 | 983 | library MSXPS { | 
 
 
 
 
 | 984 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)") | 
 
 
 
 
 | 985 | [uuid (E974D26D-3d9b-4d47-88cc-3872f2dc3585)] coclass XpsOMObjectFactory { | 
 
 
 
 
 | 986 | interface IXpsOMObjectFactory; | 
 
 
 
 
 | 987 | }; | 
 
 
 
 
 | 988 | cpp_quote("#endif") | 
 
 
 
 
 | 989 | cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)") | 
 
 
 
 
 | 990 | [uuid (7e4a23e2-B969-4761-BE35-1a8ced58e323)] coclass XpsOMThumbnailGenerator { | 
 
 
 
 
 | 991 | interface IXpsOMThumbnailGenerator; | 
 
 
 
 
 | 992 | }; | 
 
 
 
 
 | 993 | cpp_quote("#endif") | 
 
 
 
 
 | 994 | }; | 
 
 
 
 
 | 995 |  | 
 
 
 
 
 | 996 | cpp_quote("#endif") |