const CVisioApplication FAR & operator=(const CVisioApplication FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioApplication FAR & operator=(const IVApplication FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioApplication() { }
IVApplication FAR * GetIP() const { return (IVApplication FAR *) GetUnknown(); }
operator IVApplication FAR * () { return (IVApplication FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioDocument FAR ActiveDocument();
CVisioPage FAR ActivePage();
CVisioWindow FAR ActiveWindow();
CVisioApplication FAR Application();
CVisioDocuments FAR Documents();
short ObjectType();
long getOnDataChangeDelay();
void putOnDataChangeDelay(VW_CONST long param01);
long ProcessID();
void Quit();
void Redo();
short getScreenUpdating();
void putScreenUpdating(VW_CONST short param01);
short Stat();
void Undo();
BSTR_HELPER_CLASS FAR Version();
short WindowHandle();
CVisioWindows FAR Windows();
long Language();
short IsVisio16();
short IsVisio32();
long WindowHandle32();
short InstanceHandle();
long InstanceHandle32();
CVisioUIObject FAR BuiltInMenus();
CVisioUIObject FAR BuiltInToolbars(short fIgnored);
CVisioUIObject FAR CustomMenus();
void SetCustomMenus(CVisioUIObject FAR &MenusObject);
BSTR_HELPER_CLASS FAR getCustomMenusFile();
void putCustomMenusFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void ClearCustomMenus();
CVisioUIObject FAR CustomToolbars();
void SetCustomToolbars(CVisioUIObject FAR &ToolbarsObject);
BSTR_HELPER_CLASS FAR getCustomToolbarsFile();
void putCustomToolbarsFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void ClearCustomToolbars();
BSTR_HELPER_CLASS FAR getAddonPaths();
void putAddonPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getDrawingPaths();
void putDrawingPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getFilterPaths();
void putFilterPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getHelpPaths();
void putHelpPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getStartupPaths();
void putStartupPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getStencilPaths();
void putStencilPaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getTemplatePaths();
void putTemplatePaths(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getUserName();
void putUserName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
short getPromptForSummary();
void putPromptForSummary(VW_CONST short param01);
CVisioAddons FAR Addons();
void SaveWorkspaceAs(BSTR_HELPER_CLASS FAR &FileName);
void DoCmd(short CommandID);
BSTR_HELPER_CLASS FAR ProfileName();
BSTR_HELPER_CLASS FAR EventInfo(long reservedPass0);
CVisioEventList FAR EventList();
short PersistsEvents();
short Active();
short getDeferRecalc();
void putDeferRecalc(VW_CONST short param01);
short getAlertResponse();
void putAlertResponse(VW_CONST short param01);
short getShowProgress();
void putShowProgress(VW_CONST short param01);
IDispatch FAR *Vbe();
short getShowMenus();
void putShowMenus(VW_CONST short param01);
short getToolbarStyle();
void putToolbarStyle(VW_CONST short param01);
short getShowStatusBar();
void putShowStatusBar(VW_CONST short param01);
short getEventsEnabled();
void putEventsEnabled(VW_CONST short param01);
BSTR_HELPER_CLASS FAR FormatResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, BSTR_HELPER_CLASS FAR &Format);
double ConvertResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut);
BSTR_HELPER_CLASS FAR Path();
void EnumDirectories(BSTR_HELPER_CLASS FAR &PathsString, /*BSTR*/ SAFEARRAY FAR * FAR *NameArray);
long getTraceFlags();
void putTraceFlags(VW_CONST long param01);
void PurgeUndo();
long QueueMarkerEvent(BSTR_HELPER_CLASS FAR &ContextString);
const CVisioDocument FAR & operator=(const CVisioDocument FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioDocument FAR & operator=(const IVDocument FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioDocument() { }
IVDocument FAR * GetIP() const { return (IVDocument FAR *) GetUnknown(); }
operator IVDocument FAR * () { return (IVDocument FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioApplication FAR Application();
short Stat();
short ObjectType();
short InPlace();
CVisioMasters FAR Masters();
CVisioPages FAR Pages();
CVisioStyles FAR Styles();
BSTR_HELPER_CLASS FAR Name();
BSTR_HELPER_CLASS FAR Path();
BSTR_HELPER_CLASS FAR FullName();
CVisioMaster FAR Drop(IUnknown FAR *ObjectToDrop, short xPos, short yPos);
short Index();
short getSaved();
void putSaved(VW_CONST short param01);
short ReadOnly();
short Save();
short SaveAs(BSTR_HELPER_CLASS FAR &FileName);
long getVersion();
void putVersion(VW_CONST long param01);
BSTR_HELPER_CLASS FAR getTitle();
void putTitle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getSubject();
void putSubject(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getCreator();
void putCreator(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getKeywords();
void putKeywords(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getDescription();
void putDescription(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void Print();
void Close();
CVisioUIObject FAR CustomMenus();
void SetCustomMenus(CVisioUIObject FAR &MenusObject);
BSTR_HELPER_CLASS FAR getCustomMenusFile();
void putCustomMenusFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void ClearCustomMenus();
CVisioUIObject FAR CustomToolbars();
void SetCustomToolbars(CVisioUIObject FAR &ToolbarsObject);
BSTR_HELPER_CLASS FAR getCustomToolbarsFile();
void putCustomToolbarsFile(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void ClearCustomToolbars();
CVisioFonts FAR Fonts();
CVisioColors FAR Colors();
CVisioEventList FAR EventList();
BSTR_HELPER_CLASS FAR Template();
void SaveAsEx(BSTR_HELPER_CLASS FAR &FileName, short SaveFlags);
short getSavePreviewMode();
void putSavePreviewMode(VW_CONST short param01);
void GetIcon(short ID, BSTR_HELPER_CLASS FAR &FileName);
void SetIcon(short ID, short Index, BSTR_HELPER_CLASS FAR &FileName);
double getLeftMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
void putLeftMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
double getRightMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
void putRightMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
double getTopMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
void putTopMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
double getBottomMargin(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
void putBottomMargin(VW_CONST VARIANT_HELPER_CLASS FAR &UnitsNameOrCode, VW_CONST double param02);
short getPrintLandscape();
void putPrintLandscape(VW_CONST short param01);
short getPrintCenteredH();
void putPrintCenteredH(VW_CONST short param01);
short getPrintCenteredV();
void putPrintCenteredV(VW_CONST short param01);
double getPrintScale();
void putPrintScale(VW_CONST double param01);
short getPrintFitOnPages();
void putPrintFitOnPages(VW_CONST short param01);
short getPrintPagesAcross();
void putPrintPagesAcross(VW_CONST short param01);
short getPrintPagesDown();
void putPrintPagesDown(VW_CONST short param01);
BSTR_HELPER_CLASS FAR getDefaultStyle();
void putDefaultStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getDefaultLineStyle();
void putDefaultLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getDefaultFillStyle();
void putDefaultFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getDefaultTextStyle();
void putDefaultTextStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
short PersistsEvents();
CVisioWindow FAR OpenStencilWindow();
void ParseLine(BSTR_HELPER_CLASS FAR &Line);
void ExecuteLine(BSTR_HELPER_CLASS FAR &Line);
IDispatch FAR *VBProject();
double PaperWidth(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
double PaperHeight(VARIANT_HELPER_CLASS FAR &UnitsNameOrCode);
short getPaperSize();
void putPaperSize(VW_CONST short param01);
void FollowHyperlink45(BSTR_HELPER_CLASS FAR &Target, BSTR_HELPER_CLASS FAR &Location);
BSTR_HELPER_CLASS FAR CodeName();
short getMode();
void putMode(VW_CONST short param01);
CVisioOLEObjects FAR OLEObjects();
void FollowHyperlink(BSTR_HELPER_CLASS FAR &Address, BSTR_HELPER_CLASS FAR &SubAddress, VARIANT_HELPER_CLASS FAR &ExtraInfo, VARIANT_HELPER_CLASS FAR &Frame, VARIANT_HELPER_CLASS FAR &NewWindow, VARIANT_HELPER_CLASS FAR &res1, VARIANT_HELPER_CLASS FAR &res2, VARIANT_HELPER_CLASS FAR &res3);
BSTR_HELPER_CLASS FAR getManager();
void putManager(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getCompany();
void putCompany(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getCategory();
void putCategory(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getHyperlinkBase();
void putHyperlinkBase(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
const CVisioMaster FAR & operator=(const CVisioMaster FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioMaster FAR & operator=(const IVMaster FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioMaster() { }
IVMaster FAR * GetIP() const { return (IVMaster FAR *) GetUnknown(); }
operator IVMaster FAR * () { return (IVMaster FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioDocument FAR Document();
BSTR_HELPER_CLASS FAR getPrompt();
void putPrompt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
short getAlignName();
void putAlignName(VW_CONST short param01);
short getIconSize();
void putIconSize(VW_CONST short param01);
short getIconUpdate();
void putIconUpdate(VW_CONST short param01);
CVisioApplication FAR Application();
short Stat();
short ObjectType();
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
CVisioShapes FAR Shapes();
short Index();
short OneD();
void Delete();
BSTR_HELPER_CLASS FAR UniqueID();
CVisioLayers FAR Layers();
CVisioShape FAR PageSheet();
CVisioShape FAR Drop(IUnknown FAR *ObjectToDrop, double xPos, double yPos);
void CenterDrawing();
CVisioEventList FAR EventList();
short PersistsEvents();
CVisioShape FAR DrawLine(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawRectangle(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawOval(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags);
CVisioShape FAR DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags);
CVisioShape FAR DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags);
CVisioShape FAR Import(BSTR_HELPER_CLASS FAR &FileName);
void Export(BSTR_HELPER_CLASS FAR &FileName);
CVisioShape FAR InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags);
CVisioShape FAR InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags);
CVisioWindow FAR OpenDrawWindow();
CVisioWindow FAR OpenIconWindow();
CVisioMaster FAR Open();
void Close();
short DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray);
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
CVisioConnects FAR Connects();
void ImportIcon(BSTR_HELPER_CLASS FAR &FileName);
void ExportIcon(BSTR_HELPER_CLASS FAR &FileName, short Flags);
void Layout();
void BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
const CVisioPage FAR & operator=(const CVisioPage FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioPage FAR & operator=(const IVPage FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioPage() { }
IVPage FAR * GetIP() const { return (IVPage FAR *) GetUnknown(); }
operator IVPage FAR * () { return (IVPage FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioDocument FAR Document();
CVisioApplication FAR Application();
short Stat();
short getBackground();
void putBackground(VW_CONST short param01);
void Paste();
void PasteSpecial(short Format);
short ObjectType();
CVisioShape FAR DrawLine(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawRectangle(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawOval(double xLeft, double yTop, double xRight, double yBottom);
short Index();
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
CVisioShapes FAR Shapes();
CVisioShape FAR Drop(IUnknown FAR *ObjectToDrop, double xPos, double yPos);
CVisioShape FAR AddGuide(short Type, double xPos, double yPos);
CVisioPage FAR BackPageAsObj();
void BackPageFromName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void Print();
CVisioShape FAR Import(BSTR_HELPER_CLASS FAR &FileName);
void Export(BSTR_HELPER_CLASS FAR &FileName);
CVisioLayers FAR Layers();
CVisioShape FAR PageSheet();
void Delete(short fRenumberPages);
void CenterDrawing();
CVisioEventList FAR EventList();
short PersistsEvents();
CVisioShape FAR DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags);
CVisioShape FAR DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags);
CVisioShape FAR DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags);
CVisioShape FAR InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags);
CVisioShape FAR InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags);
CVisioWindow FAR OpenDrawWindow();
short DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray);
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
CVisioConnects FAR Connects();
VARIANT_HELPER_CLASS FAR getBackPage();
void putBackPage(VW_CONST VARIANT_HELPER_CLASS FAR ¶m01);
void Layout();
void BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
const CVisioShape FAR & operator=(const CVisioShape FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioShape FAR & operator=(const IVShape FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioShape() { }
IVShape FAR * GetIP() const { return (IVShape FAR *) GetUnknown(); }
operator IVShape FAR * () { return (IVShape FAR *) GetUnknown(); }
VW_PUBLIC:
void Group();
void BringForward();
void BringToFront();
void ConvertToGroup();
void FlipHorizontal();
void FlipVertical();
void ReverseEnds();
void SendBackward();
void SendToBack();
void Rotate90();
void Ungroup();
CVisioDocument FAR Document();
IDispatch FAR *Parent();
CVisioApplication FAR Application();
short Stat();
CVisioMaster FAR Master();
short Type();
short ObjectType();
CVisioCell FAR Cells(BSTR_HELPER_CLASS FAR &CellName);
CVisioCell FAR CellsSRC(short Section, short Row, short Column);
CVisioShapes FAR Shapes();
BSTR_HELPER_CLASS FAR getData1();
void putData1(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData2();
void putData2(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData3();
void putData3(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getHelp();
void putHelp(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR NameID();
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getText();
void putText(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
long CharCount();
CVisioCharacters FAR Characters();
void Copy();
void Cut();
void Delete();
void Duplicate();
CVisioShape FAR Drop(IUnknown FAR *ObjectToDrop, double xPos, double yPos);
short getOneD();
void putOneD(VW_CONST short param01);
short GeometryCount();
short RowCount(short Section);
short AddSection(short Section);
void DeleteSection(short Section);
short AddRow(short Section, short Row, short RowTag);
void DeleteRow(short Section, short Row);
short RowsCellCount(short Section, short Row);
short getRowType(short Section, short Row);
void putRowType(VW_CONST short Section, VW_CONST short Row, VW_CONST short param03);
void SetCenter(double xPos, double yPos);
void SetBegin(double xPos, double yPos);
void SetEnd(double xPos, double yPos);
CVisioConnects FAR Connects();
short Index();
BSTR_HELPER_CLASS FAR getStyle();
void putStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void StyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getLineStyle();
void putLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void LineStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getFillStyle();
void putFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void FillStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getTextStyle();
void putTextStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void TextStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void Export(BSTR_HELPER_CLASS FAR &FileName);
double AreaIU();
double LengthIU();
IUnknown FAR *GeomExIf(short fFill, double LineRes);
BSTR_HELPER_CLASS FAR UniqueID(short fUniqueID);
CVisioPage FAR ContainingPage();
CVisioMaster FAR ContainingMaster();
CVisioShape FAR ContainingShape();
short SectionExists(short Section, short fLocalExists);
short RowExists(short Section, short Row, short fLocalExists);
short CellExists(BSTR_HELPER_CLASS FAR &CellName, short fLocalExists);
short CellsSRCExists(short Section, short Row, short Column, short fLocalExists);
short LayerCount();
CVisioLayer FAR Layer(short Index);
short AddNamedRow(short Section, BSTR_HELPER_CLASS FAR &RowName, short RowTag);
short AddRows(short Section, short Row, short RowTag, short RowCount);
CVisioEventList FAR EventList();
short PersistsEvents();
CVisioShape FAR DrawLine(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawRectangle(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawOval(double xLeft, double yTop, double xRight, double yBottom);
CVisioShape FAR DrawSpline(/*double*/ SAFEARRAY FAR * FAR *xyArray, double Tolerance, short Flags);
CVisioShape FAR DrawBezier(/*double*/ SAFEARRAY FAR * FAR *xyArray, short degree, short Flags);
CVisioShape FAR DrawPolyline(/*double*/ SAFEARRAY FAR * FAR *xyArray, short Flags);
void FitCurve(double Tolerance, short Flags);
CVisioShape FAR Import(BSTR_HELPER_CLASS FAR &FileName);
void CenterDrawing();
CVisioShape FAR InsertFromFile(BSTR_HELPER_CLASS FAR &FileName, short Flags);
CVisioShape FAR InsertObject(BSTR_HELPER_CLASS FAR &ClassOrProgID, short Flags);
BSTR_HELPER_CLASS FAR ClassID();
short ForeignType();
IDispatch FAR *Object();
CVisioWindow FAR OpenDrawWindow();
CVisioWindow FAR OpenSheetWindow();
short ID();
short DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray);
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
CVisioConnects FAR FromConnects();
void Layout();
void BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
short HitTest(double xPos, double yPos, double Tolerance);
const CVisioStyle FAR & operator=(const CVisioStyle FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioStyle FAR & operator=(const IVStyle FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioStyle() { }
IVStyle FAR * GetIP() const { return (IVStyle FAR *) GetUnknown(); }
operator IVStyle FAR * () { return (IVStyle FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioApplication FAR Application();
short Stat();
short ObjectType();
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
short Index();
CVisioDocument FAR Document();
BSTR_HELPER_CLASS FAR getBasedOn();
void putBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getTextBasedOn();
void putTextBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getLineBasedOn();
void putLineBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getFillBasedOn();
void putFillBasedOn(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
short getIncludesText();
void putIncludesText(VW_CONST short param01);
short getIncludesLine();
void putIncludesLine(VW_CONST short param01);
short getIncludesFill();
void putIncludesFill(VW_CONST short param01);
CVisioCell FAR Cells(BSTR_HELPER_CLASS FAR &CellName);
void Delete();
CVisioEventList FAR EventList();
short PersistsEvents();
short ID();
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
const CVisioEventList FAR & operator=(const CVisioEventList FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioEventList FAR & operator=(const IVEventList FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioEventList() { }
IVEventList FAR * GetIP() const { return (IVEventList FAR *) GetUnknown(); }
operator IVEventList FAR * () { return (IVEventList FAR *) GetUnknown(); }
VW_PUBLIC:
CVisioApplication FAR Application();
short ObjectType();
CVisioEvent FAR Item(short Index);
short Count();
CVisioEvent FAR Add(short EventCode, short Action, BSTR_HELPER_CLASS FAR &Target, BSTR_HELPER_CLASS FAR &TargetArgs);
CVisioEvent FAR AddAdvise(short EventCode, VARIANT_HELPER_CLASS FAR &SinkIUnkOrIDisp, BSTR_HELPER_CLASS FAR &IIDSink, BSTR_HELPER_CLASS FAR &TargetArgs);
const CVisioExtender FAR & operator=(const CVisioExtender FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioExtender FAR & operator=(const IVExtender FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioExtender() { }
IVExtender FAR * GetIP() const { return (IVExtender FAR *) GetUnknown(); }
operator IVExtender FAR * () { return (IVExtender FAR *) GetUnknown(); }
VW_PUBLIC:
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
IUnknown FAR *Object();
IUnknown FAR *Parent();
void Delete();
void Index();
CVisioShape FAR Shape();
void Group();
void BringForward();
void BringToFront();
void ConvertToGroup();
void SendBackward();
void SendToBack();
CVisioDocument FAR Document();
IDispatch FAR *ShapeParent();
CVisioApplication FAR Application();
CVisioMaster FAR Master();
CVisioCell FAR Cells(BSTR_HELPER_CLASS FAR &CellName);
CVisioCell FAR CellsSRC(short Section, short Row, short Column);
BSTR_HELPER_CLASS FAR getData1();
void putData1(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData2();
void putData2(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData3();
void putData3(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getHelp();
void putHelp(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR NameID();
void ShapeCopy();
void ShapeCut();
void ShapeDelete();
void ShapeDuplicate();
short RowCount(short Section);
short AddSection(short Section);
void DeleteSection(short Section);
short AddRow(short Section, short Row, short RowTag);
void DeleteRow(short Section, short Row);
short RowsCellCount(short Section, short Row);
short getRowType(short Section, short Row);
void putRowType(VW_CONST short Section, VW_CONST short Row, VW_CONST short param03);
void SetCenter(double xPos, double yPos);
CVisioConnects FAR Connects();
short ShapeIndex();
BSTR_HELPER_CLASS FAR getStyle();
void putStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void StyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getLineStyle();
void putLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void LineStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getFillStyle();
void putFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void FillStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void Export(BSTR_HELPER_CLASS FAR &FileName);
BSTR_HELPER_CLASS FAR UniqueID(short fUniqueID);
CVisioPage FAR ContainingPage();
CVisioMaster FAR ContainingMaster();
CVisioShape FAR ContainingShape();
short SectionExists(short Section, short fLocalExists);
short RowExists(short Section, short Row, short fLocalExists);
short CellExists(BSTR_HELPER_CLASS FAR &CellName, short fLocalExists);
short CellsSRCExists(short Section, short Row, short Column, short fLocalExists);
short LayerCount();
CVisioLayer FAR Layer(short Index);
short AddNamedRow(short Section, BSTR_HELPER_CLASS FAR &RowName, short RowTag);
short AddRows(short Section, short Row, short RowTag, short RowCount);
CVisioEventList FAR EventList();
short PersistsEvents();
BSTR_HELPER_CLASS FAR ClassID();
IDispatch FAR *ShapeObject();
CVisioWindow FAR OpenSheetWindow();
short ShapeID();
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
CVisioConnects FAR FromConnects();
void BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
short HitTest(double xPos, double yPos, double Tolerance);
const CVisioDispExtender FAR & operator=(const CVisioDispExtender FAR &other)
{
if ( &other != this )
CopyIP(other.GetUnknown());
return *this;
}
const CVisioDispExtender FAR & operator=(const IVDispExtender FAR * other)
{
if ( (LPUNKNOWN)other != GetUnknown() )
CopyIP((LPUNKNOWN)other);
return *this;
}
virtual ~CVisioDispExtender() { }
IVDispExtender FAR * GetIP() const { return (IVDispExtender FAR *) GetUnknown(); }
operator IVDispExtender FAR * () { return (IVDispExtender FAR *) GetUnknown(); }
VW_PUBLIC:
#if 0
// This method list provided for information only...
void QueryInterface(REFIID riid, void FAR * FAR *ppvObj);
unsigned long AddRef();
unsigned long Release();
void GetTypeInfoCount(unsigned long FAR *pctinfo);
void GetTypeInfo(unsigned long itinfo, unsigned long lcid, ITypeInfo FAR *FAR *pptinfo);
void GetIDsOfNames(REFIID riid, OLECHAR FAR *FAR *rgszNames, unsigned long cNames, unsigned long lcid, long FAR *rgdispid);
void Invoke(long dispidMember, REFIID riid, unsigned long lcid, unsigned short wFlags, DISPPARAMS FAR *pdispparams, VARIANT_HELPER_CLASS FAR &pvarResult, EXCEPINFO FAR *pexcepinfo, unsigned long FAR *puArgErr);
BSTR_HELPER_CLASS FAR getName();
void putName(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
IUnknown FAR *Object();
IUnknown FAR *Parent();
void Delete();
void Index();
CVisioShape FAR Shape();
void Group();
void BringForward();
void BringToFront();
void ConvertToGroup();
void SendBackward();
void SendToBack();
CVisioDocument FAR Document();
IDispatch FAR *ShapeParent();
CVisioApplication FAR Application();
CVisioMaster FAR Master();
CVisioCell FAR Cells(BSTR_HELPER_CLASS FAR &CellName);
CVisioCell FAR CellsSRC(short Section, short Row, short Column);
BSTR_HELPER_CLASS FAR getData1();
void putData1(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData2();
void putData2(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getData3();
void putData3(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getHelp();
void putHelp(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR NameID();
void ShapeCopy();
void ShapeCut();
void ShapeDelete();
void ShapeDuplicate();
short RowCount(short Section);
short AddSection(short Section);
void DeleteSection(short Section);
short AddRow(short Section, short Row, short RowTag);
void DeleteRow(short Section, short Row);
short RowsCellCount(short Section, short Row);
short getRowType(short Section, short Row);
void putRowType(VW_CONST short Section, VW_CONST short Row, VW_CONST short param03);
void SetCenter(double xPos, double yPos);
CVisioConnects FAR Connects();
short ShapeIndex();
BSTR_HELPER_CLASS FAR getStyle();
void putStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void StyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getLineStyle();
void putLineStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void LineStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
BSTR_HELPER_CLASS FAR getFillStyle();
void putFillStyle(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void FillStyleKeepFmt(VW_CONST BSTR_HELPER_CLASS FAR ¶m01);
void Export(BSTR_HELPER_CLASS FAR &FileName);
BSTR_HELPER_CLASS FAR UniqueID(short fUniqueID);
CVisioPage FAR ContainingPage();
CVisioMaster FAR ContainingMaster();
CVisioShape FAR ContainingShape();
short SectionExists(short Section, short fLocalExists);
short RowExists(short Section, short Row, short fLocalExists);
short CellExists(BSTR_HELPER_CLASS FAR &CellName, short fLocalExists);
short CellsSRCExists(short Section, short Row, short Column, short fLocalExists);
short LayerCount();
CVisioLayer FAR Layer(short Index);
short AddNamedRow(short Section, BSTR_HELPER_CLASS FAR &RowName, short RowTag);
short AddRows(short Section, short Row, short RowTag, short RowCount);
CVisioEventList FAR EventList();
short PersistsEvents();
BSTR_HELPER_CLASS FAR ClassID();
IDispatch FAR *ShapeObject();
CVisioWindow FAR OpenSheetWindow();
short ShapeID();
void GetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray);
void GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray);
short SetFormulas(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *formulaArray, short Flags);
short SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags);
CVisioConnects FAR FromConnects();
void BoundingBox(short Flags, double FAR *lpr8Left, double FAR *lpr8Bottom, double FAR *lpr8Right, double FAR *lpr8Top);
short HitTest(double xPos, double yPos, double Tolerance);
VW_INLINE BSTR_HELPER_CLASS FAR CVisioApplication::FormatResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut, BSTR_HELPER_CLASS FAR &Format)
VW_INLINE double CVisioApplication::ConvertResult(VARIANT_HELPER_CLASS FAR &StringOrNumber, VARIANT_HELPER_CLASS FAR &UnitsIn, VARIANT_HELPER_CLASS FAR &UnitsOut)
VW_INLINE BSTR_HELPER_CLASS FAR CVisioDocument::CodeName()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
BSTR ret= 0;
CHECK_IP(GetIP(), CVisioDocument, CodeName);
if (NULL!=GetIP())
hr= GetIP()->get_CodeName(&ret);
CHECK_HRESULT(hr, CVisioDocument, CodeName);
return BSTR_HELPER_CLASS(ret, TRUE);
}
VW_INLINE short CVisioDocument::getMode()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioDocument, getMode);
if (NULL!=GetIP())
hr= GetIP()->get_Mode(&ret);
CHECK_HRESULT(hr, CVisioDocument, getMode);
return ret;
}
VW_INLINE void CVisioDocument::putMode(VW_CONST short param01)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioDocument, putMode);
if (NULL!=GetIP())
hr= GetIP()->put_Mode(param01);
CHECK_HRESULT(hr, CVisioDocument, putMode);
}
VW_INLINE CVisioOLEObjects FAR CVisioDocument::OLEObjects()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVOLEObjects FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioDocument, OLEObjects);
if (NULL!=GetIP())
hr= GetIP()->get_OLEObjects(&lpRet);
CHECK_HRESULT(hr, CVisioDocument, OLEObjects);
return CVisioOLEObjects(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE void CVisioDocument::FollowHyperlink(BSTR_HELPER_CLASS FAR &Address, BSTR_HELPER_CLASS FAR &SubAddress, VARIANT_HELPER_CLASS FAR &ExtraInfo, VARIANT_HELPER_CLASS FAR &Frame, VARIANT_HELPER_CLASS FAR &NewWindow, VARIANT_HELPER_CLASS FAR &res1, VARIANT_HELPER_CLASS FAR &res2, VARIANT_HELPER_CLASS FAR &res3)
return CVisioShape(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioWindow FAR CVisioMaster::OpenDrawWindow()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioMaster, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpRet);
CHECK_HRESULT(hr, CVisioMaster, OpenDrawWindow);
return CVisioWindow(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioWindow FAR CVisioMaster::OpenIconWindow()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioMaster, OpenIconWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenIconWindow(&lpRet);
CHECK_HRESULT(hr, CVisioMaster, OpenIconWindow);
return CVisioWindow(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioMaster FAR CVisioMaster::Open()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVMaster FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioMaster, Open);
if (NULL!=GetIP())
hr= GetIP()->Open(&lpRet);
CHECK_HRESULT(hr, CVisioMaster, Open);
return CVisioMaster(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE void CVisioMaster::Close()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioMaster, Close);
if (NULL!=GetIP())
hr= GetIP()->Close();
CHECK_HRESULT(hr, CVisioMaster, Close);
}
VW_INLINE short CVisioMaster::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray)
VW_INLINE void CVisioMaster::GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE short CVisioMaster::SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags)
return CVisioShape(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioWindow FAR CVisioPage::OpenDrawWindow()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioPage, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpRet);
CHECK_HRESULT(hr, CVisioPage, OpenDrawWindow);
return CVisioWindow(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE short CVisioPage::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray)
VW_INLINE void CVisioPage::GetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE short CVisioPage::SetResults(/*short*/ SAFEARRAY FAR * FAR *SID_SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags)
return CVisioShape(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE BSTR_HELPER_CLASS FAR CVisioShape::ClassID()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
BSTR ret= 0;
CHECK_IP(GetIP(), CVisioShape, ClassID);
if (NULL!=GetIP())
hr= GetIP()->get_ClassID(&ret);
CHECK_HRESULT(hr, CVisioShape, ClassID);
return BSTR_HELPER_CLASS(ret, TRUE);
}
VW_INLINE short CVisioShape::ForeignType()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioShape, ForeignType);
if (NULL!=GetIP())
hr= GetIP()->get_ForeignType(&ret);
CHECK_HRESULT(hr, CVisioShape, ForeignType);
return ret;
}
VW_INLINE IDispatch FAR *CVisioShape::Object()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IDispatch FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioShape, Object);
if (NULL!=GetIP())
hr= GetIP()->get_Object(&lpRet);
CHECK_HRESULT(hr, CVisioShape, Object);
return lpRet;
}
VW_INLINE CVisioWindow FAR CVisioShape::OpenDrawWindow()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioShape, OpenDrawWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenDrawWindow(&lpRet);
CHECK_HRESULT(hr, CVisioShape, OpenDrawWindow);
return CVisioWindow(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioWindow FAR CVisioShape::OpenSheetWindow()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVWindow FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioShape, OpenSheetWindow);
if (NULL!=GetIP())
hr= GetIP()->OpenSheetWindow(&lpRet);
CHECK_HRESULT(hr, CVisioShape, OpenSheetWindow);
return CVisioWindow(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE short CVisioShape::ID()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioShape, ID);
if (NULL!=GetIP())
hr= GetIP()->get_ID(&ret);
CHECK_HRESULT(hr, CVisioShape, ID);
return ret;
}
VW_INLINE short CVisioShape::DropMany(/*VARIANT*/ SAFEARRAY FAR * FAR *ObjectsToInstance, /*double*/ SAFEARRAY FAR * FAR *xyArray, /*short*/ SAFEARRAY FAR * FAR *IDArray)
VW_INLINE void CVisioShape::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE short CVisioShape::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags)
VW_INLINE void CVisioStyle::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE short CVisioStyle::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags)
VW_INLINE CVisioApplication FAR CVisioStyles::Application()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVApplication FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioStyles, Application);
if (NULL!=GetIP())
hr= GetIP()->get_Application(&lpRet);
CHECK_HRESULT(hr, CVisioStyles, Application);
return CVisioApplication(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE short CVisioStyles::ObjectType()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioStyles, ObjectType);
if (NULL!=GetIP())
hr= GetIP()->get_ObjectType(&ret);
CHECK_HRESULT(hr, CVisioStyles, ObjectType);
return ret;
}
VW_INLINE CVisioStyle FAR CVisioStyles::Item(VARIANT_HELPER_CLASS FAR &NameOrIndex)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVStyle FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioStyles, Item);
if (NULL!=GetIP())
hr= GetIP()->get_Item(NameOrIndex, &lpRet);
CHECK_HRESULT(hr, CVisioStyles, Item);
return CVisioStyle(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE short CVisioStyles::Count()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioStyles, Count);
if (NULL!=GetIP())
hr= GetIP()->get_Count(&ret);
CHECK_HRESULT(hr, CVisioStyles, Count);
return ret;
}
VW_INLINE CVisioDocument FAR CVisioStyles::Document()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVDocument FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioStyles, Document);
if (NULL!=GetIP())
hr= GetIP()->get_Document(&lpRet);
CHECK_HRESULT(hr, CVisioStyles, Document);
return CVisioDocument(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioStyle FAR CVisioStyles::Add(BSTR_HELPER_CLASS FAR &StyleName, BSTR_HELPER_CLASS FAR &BasedOn, short fIncludesText, short fIncludesLine, short fIncludesFill)
return CVisioEvent(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE CVisioEvent FAR CVisioEventList::AddAdvise(short EventCode, VARIANT_HELPER_CLASS FAR &SinkIUnkOrIDisp, BSTR_HELPER_CLASS FAR &IIDSink, BSTR_HELPER_CLASS FAR &TargetArgs)
VW_INLINE CVisioApplication FAR CVisioCurve::Application()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
IVApplication FAR *lpRet= NULL;
CHECK_IP(GetIP(), CVisioCurve, Application);
if (NULL!=GetIP())
hr= GetIP()->get_Application(&lpRet);
CHECK_HRESULT(hr, CVisioCurve, Application);
return CVisioApplication(lpRet, TRUE); // TRUE passes refcount ownership to wrapper class instance
}
VW_INLINE short CVisioCurve::ObjectType()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioCurve, ObjectType);
if (NULL!=GetIP())
hr= GetIP()->get_ObjectType(&ret);
CHECK_HRESULT(hr, CVisioCurve, ObjectType);
return ret;
}
VW_INLINE short CVisioCurve::Closed()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
short ret= 0;
CHECK_IP(GetIP(), CVisioCurve, Closed);
if (NULL!=GetIP())
hr= GetIP()->get_Closed(&ret);
CHECK_HRESULT(hr, CVisioCurve, Closed);
return ret;
}
VW_INLINE void CVisioCurve::Points(double Tolerance, /*double*/ SAFEARRAY FAR * FAR *xyArray)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Points);
if (NULL!=GetIP())
hr= GetIP()->Points(Tolerance, xyArray);
CHECK_HRESULT(hr, CVisioCurve, Points);
}
VW_INLINE double CVisioCurve::Start()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
double ret= 0;
CHECK_IP(GetIP(), CVisioCurve, Start);
if (NULL!=GetIP())
hr= GetIP()->get_Start(&ret);
CHECK_HRESULT(hr, CVisioCurve, Start);
return ret;
}
VW_INLINE double CVisioCurve::End()
{
HRESULT hr= VW_INTERFACE_NOT_SET;
double ret= 0;
CHECK_IP(GetIP(), CVisioCurve, End);
if (NULL!=GetIP())
hr= GetIP()->get_End(&ret);
CHECK_HRESULT(hr, CVisioCurve, End);
return ret;
}
VW_INLINE void CVisioCurve::Point(double t, double FAR *x, double FAR *y)
{
HRESULT hr= VW_INTERFACE_NOT_SET;
CHECK_IP(GetIP(), CVisioCurve, Point);
if (NULL!=GetIP())
hr= GetIP()->Point(t, x, y);
CHECK_HRESULT(hr, CVisioCurve, Point);
}
VW_INLINE void CVisioCurve::PointAndDerivatives(double t, short n, double FAR *x, double FAR *y, double FAR *dxdt, double FAR *dydt, double FAR *ddxdt, double FAR *ddydt)
VW_INLINE void CVisioExtender::GetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, short Flags, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray)
VW_INLINE short CVisioExtender::SetResults(/*short*/ SAFEARRAY FAR * FAR *SRCStream, /*VARIANT*/ SAFEARRAY FAR * FAR *UnitsNamesOrCodes, /*VARIANT*/ SAFEARRAY FAR * FAR *resultArray, short Flags)