OpenOffice.org 2.x User's Guide Page 457

  • Download
  • Add to my manuals
  • Print
  • Page
    / 508
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 456
Chapter 10: Introducing OpenOffice.org Basic and Macros
The Sample Macros
The following sample macros are in the Gimmicks module.
AutoText
Use the Main macro.
This macro opens an empty Writer document and inserts a table in which the names of all the
AutoTexts are listed.
One can print the document to have a handy list of the available AutoTexts.
ChangeAllChars
Use the ChangeAllChars macro.
Use this macro in a text document to replace all text and numbers with the characters "x" and
"X". This can be helpful, for example, if the document is to be used as a template but the
original text is not to be legible.
If one edits this macro, other replacement characters can be defined in the program code.
GetTexts
Use the Main macro.
This macro carries out a search in the active document (text document, spreadsheet, or
drawing) and compiles a list of the contents.
This sample will help the user learn how to reference objects in the documents.
ReadDir
Use the Main macro.
Use this macro to see how a OpenOffice.org Draw document can be filled with content and
how the contents of directories are read.
A dialogue asks for a directory and then the macro creates a graphic list (tree view) of all the
files and subdirectories.
Userfields
Use the StartChangesUserfields macro.
This macro helps users manage several sets of user data and allows switching back and forth
between them. This can be quite helpful when more than one person uses the same copy of
OpenOffice.org and each person wants to see his or her own user data in the fields.
OpenOffice.org User Guide for 2.x 423
Page view 456
1 2 ... 452 453 454 455 456 457 458 459 460 461 462 ... 507 508

Comments to this Manuals

No comments