Publisher 2010 Object Model Changes Since Earlier Versions

The tables in this topic provide a summary of the changes in the Microsoft Publisher 2010 object model as compared to earlier versions of Microsoft Office.

Note

In these tables, the status value for a given object model member may be any of the following:

  • Changed—The syntax for the member has changed.

  • Hidden—The member has been deprecated.

  • Removed—The member has been removed from the object model.

Contents

  • Object Model Changes Since Microsoft Office 2007

  • Object Model Changes Since Microsoft Office 2003

  • Object Model Changes Since Microsoft Office XP (2002)

Object Model Changes Since Microsoft Office 2007

AdvancedPrintOptions

Properties

Status

PrintCMYKByDefault

Hidden

Application

Properties

Status

Assistant

Hidden

Methods

Status

LaunchWebService

Hidden

Document

Properties

Status

ViewBoundariesAndGuides

Hidden

Methods

Status

Move

Hidden

PbFilterComparison

Constants

Status

pbComparisonEqual

Hidden

pbComparisonGreaterThan

Hidden

pbComparisonGreaterThanEqual

Hidden

pbComparisonIsBlank

Hidden

pbComparisonIsNotBlank

Hidden

pbComparisonLessThan

Hidden

pbComparisonLessThanEqual

Hidden

pbComparisonNotEqual

Hidden

PbFilterConjunction

Constants

Status

pbConjunctionAnd

Hidden

pbConjunctionOr

Hidden

PbFontLicenseLimitations

Constants

Status

pbFontEmbeddable

Hidden

pbFontNotEmbeddable

Hidden

pbFontPrintPreviewEmbeddable

Hidden

PbFontSource

Constants

Status

pbFontDocument

Hidden

pbFontMissing

Hidden

pbFontSystem

Hidden

PbFontType

Constants

Status

pbFontPrinter

Hidden

pbFontRaster

Hidden

pbFontTrueType

Hidden

pbFontUnknown

Hidden

PbMappedDataFields

Constants

Status

pbAddress1

Hidden

pbAddress2

Hidden

pbAddress3

Hidden

pbBusinessFax

Hidden

pbBusinessPhone

Hidden

pbCity

Hidden

pbCompany

Hidden

pbCountryRegion

Hidden

pbCourtesyTitle

Hidden

pbDepartment

Hidden

pbEmailAddress

Hidden

pbFirstName

Hidden

pbHomeFax

Hidden

pbHomePhone

Hidden

pbJobTitle

Hidden

pbLastName

Hidden

pbMiddleName

Hidden

pbNickname

Hidden

pbPostalCode

Hidden

pbRubyFirstName

Hidden

pbRubyLastName

Hidden

pbSpouseCourtesyTitle

Hidden

pbSpouseFirstName

Hidden

pbSpouseLastName

Hidden

pbSpouseMiddleName

Hidden

pbSpouseNickname

Hidden

pbState

Hidden

pbSuffix

Hidden

pbUniqueIdentifier

Hidden

pbWebPageURL

Hidden

PbMasterPageType

Constants

Status

pbMasterPageLeftPage

Hidden

pbMasterPageRightPage

Hidden

PbOriginalFormat

Constants

Status

pbOriginalPublicationFormat

Hidden

pbPublisherFile

Hidden

PbShowDialog

Constants

Status

pbDefaultBehavior

Hidden

PbShowDialog

Hidden

pbSuppressDialog

Hidden

Object Model Changes Since Microsoft Office 2003

AdvancedPrintOptions

Properties

Status

FrontSideInsertFaceUp

Removed

PrintableRect

Hidden

PrintCMYKByDefault

Hidden

PrintMode

Hidden

UseCustomHalftone

Hidden

Application

Properties

Status

Assistant

Hidden

FileSearch

Hidden

Methods

Status

LaunchWebService

Hidden

Document

Properties

Status

ActivePrinter

Hidden

PersonalInformationSet

Hidden

ViewBoundariesAndGuides

Hidden

Methods

Status

PrintOut

Hidden

FillFormat

Properties

Status

Transparency

Hidden

Methods

Status

Move

Hidden

Label

Properties

Status

Application

Hidden

Height

Hidden

HorizontalGap

Hidden

LeftMargin

Hidden

Name

Hidden

Parent

Hidden

TopMargin

Hidden

VerticalGap

Hidden

Width

Hidden

Labels

Properties

Status

Application

Hidden

Count

Hidden

Item

Hidden

Parent

Hidden

LineFormat

Properties

Status

Transparency

Hidden

MailMerge

Methods

Status

ShowWizard

Hidden

Options

Properties

Status

DisplayPrintTroubleshooter

Hidden

EnvelopePrintOrientation

Hidden

EnvelopePrintPlacement

Hidden

PrintLineByLine

