Publisher Object Model Overview Article Now Live on MSDN

Yesterday saw the publication of my penultimate article on Publisher 2003, 7 Things Developers Should Know About the Publisher 2003 Object Model, Part 1. If you’re an Office developer new to the Publisher object model (or new to Publisher in general), this article and its sequel aim to give you a quick overview of the…

1

Publisher 2003: Creating and Managing Linked Text Boxes

(Note:   This is the third in a series of entries that aim to introduce experienced programmers to the Publisher object model. The first entry covered creating Web pages programmatically. You can read it here. The second entry covered working with wizards and templates. You can read it here.) While the way you work with text in…

1

Working with Publisher Wizards and Templates

Note:   This is the second in a series of entries that aim to introduce experienced programmers to the Publisher object model. The first entry covered creating Web pages programmatically. You can read it here. Publisher has a different concept of templates and wizards than other Office programs, such as Word. In Publisher, both terms refer to…

1

Publisher 2003: Using the NewDocument and DocumentOpen Events

I got an email the other day from a user who asked if the NewDocument event in Publisher actually worked. It does, but it is a little more complicated than you’d think. Read on. To enable event handling within a typical application, you create a new class module, and declare an Application object with events:…

1

Creating Web Pages with the Publisher Object Model

You know, sometimes it’s the obvious things you miss. I was meeting a few days ago with the programmer-writer who is taking over writing Publisher developer help for the next release. I was giving him a guided tour of the Publisher object model, and I thought “you know, this should really be written down somewhere.”…

1

Publisher: 'Using Tags in Publisher' Article Now Live

My latest article on programming Publisher, Using Tags to Store Custom Information in Publisher 2003 and Publisher 2002, has just been published on MSDN. As the name states, the article talks about using the Tags collection of the Document, Page, and Shape objects in Publisher to store information, such as custom variables or state information…

1

Publisher: Formatting Text Across Multiple Text Boxes, or in the Overflow Buffer

Here’s an interesting quirk in Publisher’s object model. It’s by design, and it makes sense if you think about it. But it may lead to some unexpected results if you don’t take it into account. I didn’t, and it did, so I thought I’d point it out. First, start out with a text box that’s…

1

Publisher: Creating a Linked Picture from an Embedded Picture (Part 2 of 2)

Read Part 1 here. In the last entry, I showed you how to write a function that creates a separate .jpg file from a picture embedded in a publication. Now, let’s finish the job by replacing the embedded picture with a picture linked to the new .jpg file. Below is an example of a procedure…

1

Publisher: Creating a Linked Picture from an Embedded Picture (Part 1 of 2)

A lot of the time, entries that I post here end up inspiring me so that I expand them into articles that end up on MSDN. This time, I’m doing things the other way around: the next two posts are going to be excerpts from an article I actually published about 8 months ago. Here’s…

1

Publisher: Using Tags to Store Custom Properties (Part 3)

First, I discussed the tags collection, which you can use as generic holding bins for whatever data you want to persists within your publications, pages, or shapes. Next, I showed you a few examples using document and page-level tags. So now, to round things out, let’s look at a short example using tags stored in…

2