OPC_URI_TARGET_MODE enumeration (msopc.h)

Indicates the target mode of a relationship.

Syntax

typedef enum __MIDL___MIDL_itf_msopc_0000_0002_0001 {
  OPC_URI_TARGET_MODE_INTERNAL = 0,
  OPC_URI_TARGET_MODE_EXTERNAL = 1
} OPC_URI_TARGET_MODE;

Constants

 
OPC_URI_TARGET_MODE_INTERNAL
Value: 0
The target of the relationship is a part inside the package.
OPC_URI_TARGET_MODE_EXTERNAL
Value: 1
The target of the relationship is a resource outside of the package.

Remarks

If the relationship's target mode is OPC_URI_TARGET_MODE_INTERNAL the URI of the target part is relative to the URI of the source of the relationship.

To get the URI of the target of the relationship, call the IOpcRelationship::GetTargetUri method.

For more information about relationships, see the Open Packaging Conventions Fundamentals and the ECMA-376 OpenXML, 1st Edition, Part 2: Open Packaging Conventions (OPC).

Requirements

Requirement Value
Header msopc.h

See also

ECMA-376 OpenXML standard

External Resources

Getting Started with the Packaging API

IOpcRelationship

IOpcRelationshipSet::CreateRelationship

Open Packaging Conventions Fundamentals

Overviews

Packaging API Programming Guide

Packaging API Samples

Packaging Enumerations

Packaging Interfaces

Reference

Relationships Overview