Hidden

UpdatePersonalInfoOnSave

Hidden

UseEnvelopePaperSizes

Hidden

UseEnvelopePrintOptions

Hidden

UseHelpfulMousePointers

Hidden

PageSetup

Properties

Status

AvailableLabels

Hidden

Label

Hidden

MultiplePagesPerSheet

Hidden

Orientation

Hidden

PbFileFormat

Constants

Status

pbFilePublicationHTML

Hidden

PbFilterComparison

Constants

Status

pbComparisonEqual

Hidden

pbComparisonGreaterThan

Hidden

pbComparisonGreaterThanEqual

Hidden

pbComparisonIsBlank

Hidden

pbComparisonIsNotBlank

Hidden

pbComparisonLessThan

Hidden

pbComparisonLessThanEqual

Hidden

pbComparisonNotEqual

Hidden

PbFilterConjunction

Constants

Status

pbConjunctionAnd

Hidden

pbConjunctionOr

Hidden

PbFontLicenseLimitations

Constants

Status

pbFontEmbeddable

Hidden

pbFontNotEmbeddable

Hidden

pbFontPrintPreviewEmbeddable

Hidden

PbFontSource

Constants

Status

pbFontDocument

Hidden

pbFontMissing

Hidden

pbFontSystem

Hidden

PbFontType

Constants

Status

pbFontPrinter

Hidden

pbFontRaster

Hidden

pbFontTrueType

Hidden

pbFontUnknown

Hidden

PbMappedDataFields

Constants

Status

pbAddress1

Hidden

pbAddress2

Hidden

pbAddress3

Hidden

pbBusinessFax

Hidden

pbBusinessPhone

Hidden

pbCity

Hidden

pbCompany

Hidden

pbCountryRegion

Hidden

pbCourtesyTitle

Hidden

pbDepartment

Hidden

pbEmailAddress

Hidden

pbFirstName

Hidden

pbHomeFax

Hidden

pbHomePhone

Hidden

pbJobTitle

Hidden

pbLastName

Hidden

pbMiddleName

Hidden

pbNickname

Hidden

pbPostalCode

Hidden

pbRubyFirstName

Hidden

pbRubyLastName

Hidden

pbSpouseCourtesyTitle

Hidden

pbSpouseFirstName

Hidden

pbSpouseLastName

Hidden

pbSpouseMiddleName

Hidden

pbSpouseNickname

Hidden

pbState

Hidden

pbSuffix

Hidden

pbUniqueIdentifier

Hidden

pbWebPageURL

Hidden

PbMasterPageType

Constants

Status

pbMasterPageLeftPage

Hidden

pbMasterPageRightPage

Hidden

PbOriginalFormat

Constants

Status

pbOriginalPublicationFormat

Hidden

pbPublisherFile

Hidden

PbShowDialog

Constants

Status

pbDefaultBehavior

Hidden

PbShowDialog

Hidden

pbSuppressDialog

Hidden

ShadowFormat

Properties

Status

Transparency

Hidden

Object Model Changes Since Microsoft Office XP (2002)

Application

Properties

Status

Assistant

Hidden

FileSearch

Hidden

Methods

Status

LaunchWebService

Hidden

Events

Status

MailMergeWizardSendToCustom

Hidden

Document

Properties

Status

ActivePrinter

Hidden

PersonalInformationSet

Hidden

ViewBoundariesAndGuides

Hidden

Methods

Status

EnterColorMode

Changed
Previous syntax
VOID EnterColorMode (PBCOLORMODE Mode, OPTIONAL VARIANT Plates)
New syntax
VOID EnterColorMode (PBCOLORMODE Mode, OPTIONAL VARIANT Plates, OPTIONAL BOOL DeleteExcessInks = 0)

PrintOut

Hidden

FillFormat

Properties

Status

Transparency

Hidden

LineFormat

Properties

Status

Transparency

Hidden

MailMerge

Properties

Status

Destination

Hidden

ShowSendToCustom

Hidden

Methods

Status

Execute

Changed
Previous syntax
VOID Execute (BOOL Pause)
New syntax
DOCUMENT Execute (BOOL Pause, OPTIONAL PBMAILMERGEDESTINATION Destination = 1, OPTIONAL STRING Filename = "")

ShowWizard

Hidden

MailMergeDataFields

Methods

Status

Item

Changed
Previous syntax
OBJECT Item (VARIANT varIndex)
New syntax
MAILMERGEDATAFIELD Item (VARIANT varIndex)

Options

Properties

Status

DisplayPrintTroubleshooter

Hidden

EnvelopePrintOrientation

Hidden

EnvelopePrintPlacement

Hidden

PrintLineByLine

Hidden

UpdatePersonalInfoOnSave

Hidden

UseEnvelopePaperSizes

