Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: script ::
interface XStarBasicAccess
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XStarBasicAccess
[ DEPRECATED ] Description Interface representing a library and provides access to its modules

Methods' Summary
getLibraryContainer | returns the library container giving access to the libraries stored in a document or basic library file.
createLibrary | Creates an empty library. This method can be called alternatively to accessing directly the NameContainer returned by getLibraryContainer. By using this method together with addModule and addStarBasicDialog the caller does not have to implement XStarBasicLibraryInfo, XModuleInfo, and XStarBasicDialogInfo
addModule | Adds a module to an existing (e.g., created by createLibrary) library. By using this method together with createLibrary the caller does not have to implement XStarBasicLibraryInfo and XModuleInfo.
addDialog | Adds an old style basic dialog (SI controls) to an existing (e.g., created by createLibrary) library. By using this method together with createLibrary the caller does not have to implement XStarBasicLibraryInfo and XStarBasicDialogInfo

Methods' Details
getLibraryContainer
::com::sun::star::container::XNameContainer getLibraryContainer(); |  |
Description returns the library container giving access to the libraries stored in a document or basic library file.
createLibrary
void createLibrary( | [in] string [in] string [in] string [in] string raises( | LibName, Password, ExternalSourceURL, LinkTargetURL ) ::com::sun::star::container::ElementExistException );
Description Creates an empty library. This method can be called alternatively to accessing directly the NameContainer returned by getLibraryContainer. By using this method together with addModule and addStarBasicDialog the caller does not have to implement XStarBasicLibraryInfo, XModuleInfo, and XStarBasicDialogInfo
addModule
void addModule( | [in] string [in] string [in] string [in] string raises( | LibraryName, ModuleName, Language, Source ) ::com::sun::star::container::NoSuchElementException );
Description Adds a module to an existing (e.g., created by createLibrary) library. By using this method together with createLibrary the caller does not have to implement XStarBasicLibraryInfo and XModuleInfo. Throws NoSuchElementException if the library doesn't exist.
addDialog
void addDialog( | [in] string [in] string [in] sequence< byte > raises( | LibraryName, DialogName, Data ) ::com::sun::star::container::NoSuchElementException );
Description Adds an old style basic dialog (SI controls) to an existing (e.g., created by createLibrary) library. By using this method together with createLibrary the caller does not have to implement XStarBasicLibraryInfo and XStarBasicDialogInfo Throws NoSuchElementException if the library doesn't exist.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.