5 Star bugs

Articles with 5 Star Bugs

Development

Design Mode in Word 2007 and Word 2010: How to detect it and turn it on and off

Word 2007 and Word 2010 have a 'Design mode' button for editing content controls. .FormsDesign and .ToggleFormsDesign detect or toggle Design mode.

Selecting or referring to a page in the Word object model

It's common to feel that you need to cycle through all the pages in a Word document and perform some processing on each page. This article discusses why it's not possible for developers to refer to a printed page using the Word object model, and some workarounds.

Formatting

Hyperlinks: different colours for text and underline in Microsoft Word

When you create a hyperlink in Microsoft Word, you can't have different colours for text and underline. It's a bug. Here's one (poor) workaround.

Layout

Page (that is, section) borders

How to control page borders (which are actually section borders).

Styles

4 ways to control page breaks within tables and table styles (for developers)

For developers: How to prevent a whole table, or just one or more rows, from breaking across a page. The Microsoft Word object model has 4 ways to manage, or prevent, tables from breaking across a page. Some of them work.

Borders in table styles

What borders are available for table styles, how to control them, and how to avoid the bugs and inconsistencies in the Word object model.

Shading (ie background colour) in table styles

For developers: how to set the background colour in a table style using the Microsoft Word object model. There are 7 ways to set shading (ie background or foreground colour) on elements of a table style in Microsoft Word. Most don't work. This article describes what does seem to work, and identifies the bugs and annoyances in setting shading in table styles.