Professional Development with Visio® 2000

Book Description

Professional Development with Visio 2000 empowers you to create your own Visio solutions quickly and easily. Using client-proven methods, and the success of his training seminars worldwide, Visio insider David Edson provides you with an understanding of the Visio development platform, and guides you through the use of Visual Basic for Applications (VBA), enabling you to create your own Visio solutions. You will benefit from David's expert knowledge of topics including understanding Visio solutions, working with SmartShapes, customizing ShapeSheets, Visio VBA automation, Generating Visio Drawings with ActiveX Automation, and much more.

Table of Contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. Preface
  5. Introduction
  6. Visio Development with ShapeSheets
    1. Solutions Development Theory
      1. Concepts: Design Versus Drafting
      2. ShapeSheet Development
      3. Automation Development
      4. The Contents of a Typical Visio Solution
    2. An Introduction to ShapeSheet Programming
      1. Beginning ShapeSheet Exploration
      2. Programming Parametric SmartShape Symbols
      3. Programming a Bar-Graph SmartShape Symbol
      4. The Visio Smart Arrow Lab Exercise
      5. The Shape Transform Section of the ShapeSheet
      6. The Geometry Section of the ShapeSheet
      7. A Smarter Arrow SmartShape Symbol
      8. The Scratch Section of the ShapeSheet
      9. The User-Defined Cells Section of the ShapeSheet
      10. The Controls Section of the ShapeSheet
      11. Creating an Indicator SmartShape Symbol
      12. The Connection Points Section of the ShapeSheet
      13. Intercell References
      14. Summary
    3. Modifying Visio SmartShape Symbols and Groups of Symbols
      1. Protecton Section Settings
      2. The Miscellaneous Section of the ShapeSheet
      3. The Diverse Format Sections of the ShapeSheet
      4. The Shape Layout Section of the ShapeSheet
      5. Grouping of SmartShapes Symbols
      6. Intershape and Innershape References
      7. Boolean Operations
    4. SmartShape Symbol Reuse
      1. Master Properties
      2. Help
      3. Stencils
      4. Instancing Master Shapes
      5. Inheritance Versus Local Formatting
      6. Templates in Visio
    5. Enhancing SmartShape Symbol Behavior
      1. ShapeSheet-Based Events
      2. The Actions Section of the ShapeSheet
      3. The Visio Page's ShapeSheet
      4. Visio Documents and Layers
    6. Associating Data with Visio SmartShape Symbols
      1. The Custom Properties Section of the ShapeSheet
      2. The Hyperlinks Section of the ShapeSheet
      3. Linking Visio SmartShapes Symbols to Databases—The Visio Database Wizard
    7. Specialized Visio SmartShape Symbol Behavior
      1. Classes of 1D SmartShapes Symbols
      2. Types of Glue in Visio
      3. The Glue Info Section of the ShapeSheet
      4. Dynamics Connectors and Autorouting
    8. Text Behavior and Style Theory in Visio SmartShape Symbols
      1. Entering Text in a SmartShape Symbol
      2. Multiple Text Blocks
      3. Text Fields
      4. Style Theory
      5. Protecting Visio SmartShapes Symbols Formatting
    9. Creating and Using Scaled Drawings in Visio
      1. Where the Scale Information Is Held
      2. Scaling and Anti-Scaling Ratios and Formulas
      3. The Mystical “Range-Of-Eight”
      4. Visio SmartShapes Symbols That Always Scale
      5. Visio SmartShapes Symbols that Never Scale
    10. ShapeSheet Mastery
      1. A Visio SmartShapes Symbol ShapeSheet Cell Compendium (on the CD-ROM)
      2. A Visio SmartShapes Symbol ShapeSheet Function Compendium
      3. Why All of This Is So Important—Preview of Things To Come
  7. Visio ActiveX Development
    1. ActiveX Basics
      1. Servers, References, and Automation Models
      2. Visio's Implementation of VBA
      3. The VBA IDE
      4. References and Options
      5. The Object Browser
      6. The Visio Object Model
    2. Visio VBA Automation Basics
      1. Properties, Methods, and References
      2. Early Versus Late Binding of Object Variables
      3. When, Where, and How to Run Your Automation Program
      4. VB-Specific Files in Visio
      5. Interpreting the Command String
    3. Generating Visio Drawings with ActiveX Automation
      1. Creating a Visio Document
      2. Opening a Visio Stencil
      3. Getting a Reference to a Master on a Stencil
      4. Dropping a Master on a Page
      5. Adding Text to a Visio SmartShapes Symbol
      6. Getting Formulas of Visio SmartShapes Symbols and Pages
      7. Formulas Versus Results
      8. Setting a Visio Cell's Formula
    4. Connecting and Positioning Visio SmartShape Symbols under Automation
      1. Connecting SmartShapes Symbols
      2. Getting the Cell to Glue
      3. Gluing to the Other Shape
      4. Positioning or Repositioning SmartShape Symbols on a Page
    5. Opening, Printing, Saving, Closing, and Ending Visio Documents
      1. Opening Visio Documents
      2. Printing Visio Documents
      3. Saving Visio Documents
      4. Closing Visio Documents
      5. Ending a Visio Session
    6. Adding Data to Visio SmartShape Symbols Under Automation
      1. Adding Sections to SmartShapes Symbols' ShapeSheets
      2. Adding Rows to SmartShapes Symbols' ShapeSheets
      3. The Automated-Stop-Sign-Generation Application
    7. Getting Data from Visio Drawings
      1. Types of Visio Data
      2. Iterating Through an Object Collection
      3. Getting a Page Through Automation
      4. Getting Layer Information from Pages and SmartShapes Symbols
      5. Getting Object Type Information
      6. Getting Cells and Querying Cells in Visio ShapeSheets
      7. Iterating Through Sections and Rows in Visio ShapeSheets
      8. Getting a Selection Object
      9. Getting Window Information in Visio
      10. Getting Information About Connections Between SmartShapes Symbols
      11. Globally Unique Identifiers
    8. Event Handling in the Visio Object Model
      1. VBA Code Behind Events for Visio Objects
      2. VBA Code Behind Events for ActiveX Controls
      3. Cell Dependencies
      4. WithEvents Keyword in Visio Automation
      5. Creating an Event Sink for Visio Objects
    9. Customizing the Visio User Interface Under Automation
      1. The Size and Persistence of UI Customization
      2. Modifying the Existing UI
      3. Menus
      4. Toolbars
      5. Using External UI Files
  8. Visio Development with Microsoft Office 2000 and other VBA-Enabled Applications
    1. Using Visio to Interact with VBA-Enabled Applications
      1. Objects, Properties, Methods, and Events
      2. The VBA Integrated Development Environment
      3. Browsing an Object Model
    2. Visio Automation and Microsoft Excel 2000 Interaction
      1. Sending Data to Excel
      2. Getting Data from Excel
      3. Querying Excel for Visio's Use
      4. Severing the Connection
    3. Visio Automation and Microsoft Access 2000 Interaction
      1. Sending Data to Access
      2. Getting Data from Access
      3. Querying Access for Visio's Use
      4. Severing the Connection
    4. Visio Automation and Microsoft Word 2000 Interaction
      1. Sending Data to Word
      2. Getting Data from Word
      3. Querying Word for Visio's Use
      4. Severing the Connection
    5. Visio Automation and Microsoft PowerPoint 2000 Interaction
      1. Sending Data to PowerPoint
      2. Getting Data from PowerPoint
      3. Querying PowerPoint for Visio's Use
      4. Severing the Connection
    6. Visio Automation and Microsoft Outlook 2000 Interaction
      1. Sending Data to Outlook
      2. Getting Data from Outlook
      3. Querying Outlook for Visio's Use
      4. Severing the Connection
    7. Packaging and Deploying Visio Automation Solutions
      1. Web-Based Document Viewing and Interaction
      2. Files to Include
      3. Updating Your Solution
      4. Solutions Maintenance

Product Information

  • Title: Professional Development with Visio® 2000
  • Author(s): David Edson
  • Release date: December 1999
  • Publisher(s): Sams
  • ISBN: 067231813X