WPBaseObject API

The WPBaseObject contains several subclasses that define the styles, formats, and text elements contained in a WordProcessor document. [[PS: Is it accurate to say that WPBaseObject "contains" subclasses?]] It provides a property that lets you get and set the names of objects in a document. If you have a reference to a subclass object, for instance, WPParagraphStyles, you can get or set the name of that object. [[PS: Is this how Name works? It doesn't actually operate on the WPBaseObject object, right? So do I have to dot into the subclass like this: myString = myBaseObject.myParagraphLeader.get("leaderName")]]

boolean  setName(String name)	/* Returns false if the specified name is not unique or contains illegal characters. */
String  getName()
See also
WordProcessor API Index
WordProcessor Object Model
WordProcessor Home Page