Hidden

UseEnvelopePrintOptions

Hidden

UseHelpfulMousePointers

Hidden

Page

Properties

Status

Master

Changed
Previous syntax
READ-ONLY Master [PAGE]
New syntax
READ-WRITE Master [PAGE]

PageNumber

Changed
Previous syntax
READ-ONLY PageNumber [STRING]
New syntax
READ-WRITE PageNumber [STRING]

Methods

Status

SaveAsPicture

Changed
Previous syntax
VOID SaveAsPicture (STRING FileName)
New syntax
VOID SaveAsPicture (STRING Filename, OPTIONAL PBPICTURERESOLUTION pbResolution = 0)

Pages

Methods

Status

Add

Changed
Previous syntax
PAGE Add (INT32 Count, INT32 After, OPTIONAL INT32 DuplicateObjectsOnPage = -1)
New syntax
PAGE Add (INT32 Count, INT32 After, OPTIONAL INT32 DuplicateObjectsOnPage = -1, OPTIONAL BOOL AddHyperlinkToWebNavBar = 0)

AddWizardPage

Changed
Previous syntax
VOID AddWizardPage (INT32 After, OPTIONAL PBWIZARDPAGETYPE PageType = -1)
New syntax
VOID AddWizardPage (INT32 After, OPTIONAL PBWIZARDPAGETYPE PageType = -1, OPTIONAL BOOL AddHyperlinkToWebNavBar = 0)

PageSetup

Properties

Status

MultiplePagesPerSheet

Hidden

ParagraphFormat

Methods

Status

SetLineSpacing

Changed
Previous syntax
VOID SetLineSpacing (PBLINESPACINGRULE Rule, VARIANT Spacing)
New syntax
VOID SetLineSpacing (PBLINESPACINGRULE Rule, OPTIONAL VARIANT Spacing)

PbFileFormat

Constants

Status

pbFilePublicationHTML

Hidden

PbFilterComparison

Constants

Status

pbComparisonEqual

Hidden

pbComparisonGreaterThan

Hidden

pbComparisonGreaterThanEqual

Hidden

pbComparisonIsBlank

Hidden

pbComparisonIsNotBlank

Hidden

pbComparisonLessThan

Hidden

pbComparisonLessThanEqual

Hidden

pbComparisonNotEqual

Hidden

PbFilterConjunction

Constants

Status

pbConjunctionAnd

Hidden

pbConjunctionOr

Hidden

PbHelpType

Constants

Status

pbHelpPrintTroubleshooter

Removed

pbHelpTutorials

Removed

pbHelpUsingHelp

Removed

PbMappedDataFields

Constants

Status

pbAddress1

Hidden

pbAddress2

Hidden

pbAddress3

Hidden

pbBusinessFax

Hidden

pbBusinessPhone

Hidden

pbCity

Hidden

pbCompany

Hidden

pbCountryRegion

Hidden

pbCourtesyTitle

Hidden

pbDepartment

Hidden

pbEmailAddress

Hidden

pbFirstName

Hidden

pbHomeFax

Hidden

pbHomePhone

Hidden

pbJobTitle

Hidden

pbLastName

Hidden

pbMiddleName

Hidden

pbNickname

Hidden

pbPostalCode

Hidden

pbRubyFirstName

Hidden

pbRubyLastName

Hidden

pbSpouseCourtesyTitle

Hidden

pbSpouseFirstName

Hidden

pbSpouseLastName

Hidden

pbSpouseMiddleName

Hidden

pbSpouseNickname

Hidden

pbState

Hidden

pbSuffix

Hidden

pbUniqueIdentifier

Hidden

pbWebPageURL

Hidden

PbMasterPageType

Constants

Status

pbMasterPageLeftPage

Hidden

pbMasterPageRightPage

Hidden

PbOriginalFormat

Constants

Status

pbOriginalPublicationFormat

Hidden

pbPublisherFile

Hidden

PbWizard

Constants

Status

pbWizardGreetingCards

Removed

pbWizardInvitations

Removed

pbWizardWebSites

Removed

PbWizardPageType

Constants

Status

pbWizardPageTypeWebCalendar

Removed

pbWizardPageTypeWebEvent

Removed

pbWizardPageTypeWebPriceList

Removed

pbWizardPageTypeWebRelatedLinks

Removed

pbWizardPageTypeWebSpecialOffer

Removed

pbWizardPageTypeWebStory

Removed

Plate

Properties

Status

Angle

Hidden

Frequency

Hidden

Methods

Status

Delete

Changed
Previous syntax
VOID Delete ()
New syntax
VOID Delete (OPTIONAL VARIANT PlateReplaceWith, OPTIONAL PBREPLACETINT ReplaceTint = 0)

ShadowFormat

Properties

Status

Transparency

Hidden