OpenOffice.org Macros Explained
The following dispatch commands work from most of the document types. For example, you can always open an About dialog by using the dispatcher. Table 2 lists all the global dispatch commands.
| Global Dispatch Commands | |||
|---|---|---|---|
| About | AbsoluteRecord | ActiveHelp | AddDateField |
| AddDirect | AddField | AddressBookSource | AddTable |
| AddWatch | AlignCenter | AlignDown | AlignMiddle |
| AlignUp | AlwaysVisible | Arc | ArrangeHorizontal |
| ArrangeIcons | ArrangeVertical | ArrangeWinsHorizontal | ArrangeWinsVertical |
| AutoControlFocus | AutoCorrectDlg | AutoFilter | AutoFormat |
| AutoPilotAddressDataSource | AutoPilotAgenda | AutoPilotFax | AutoPilotLetter |
| AutoPilotMemo | AutoPilotMenu | AutoPilotPresentations | AutoPilotSDBImport |
| BackgroundColor | BackgroundPatternController | BasicBreak | BasiclDEAppear |
| BasicStepInto | BasicStepOut | BasicStepOver | BasicStop |
| BeamerTaskSensitive | Bezier_Unfilled | BezierClose | BezierConvert |
| BezierCutLine | BezierDelete | BezierEdge | BezierEliminatePoints |
| BezierFill | BezierInsert | BezierMove | BezierSmooth |
| BezierSymmetric | BibliographyComponent | BmpMask | Bold |
| BookmarkMenu | BringToFront | BrowseView | Cascade |
| CenterPara | ChangeCaseToFullWidth | ChangeCaseToHalfWidth | ChangeCaseToHiragana |
| ChangeCaseToKatagana | ChangeCaseToLower | ChangeCaseToUpper | CharFontName |
| CheckBox | Checkbox | ChooseControls | ChooseMacro |
| ChoosePolygon | Circle | Circle_Unfilled | CircleArc |
| CircleCut | CircleCut_Unfilled | CirclePie | CirclePie_Unfilled |
| ClearDiskCache | ClearHistory | ClearOutline | CloseDoc |
| CloseTask | CloseWin | Color | ColorControl |
| Combobox | ComboBox | CommonTaskBarVisible | CompareDocuments |
| CompileBasic | Config | ConfigureDialog | ConfigureToolboxVisible |
| Context | ContourDialog | ControlProperties | ConvertToButton |
| ConvertToCheckBox | ConvertToCombo | ConvertToCurrency | ConvertToDate |
| ConvertToEdit | ConvertToFileControl | ConvertToFixed | ConvertToFormatted |
| ConvertToGrid | ConvertToGroup | ConvertToImageBtn | ConvertToImageControl |
| ConvertToList | ConvertToNumeric | ConvertToPattern | ConvertToRadio |
| ConvertToTime | Copy | CountAll | CurrencyField |
| CurrentDate | CurrentTime | Cut | DatasourceAdministration |
| DateField | DecrementIndent | DefaultBullet | DefaultNumbering |
| Delete | DeleteFrame | DeleteRecord | DesignerDialog |
| DesktopMode | DistributeSelection | DocumentManager | DrawCaption |
| DrawText | DSBrowserExplorer | Edit | EditDoc |
| EditFrameSet | Ellipse | Ellipse_Unfilled | EllipseCut |
| EllipseCut_Unfilled | EnterGroup | Explorer | ExportDirectToPDF |
| ExportTo | ExportToPDF | ExtendedHelp | FieldController |
| FileControl | FileDocument | FillColor | FillShadow |
| FillStyle | FilterCrit | FirstRecord | Flash |
| FloatingTask | FmExplorerController | FmFilterNavigatorController | FontDialog |
| FontHeight | FontWork | FormatArea | FormatGroup |
| FormatLine | FormatMenu | FormattedField | FormatUngroup |
| FormFilter | FormFiltered | FormFilterExecute | FormFilterExit |
| FormFilterNavigator | FormProperties | FrameContent | FrameLineColor |
| FrameName | FrameSpacing | Freeline | Freeline_Unfilled |
| FullScreen | FunctionBarVisible | Gallery | GeneralOptions |
| GetColorTable | GoDown | GoDownBlock | GoDownBlockSel |
| GoDownSel | GoLeft | GoLeftBlock | GoLeftBlockSel |
| GoLeftSel | GoRight | GoRightSel | GoToEndOfData |
| GoToEndOfDataSel | GoToEndOfRow | GoToEndOfRowSel | GoToStart |
| GoToStartOfRow | GoToStartOfRowSel | GoToStartSel | GoUp |
| GoUpBlock | GoUpBlockSel | GoUpSel | GrabControlFocus |
| GrafAttrCrop | GrafBlue | GrafContrast | GrafGamma |
| GrafGreen | GrafInvert | GrafLuminance | GrafMode |
| GrafRed | GrafTransparence | GraphicFilterInvert | GraphicFilterMosaic |
| GraphicFilterPopart | GraphicFilterPoster | GraphicFilterRelief | GraphicFilterRemoveNoise |
| GraphicFilterSepia | GraphicFilterSharpen | GraphicFilterSmooth | GraphicFilterSobel |
| GraphicFilterSolarize | GraphicFilterToolbox | Grid | GridUse |
| GridVisible | Group | GroupBox | Groupbox |
| HelpChooseFile | HelperDialog | HelpIndex | HelplinesMove |
| HelpMenu | HelpOnHelp | HelpSupport | HelpTip |
| HFixedLine | HideDetail | HideSpellMark | HScrollbar |
| HyperlinkDialog | Imagebutton | ImageControl | ImageMapDialog |
| IncrementIndent | InsertAnnotation | InsertApplet | InsertCurrencyField |
| InsertDoc | InsertDraw | InsertEdit | InsertFileControl |
| InsertFixedText | InsertFormattedField | InsertGraphic | InsertHyperlink |
| InsertImage | InsertImageControl | InsertListbox | InsertMath |
| InsertMode | InsertNumericField | InsertObject | InsertObjectChart |
| InsertObjectFloatingFrame | InsertPatternField | InsertPlugin | InsertPushbutton |
| InsertSound | InsertSymbol | InsertTable | InsertTextFrame |
| InsertVideo | InternetDialog | Intersect | IsLoading |
| Italic | JustifyPara | Label | LastRecord |
| LaunchStarImage | LeaveGroup | LeftPara | LibSelector |
| Line | Line_Diagonal | LineDash | LineEndStyle |
| LineStyle | LineWidth | ListBox | LoadBasic |
| LoadConfiguration | MacroBarVisible | MacroDialog | MacroRecorder |
| MatchGroup | MenuBarVisible | Merge | MergeDocuments |
| Minimize | ModifiedStatus | ModifyFrame | ModuleDialog |
| NavigationBarVisible | Navigator | NewDoc | NewFrameSet |
| NewRecord | NewWindow | NextRecord | NumericField |
| ObjectAlign | ObjectAlignLeft | ObjectAlignRight | ObjectBackOne |
| ObjectBarVisible | ObjectCatalog | ObjectForwardOne | ObjectMenue |
| OnlineOptions | OnlineRegistrationDlg | Ope | OpenHyperlinkOnCursor |
| OpenReadOnly | OpenTemplate | OpenUrl | OptionBarVisible |
| OptionsTreeDialog | OrderCrit | Organizer | OutlineBullet |
| OutlineCollapse | OutlineCollapseAll | OutlineDown | OutlineExpand |
| OutlineExpandAll | OutlineFont | OutlineFormat | OutlineLeft |
| OutlineRight | OutlineUp | ParagraphDialog | ParaLeftToRight |
| ParaRightToLeft | Paste | PatternField | PickList |
| Pie | Pie_Unfilled | PlugInsActive | PolyFormen |
| Polygon_Diagonal | Polygon_Diagonal_Unfilled | Polygon_Unfilled | Preview |
| PrevRecord | | PrintDefault | PrinterSetup |
| PrintPreview | ProgressBar | PropertyController | Pushbutton |
| Quit | Radiobutton | RadioButton | RecFromText |
| RecSave | RecSearch | Rect | Rect_Rounded |
| Rect_Rounded_Unfilled | Rect_Unfilled | RecText | RecTotal |
| RecUndo | Redo | Refresh | Reload |
| RemoveFilter | RemoveFilterSort | Repaint | Repeat |
| RightPara | RubyDialog | RunBasic | Save |
| SaveAll | SaveAs | SaveAsTemplate | SaveAsUrl |
| SaveBasicAs | SaveConfiguration | SbaExecuteSql | SbaNativeSql |
| Scan | ScEditOptions | SchEditOptions | SdEditOptions |
| SdGraphicOptions | SearchDialog | Select | SelectAll |
| SelectMode | SelectObject | SendFax | SendMail |
| SendMailDocAsPDF | SendToBack | SetBorderStyle | SetDefault |
| SetDocumentProperties | SetObjectToBackground | SetObjectToForeground | Shadowed |
| ShowBrowser | ShowDetail | ShowFmExplorer | ShowForms |
| ShowHidden | ShowImeStatusWindow | ShowItemBrowser | ShowPropBrowser |
| ShowProperties | SimEditOptions | Size | SmEditOptions |
| SortDown | Sortup | SourceView | SpacePara1 |
| SpacePara15 | SpacePara2 | Spelling | SpellOnline |
| Spinbutton | SplitHorizontal | SplitParentHorizontal | SplitParentVertical |
| SplitVertical | Square | Square_Rounded | Square_Rounded_Unfilled |
| Square_Unfilled | StartMenu | StateTableCell | StatusBarVisible |
| StatusGetPosition | StatusGetTitle | Stop | StopRecording |
| Strikeout | StyleApply | StyleCatalog | StyleNewByExample |
| StyleUpdateByExample | Subscript | Substract | SuperScript |
| SwEditOptions | SwitchControlDesignMode | TabDialog | TaskBarVisible |
| TestMode | Text | Text_Marquee | TextdirectionLeftToRight |
| TextdirectionTopToBottom | TextFitToSize | Thesaurus | Tile |
| TileWins | TimeField | ToggleBreakPoint | ToggleObjectBezierMode |
| ToggleObjectRotateMode | ToolBarVisible | ToolsMacroEdit | TransformDialog |
| TwainSelect | TwainTransfer | Underline | Undo |
| Ungroup | URLButton | UrlButton | UseWizards |
| VersionDialog | VersionVisible | VerticalCaption | VerticalText |
| VFixedLine | ViewDataSourceBrowser | ViewFormAsGrid | VScrollbar |
| Window3D | XLineColor | XLineStyle | Zoom |
| Zoom100Percent | ZoomIn | ZoomNext | ZoomObjects |
| ZoomOptimal | ZoomPage | ZoomPageWidth | ZoomPlus |
| ZoomPrevious | ZoomToolBox | ||
| Tip | The names of the dispatch commands are case sensitive. |
If a command is not listed in the global commands, it might be specific to a certain document type. For example, I was surprised that Calc supports AcceptChanges but Writer supports AcceptTrackedChanges; I had expected the names and slot to be the same.