📄 msppt.h
字号:
long GetCreator();
LPDISPATCH GetParent();
void Apply();
void Delete();
void Flip(long FlipCmd);
void IncrementLeft(float Increment);
void IncrementRotation(float Increment);
void IncrementTop(float Increment);
void PickUp();
void RerouteConnections();
void ScaleHeight(float Factor, long RelativeToOriginalSize, long fScale);
void ScaleWidth(float Factor, long RelativeToOriginalSize, long fScale);
void SetShapesDefaultProperties();
LPDISPATCH Ungroup();
void ZOrder(long ZOrderCmd);
LPDISPATCH GetAdjustments();
long GetAutoShapeType();
void SetAutoShapeType(long nNewValue);
long GetBlackWhiteMode();
void SetBlackWhiteMode(long nNewValue);
LPDISPATCH GetCallout();
long GetConnectionSiteCount();
long GetConnector();
LPDISPATCH GetConnectorFormat();
LPDISPATCH GetFill();
LPDISPATCH GetGroupItems();
float GetHeight();
void SetHeight(float newValue);
long GetHorizontalFlip();
float GetLeft();
void SetLeft(float newValue);
LPDISPATCH GetLine();
long GetLockAspectRatio();
void SetLockAspectRatio(long nNewValue);
CString GetName();
void SetName(LPCTSTR lpszNewValue);
LPDISPATCH GetNodes();
float GetRotation();
void SetRotation(float newValue);
LPDISPATCH GetPictureFormat();
LPDISPATCH GetShadow();
LPDISPATCH GetTextEffect();
LPDISPATCH GetTextFrame();
LPDISPATCH GetThreeD();
float GetTop();
void SetTop(float newValue);
long GetType();
long GetVerticalFlip();
VARIANT GetVertices();
long GetVisible();
void SetVisible(long nNewValue);
float GetWidth();
void SetWidth(float newValue);
long GetZOrderPosition();
LPDISPATCH GetOLEFormat();
LPDISPATCH GetLinkFormat();
LPDISPATCH GetPlaceholderFormat();
LPDISPATCH GetAnimationSettings();
LPDISPATCH GetActionSettings();
LPDISPATCH GetTags();
void Cut();
void Copy();
void Select(long Replace);
LPDISPATCH Duplicate();
long GetMediaType();
long GetHasTextFrame();
LPDISPATCH Item(const VARIANT& Index);
long GetCount();
LPDISPATCH Group();
LPDISPATCH Regroup();
void Align(long AlignCmd, long RelativeTo);
void Distribute(long DistributeCmd, long RelativeTo);
LPDISPATCH GetScript();
CString GetAlternativeText();
void SetAlternativeText(LPCTSTR lpszNewValue);
long GetHasTable();
LPDISPATCH GetTable();
long GetHasDiagram();
LPDISPATCH GetDiagram();
long GetHasDiagramNode();
LPDISPATCH GetDiagramNode();
long GetChild();
LPDISPATCH GetParentGroup();
long GetId();
};
/////////////////////////////////////////////////////////////////////////////
// GroupShapes wrapper class
class GroupShapes : public COleDispatchDriver
{
public:
GroupShapes() {} // Calls COleDispatchDriver default constructor
GroupShapes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
GroupShapes(const GroupShapes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
long GetCount();
LPDISPATCH Item(const VARIANT& Index);
LPUNKNOWN Get_NewEnum();
LPDISPATCH Range(const VARIANT& Index);
};
/////////////////////////////////////////////////////////////////////////////
// Adjustments wrapper class
class Adjustments : public COleDispatchDriver
{
public:
Adjustments() {} // Calls COleDispatchDriver default constructor
Adjustments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
Adjustments(const Adjustments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
long GetCount();
float GetItem(long Index);
void SetItem(long Index, float newValue);
};
/////////////////////////////////////////////////////////////////////////////
// PictureFormat wrapper class
class PictureFormat : public COleDispatchDriver
{
public:
PictureFormat() {} // Calls COleDispatchDriver default constructor
PictureFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
PictureFormat(const PictureFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void IncrementBrightness(float Increment);
void IncrementContrast(float Increment);
float GetBrightness();
void SetBrightness(float newValue);
long GetColorType();
void SetColorType(long nNewValue);
float GetContrast();
void SetContrast(float newValue);
float GetCropBottom();
void SetCropBottom(float newValue);
float GetCropLeft();
void SetCropLeft(float newValue);
float GetCropRight();
void SetCropRight(float newValue);
float GetCropTop();
void SetCropTop(float newValue);
long GetTransparencyColor();
void SetTransparencyColor(long nNewValue);
long GetTransparentBackground();
void SetTransparentBackground(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// FillFormat wrapper class
class FillFormat : public COleDispatchDriver
{
public:
FillFormat() {} // Calls COleDispatchDriver default constructor
FillFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
FillFormat(const FillFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void Background();
void OneColorGradient(long Style, long Variant, float Degree);
void Patterned(long Pattern);
void PresetGradient(long Style, long Variant, long PresetGradientType);
void PresetTextured(long PresetTexture);
void Solid();
void TwoColorGradient(long Style, long Variant);
void UserPicture(LPCTSTR PictureFile);
void UserTextured(LPCTSTR TextureFile);
LPDISPATCH GetBackColor();
void SetBackColor(LPDISPATCH newValue);
LPDISPATCH GetForeColor();
void SetForeColor(LPDISPATCH newValue);
long GetGradientColorType();
float GetGradientDegree();
long GetGradientStyle();
long GetGradientVariant();
long GetPattern();
long GetPresetGradientType();
long GetPresetTexture();
CString GetTextureName();
long GetTextureType();
float GetTransparency();
void SetTransparency(float newValue);
long GetType();
long GetVisible();
void SetVisible(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// LineFormat wrapper class
class LineFormat : public COleDispatchDriver
{
public:
LineFormat() {} // Calls COleDispatchDriver default constructor
LineFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
LineFormat(const LineFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
LPDISPATCH GetBackColor();
void SetBackColor(LPDISPATCH newValue);
long GetBeginArrowheadLength();
void SetBeginArrowheadLength(long nNewValue);
long GetBeginArrowheadStyle();
void SetBeginArrowheadStyle(long nNewValue);
long GetBeginArrowheadWidth();
void SetBeginArrowheadWidth(long nNewValue);
long GetDashStyle();
void SetDashStyle(long nNewValue);
long GetEndArrowheadLength();
void SetEndArrowheadLength(long nNewValue);
long GetEndArrowheadStyle();
void SetEndArrowheadStyle(long nNewValue);
long GetEndArrowheadWidth();
void SetEndArrowheadWidth(long nNewValue);
LPDISPATCH GetForeColor();
void SetForeColor(LPDISPATCH newValue);
long GetPattern();
void SetPattern(long nNewValue);
long GetStyle();
void SetStyle(long nNewValue);
float GetTransparency();
void SetTransparency(float newValue);
long GetVisible();
void SetVisible(long nNewValue);
float GetWeight();
void SetWeight(float newValue);
long GetInsetPen();
void SetInsetPen(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// ShadowFormat wrapper class
class ShadowFormat : public COleDispatchDriver
{
public:
ShadowFormat() {} // Calls COleDispatchDriver default constructor
ShadowFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
ShadowFormat(const ShadowFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void IncrementOffsetX(float Increment);
void IncrementOffsetY(float Increment);
LPDISPATCH GetForeColor();
void SetForeColor(LPDISPATCH newValue);
long GetObscured();
void SetObscured(long nNewValue);
float GetOffsetX();
void SetOffsetX(float newValue);
float GetOffsetY();
void SetOffsetY(float newValue);
float GetTransparency();
void SetTransparency(float newValue);
long GetType();
void SetType(long nNewValue);
long GetVisible();
void SetVisible(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// ConnectorFormat wrapper class
class ConnectorFormat : public COleDispatchDriver
{
public:
ConnectorFormat() {} // Calls COleDispatchDriver default constructor
ConnectorFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
ConnectorFormat(const ConnectorFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void BeginConnect(LPDISPATCH ConnectedShape, long ConnectionSite);
void BeginDisconnect();
void EndConnect(LPDISPATCH ConnectedShape, long ConnectionSite);
void EndDisconnect();
long GetBeginConnected();
LPDISPATCH GetBeginConnectedShape();
long GetBeginConnectionSite();
long GetEndConnected();
LPDISPATCH GetEndConnectedShape();
long GetEndConnectionSite();
long GetType();
void SetType(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// TextEffectFormat wrapper class
class TextEffectFormat : public COleDispatchDriver
{
public:
TextEffectFormat() {} // Calls COleDispatchDriver default constructor
TextEffectFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
TextEffectFormat(const TextEffectFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void ToggleVerticalText();
long GetAlignment();
void SetAlignment(long nNewValue);
long GetFontBold();
void SetFontBold(long nNewValue);
long GetFontItalic();
void SetFontItalic(long nNewValue);
CString GetFontName();
void SetFontName(LPCTSTR lpszNewValue);
float GetFontSize();
void SetFontSize(float newValue);
long GetKernedPairs();
void SetKernedPairs(long nNewValue);
long GetNormalizedHeight();
void SetNormalizedHeight(long nNewValue);
long GetPresetShape();
void SetPresetShape(long nNewValue);
long GetPresetTextEffect();
void SetPresetTextEffect(long nNewValue);
long GetRotatedChars();
void SetRotatedChars(long nNewValue);
CString GetText();
void SetText(LPCTSTR lpszNewValue);
float GetTracking();
void SetTracking(float newValue);
};
/////////////////////////////////////////////////////////////////////////////
// ThreeDFormat wrapper class
class ThreeDFormat : public COleDispatchDriver
{
public:
ThreeDFormat() {} // Calls COleDispatchDriver default constructor
ThreeDFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
ThreeDFormat(const ThreeDFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
LPDISPATCH GetApplication();
long GetCreator();
LPDISPATCH GetParent();
void IncrementRotationX(float Increment);
void IncrementRotationY(float Increment);
void ResetRotation();
void SetThreeDFormat(long PresetThreeDFormat);
void SetExtrusionDirection(long PresetExtrusionDirection);
float GetDepth();
void SetDepth(float newValue);
LPDISPATCH GetExtrusionColor();
long GetExtrusionColorType();
void SetExtrusionColorType(long nNewValue);
long GetPerspective();
void SetPerspective(long nNewValue);
long GetPresetExtrusionDirection();
long GetPresetLightingDirection();
void SetPresetLightingDirection(long nNewValue);
long GetPresetLightingSoftness();
void SetPresetLightingSoftness(long nNewValue);
long GetPresetMaterial();
void SetPresetMaterial(long nNewValue);
long GetPresetThreeDFormat();
float GetRotationX();
void SetRotationX(float newValue);
float GetRotationY();
void SetRotationY(float newValue);
long GetVisible();
void SetVisible(long nNewValue);
};
/////////////////////////////////////////////////////////////////////////////
// TextFrame wrapper class
class TextFrame : public COleDispatchDriver
{
public:
TextFrame() {} // Calls COleDispatchDriver default constructor
TextFrame(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
TextFrame(const TextFrame& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -