InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXPAttributeSuite::AttributeValue Class Reference

#include <IXPAttributeSuite.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 AttributeValue (const AttributeValue &x)
 
 AttributeValue (UID x)
 
 AttributeValue (bool16 x)
 
 AttributeValue (PMReal x)
 
 AttributeValue (PMBlendingMode x)
 
 AttributeValue (PMDropShadowMode x)
 
 AttributeValue (PMVignetteMode x)
 
 AttributeValue (PMVignetteCorners x)
 
 AttributeValue (PMGlowTechnique x)
 
 AttributeValue (PMInnerGlowSource x)
 
 AttributeValue (PMBevelEmbossStyle x)
 
 AttributeValue (PMBevelEmbossTechnique x)
 
 AttributeValue (PMBevelEmbossDirection x)
 
 AttributeValue (PMFollowShapeMode x)
 
 AttributeValue (GradientType x)
 
 AttributeValue (IOpacityGradientStops *x)
 
 AttributeValue (const PMPoint &x)
 
void SetDataType (AttributeDataType t)
 
void SetInt32Data (int32 x)
 
void SetRealData (PMReal x)
 
void SetBooleanData (bool16 x)
 
void SetUIDData (UID x)
 
void SetOpacityGradientStopsData (IOpacityGradientStops *x)
 
void SetPointData (const PMPoint &x)
 
AttributeDataType GetDataType () const
 
int32 GetInt32Data () const
 
PMReal GetRealData () const
 
bool16 GetBooleanData () const
 
UID GetUIDData () const
 
const PMPointGetPointData () const
 
UID GetColor () const
 
bool16 GetBoolean () const
 
PMReal GetReal () const
 
PMBlendingMode GetPMBlendingMode () const
 
PMDropShadowMode GetPMDropShadowMode () const
 
PMVignetteMode GetPMVignetteMode () const
 
PMVignetteCorners GetPMVignetteCorners () const
 
PMGlowTechnique GetPMGlowTechnique () const
 
PMInnerGlowSource GetPMInnerGlowSource () const
 
PMBevelEmbossStyle GetPMBevelEmbossStyle () const
 
PMBevelEmbossTechnique GetPMBevelEmbossTechnique () const
 
PMBevelEmbossDirection GetPMBevelEmbossDirection () const
 
PMFollowShapeMode GetPMFollowShapeMode () const
 
GradientType GetGradientType () const
 
IOpacityGradientStopsGetOpacityGradientStops () const
 
IOpacityGradientStopsQueryOpacityGradientStops () const
 
const PMPointGetPMPoint () const
 
AttributeValueoperator= (const AttributeValue &rhs)
 
bool operator== (const AttributeValue &rhs) const
 
bool operator!= (const AttributeValue &rhs) const
 

Detailed Description

Helper class to carry any possible attribute value. Cuts down on the need to have different get/set calls for each type of attribute, since there are so many different attributes.

Member Function Documentation

void IXPAttributeSuite::AttributeValue::SetDataType (AttributeDataType t)
inline

These can be used to set up in a manual fashion.. not really recommended, though, except for internal code, since it doesn't use type information to your advantage the way the constructors do. It's possible to set up invalid combinations through these API.