Programmer's Guide > Interfaces > ADocument interface > name attribute
  
name attribute
The name of the document or a null string if the document was created without a name. For documents read from the file system, the name is the base name of the documentURI, including the extension, if any.
name
Access
read-write
Returns
String