LibreOffice5(88)Writerドキュメントのサービスとインターフェイス一覧

2017-10-12

旧ブログ

t f B! P L
Calcと比較のためにWriterドキュメントのサービスとインターフェイス一覧を調べました。

前の関連記事:LibreOffice5(87)Pythonマクロのための拡張機能APSOのインストール


Writerドキュメントのサービスとインターフェイス一覧


def macro():
    ctx = XSCRIPTCONTEXT.getComponentContext()  # コンポーネントコンテクストの取得。
    smgr = ctx.getServiceManager()  # サービスマネージャーの取得。 
    tcu = smgr.createInstanceWithContext("pq.Tcu", ctx)  # サービス名か実装名でインスタンス化。 
    doc = XSCRIPTCONTEXT.getDocument()  # ドキュメント。
    tcu.wtree(doc)  # ドキュメント。

├─.text.TextDocument
│   └─.text.GenericTextDocument
│     │   .lang.Locale  CharLocale
│     │           long  CharacterCount
│     │         string  IndexAutoMarkFileURL
│     │           long  ParagraphCount
│     │        boolean  RecordChanges
│     │          short  TwoDigitYear
│     │           long  WordCount
│     │         string  WordSeparator
│     ├─.beans.XPropertySet
│     │                        void  addPropertyChangeListener( [in]                         string aPropertyName,
│     │                                                         [in] .beans.XPropertyChangeListener xListener
│     │                                              ) raises ( .lang.WrappedTargetException,
│     │                                                         .beans.UnknownPropertyException)
│     │                        void  addVetoableChangeListener( [in]                         string PropertyName,
│     │                                                         [in] .beans.XVetoableChangeListener aListener
│     │                                              ) raises ( .lang.WrappedTargetException,
│     │                                                         .beans.UnknownPropertyException)
│     │     .beans.XPropertySetInfo  getPropertySetInfo()
│     │                         any  getPropertyValue( [in] string PropertyName
│     │                                     ) raises ( .lang.WrappedTargetException,
│     │                                                .beans.UnknownPropertyException)
│     │                        void  removePropertyChangeListener( [in]                         string aPropertyName,
│     │                                                            [in] .beans.XPropertyChangeListener aListener
│     │                                                 ) raises ( .lang.WrappedTargetException,
│     │                                                            .beans.UnknownPropertyException)
│     │                        void  removeVetoableChangeListener( [in]                         string PropertyName,
│     │                                                            [in] .beans.XVetoableChangeListener aListener
│     │                                                 ) raises ( .lang.WrappedTargetException,
│     │                                                            .beans.UnknownPropertyException)
│     │                        void  setPropertyValue( [in] string aPropertyName,
│     │                                                [in]    any aValue
│     │                                     ) raises ( .lang.WrappedTargetException,
│     │                                                .lang.IllegalArgumentException,
│     │                                                .beans.PropertyVetoException,
│     │                                                .beans.UnknownPropertyException)
│     ├─.lang.XMultiServiceFactory
│     │     .uno.XInterface  createInstance( [in] string aServiceSpecifier
│     │                           ) raises ( .uno.Exception)
│     │     .uno.XInterface  createInstanceWithArguments( [in] string ServiceSpecifier,
│     │                                                   [in]  [any] Arguments
│     │                                        ) raises ( .uno.Exception)
│     │            [string]  getAvailableServiceNames()
│     ├─.style.XStyleFamiliesSupplier
│     │     .container.XNameAccess  getStyleFamilies()
│     ├─.text.XBookmarksSupplier
│     │     .container.XNameAccess  getBookmarks()
│     ├─.text.XChapterNumberingSupplier
│     │     .container.XIndexReplace  getChapterNumberingRules()
│     ├─.text.XDocumentIndexesSupplier
│     │     .container.XIndexAccess  getDocumentIndexes()
│     ├─.text.XEndnotesSupplier
│     │         .beans.XPropertySet  getEndnoteSettings()
│     │     .container.XIndexAccess  getEndnotes()
│     ├─.text.XFootnotesSupplier
│     │         .beans.XPropertySet  getFootnoteSettings()
│     │     .container.XIndexAccess  getFootnotes()
│     ├─.text.XPagePrintable
│     │     [.beans.PropertyValue]  getPagePrintSettings()
│     │                       void  printPages( [in] [.beans.PropertyValue] xOptions
│     │                              ) raises ( .lang.IllegalArgumentException)
│     │                       void  setPagePrintSettings( [in] [.beans.PropertyValue] aSettings)
│     ├─.text.XReferenceMarksSupplier
│     │     .container.XNameAccess  getReferenceMarks()
│     ├─.text.XTextDocument
│     │   │   .text.XText  getText()
│     │   │          void  reformat()
│     │   └─.frame.XModel
│     │     │                  boolean  attachResource( [in]                 string URL,
│     │     │                                           [in] [.beans.PropertyValue] Arguments)
│     │     │                     void  connectController( [in] .frame.XController Controller)
│     │     │                     void  disconnectController( [in] .frame.XController Controller)
│     │     │   [.beans.PropertyValue]  getArgs()
│     │     │       .frame.XController  getCurrentController()
│     │     │          .uno.XInterface  getCurrentSelection()
│     │     │                   string  getURL()
│     │     │                  boolean  hasControllersLocked()
│     │     │                     void  lockControllers()
│     │     │                     void  setCurrentController( [in] .frame.XController Controller
│     │     │                                      ) raises ( .container.NoSuchElementException)
│     │     │                     void  unlockControllers()
│     │     └─.lang.XComponent
│     │           void  addEventListener( [in] .lang.XEventListener xListener)
│     │           void  dispose()
│     │           void  removeEventListener( [in] .lang.XEventListener aListener)
│     ├─.text.XTextEmbeddedObjectsSupplier
│     │     .container.XNameAccess  getEmbeddedObjects()
│     ├─.text.XTextFieldsSupplier
│     │            .container.XNameAccess  getTextFieldMasters()
│     │     .container.XEnumerationAccess  getTextFields()
│     ├─.text.XTextFramesSupplier
│     │     .container.XNameAccess  getTextFrames()
│     ├─.text.XTextGraphicObjectsSupplier
│     │     .container.XNameAccess  getGraphicObjects()
│     ├─.text.XTextSectionsSupplier
│     │     .container.XNameAccess  getTextSections()
│     ├─.text.XTextTablesSupplier
│     │     .container.XNameAccess  getTextTables()
│     ├─.tiledrendering.XTiledRenderable
│     │     void  paintTile( [in]  any Parent,
│     │                      [in] long nOutputWidth,
│     │                      [in] long nOutputHeight,
│     │                      [in] long nTilePosX,
│     │                      [in] long nTilePosY,
│     │                      [in] long nTileWidth,
│     │                      [in] long nTileHeight)
│     ├─.util.XNumberFormatsSupplier
│     │      .beans.XPropertySet  getNumberFormatSettings()
│     │     .util.XNumberFormats  getNumberFormats()
│     ├─.util.XRefreshable
│     │     void  addRefreshListener( [in] .util.XRefreshListener l)
│     │     void  refresh()
│     │     void  removeRefreshListener( [in] .util.XRefreshListener l)
│     ├─.util.XReplaceable
│     │     .util.XReplaceDescriptor  createReplaceDescriptor()
│     │                         long  replaceAll( [in] .util.XSearchDescriptor xDesc)
│     ├─.util.XSearchable
│     │     .util.XSearchDescriptor  createSearchDescriptor()
│     │     .container.XIndexAccess  findAll( [in] .util.XSearchDescriptor xDesc)
│     │             .uno.XInterface  findFirst( [in] .util.XSearchDescriptor xDesc)
│     │             .uno.XInterface  findNext( [in]         .uno.XInterface xStartAt,
│     │                                        [in] .util.XSearchDescriptor xDesc)
│     └─.document.OfficeDocument
│        │                  boolean  ApplyFormDesignMode
│        │                  boolean  AutomaticControlFocus
│        │   [.beans.PropertyValue]  InteropGrabBag
│        │                   string  RuntimeUID
│        ├─.document.XDocumentEventBroadcaster
│        │     void  addDocumentEventListener( [in] .document.XDocumentEventListener Listener)
│        │     void  notifyDocumentEvent( [in]              string EventName,
│        │                                [in] .frame.XController2 ViewController,
│        │                                [in]                 any Supplement
│        │                     ) raises ( .lang.NoSupportException,
│        │                                .lang.IllegalArgumentException)
│        │     void  removeDocumentEventListener( [in] .document.XDocumentEventListener Listener)
│        ├─.document.XDocumentPropertiesSupplier
│        │     .document.XDocumentProperties  getDocumentProperties()
│        ├─.document.XEmbeddedScripts
│        │                                   boolean  AllowMacroExecution
│        │     .script.XStorageBasedLibraryContainer  BasicLibraries
│        │     .script.XStorageBasedLibraryContainer  DialogLibraries
│        ├─.document.XEventBroadcaster
│        │     void  addEventListener( [in] .document.XEventListener Listener)
│        │     void  removeEventListener( [in] .document.XEventListener Listener)
│        ├─.document.XEventsSupplier
│        │     .container.XNameReplace  getEvents()
│        ├─.document.XUndoManagerSupplier
│        │     .document.XUndoManager  getUndoManager()
│        ├─.document.XViewDataSupplier
│        │     .container.XIndexAccess  getViewData()
│        │                        void  setViewData( [in] .container.XIndexAccess Data)
│        ├─.frame.XStorable
│        │      string  getLocation()
│        │     boolean  hasLocation()
│        │     boolean  isReadonly()
│        │        void  store()
│        │        void  storeAsURL( [in]                 string sURL,
│        │                          [in] [.beans.PropertyValue] lArguments
│        │               ) raises ( .io.IOException)
│        │        void  storeToURL( [in]                 string sURL,
│        │                          [in] [.beans.PropertyValue] lArguments
│        │               ) raises ( .io.IOException)
│        ├─.util.XModifiable
│        │   │   boolean  isModified()
│        │   │      void  setModified( [in] boolean bModified
│        │   │              ) raises ( .beans.PropertyVetoException)
│        │   └─.util.XModifyBroadcaster
│        │        void  addModifyListener( [in] .util.XModifyListener aListener)
│        │        void  removeModifyListener( [in] .util.XModifyListener aListener)
│        ├─.view.XPrintJobBroadcaster
│        │     void  addPrintJobListener( [in] .view.XPrintJobListener xListener)
│        │     void  removePrintJobListener( [in] .view.XPrintJobListener xListener)
│        └─.view.XPrintable
│              [.beans.PropertyValue]  getPrinter()
│                                void  print( [in] [.beans.PropertyValue] xOptions
│                                  ) raises ( .lang.IllegalArgumentException)
│                                void  setPrinter( [in] [.beans.PropertyValue] aPrinter
│                                       ) raises ( .lang.IllegalArgumentException)
├─.beans.XPropertyState
│                        any  getPropertyDefault( [in] string aPropertyName
│                                      ) raises ( .lang.WrappedTargetException,
│                                                 .beans.UnknownPropertyException)
│       .beans.PropertyState  getPropertyState( [in] string PropertyName
│                                    ) raises ( .beans.UnknownPropertyException)
│     [.beans.PropertyState]  getPropertyStates( [in] [string] aPropertyName
│                                     ) raises ( .beans.UnknownPropertyException)
│                       void  setPropertyToDefault( [in] string PropertyName
│                                        ) raises ( .beans.UnknownPropertyException)
├─.container.XChild
│     .uno.XInterface  getParent()
│                void  setParent( [in] .uno.XInterface Parent
│                      ) raises ( .lang.NoSupportException)
├─.datatransfer.XTransferable
│                            any  getTransferData( [in] .datatransfer.DataFlavor aFlavor
│                                       ) raises ( .io.IOException,
│                                                  .datatransfer.UnsupportedFlavorException)
│     [.datatransfer.DataFlavor]  getTransferDataFlavors()
│                        boolean  isDataFlavorSupported( [in] .datatransfer.DataFlavor aFlavor)
├─.document.XCmisDocument
│     [.document.CmisProperty]  CmisProperties
│                      boolean  canCancelCheckOut()
│                      boolean  canCheckIn()
│                      boolean  canCheckOut()
│                         void  cancelCheckOut()
│                         void  checkIn( [in] boolean isMajor,
│                                        [in]  string comment)
│                         void  checkOut()
│      [.document.CmisVersion]  getAllVersions()
│                      boolean  isVersionable()
│                         void  updateCmisProperties( [in] [.document.CmisProperty] cmisProperties)
├─.document.XDocumentLanguages
│     [.lang.Locale]  getDocumentLanguages( [in] short nScriptTypes,
│                                           [in] short nCount
│                                ) raises ( .lang.IllegalArgumentException)
├─.document.XDocumentRecovery
│        void  recoverFromFile( [in]                 string SourceLocation,
│                               [in]                 string SalvagedFile,
│                               [in] [.beans.PropertyValue] MediaDescriptor
│                    ) raises ( .lang.WrappedTargetException,
│                               .io.IOException)
│        void  storeToRecoveryFile( [in]                 string TargetLocation,
│                                   [in] [.beans.PropertyValue] MediaDescriptor
│                        ) raises ( .lang.WrappedTargetException,
│                                   .io.IOException)
│     boolean  wasModifiedSinceLastSave()
├─.document.XDocumentSubStorageSupplier
│     .embed.XStorage  getDocumentSubStorage( [in] string StorageName,
│                                             [in]   long nMode)
│            [string]  getDocumentSubStoragesNames()
├─.document.XLinkTargetSupplier
│     .container.XNameAccess  getLinks()
├─.document.XRedlinesSupplier
│     .container.XEnumerationAccess  getRedlines()
├─.document.XScriptInvocationContext
│     .document.XEmbeddedScripts  ScriptContainer
├─.document.XStorageBasedDocument
│                void  addStorageChangeListener( [in] .document.XStorageChangeListener xListener)
│     .embed.XStorage  getDocumentStorage()
│                void  loadFromStorage( [in]        .embed.XStorage xStorage,
│                                       [in] [.beans.PropertyValue] aMediaDescriptor
│                            ) raises ( .uno.Exception,
│                                       .io.IOException,
│                                       .frame.DoubleInitializationException,
│                                       .lang.IllegalArgumentException)
│                void  removeStorageChangeListener( [in] .document.XStorageChangeListener xListener)
│                void  storeToStorage( [in]        .embed.XStorage xStorage,
│                                      [in] [.beans.PropertyValue] aMediaDescriptor
│                           ) raises ( .uno.Exception,
│                                      .io.IOException,
│                                      .lang.IllegalArgumentException)
│                void  switchToStorage( [in] .embed.XStorage xStorage
│                            ) raises ( .uno.Exception,
│                                       .io.IOException,
│                                       .lang.IllegalArgumentException)
├─.drawing.XDrawPageSupplier
│     .drawing.XDrawPage  getDrawPage()
├─.embed.XVisualObject
│                            long  getMapUnit( [in] hyper nAspect
│                                   ) raises ( .uno.Exception)
│     .embed.VisualRepresentation  getPreferredVisualRepresentation( [in] hyper nAspect
│                                                         ) raises ( .uno.Exception,
│                                                                    .embed.WrongStateException,
│                                                                    .lang.IllegalArgumentException)
│                       .awt.Size  getVisualAreaSize( [in] hyper nAspect
│                                          ) raises ( .uno.Exception,
│                                                     .embed.WrongStateException,
│                                                     .lang.IllegalArgumentException)
│                            void  setVisualAreaSize( [in]     hyper nAspect,
│                                                     [in] .awt.Size aSize
│                                          ) raises ( .uno.Exception,
│                                                     .embed.WrongStateException,
│                                                     .lang.IllegalArgumentException)
├─.frame.XLoadable
│     void  initNew()
│     void  load( [in] [.beans.PropertyValue] lArguments
│      ) raises ( .uno.Exception,
│                 .io.IOException,
│                 .frame.DoubleInitializationException)
├─.frame.XModel2
│         .frame.XController2  createDefaultViewController( [in] .frame.XFrame Frame
│                                                ) raises ( .uno.Exception,
│                                                           .lang.IllegalArgumentException)
│         .frame.XController2  createViewController( [in]                 string ViewName,
│                                                    [in] [.beans.PropertyValue] Arguments,
│                                                    [in]          .frame.XFrame Frame
│                                         ) raises ( .uno.Exception,
│                                                    .lang.IllegalArgumentException)
│                    [string]  getAvailableViewControllerNames()
│     .container.XEnumeration  getControllers()
├─.frame.XModule
│     string  getIdentifier()
│       void  setIdentifier( [in] string Identifier)
├─.frame.XStorable2
│     void  storeSelf( [in] [.beans.PropertyValue] lArguments
│           ) raises ( .io.IOException,
│                      .lang.IllegalArgumentException)
├─.frame.XTitle
│     string  getTitle()
│       void  setTitle( [in] string sTitle)
├─.frame.XTitleChangeBroadcaster
│     void  addTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
│     void  removeTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
├─.frame.XUntitledNumbers
│     string  getUntitledPrefix()
│       long  leaseNumber( [in] .uno.XInterface xComponent
│               ) raises ( .lang.IllegalArgumentException)
│       void  releaseNumber( [in] long nNumber
│                 ) raises ( .lang.IllegalArgumentException)
│       void  releaseNumberForComponent( [in] .uno.XInterface xComponent
│                             ) raises ( .lang.IllegalArgumentException)
├─.rdf.XDocumentMetadataAccess
│   │                void  addContentOrStylesFile( [in] string FileName
│   │                                   ) raises ( .container.ElementExistException,
│   │                                              .lang.IllegalArgumentException)
│   │           .rdf.XURI  addMetadataFile( [in]      string FileName,
│   │                                       [in] [.rdf.XURI] Types
│   │                            ) raises ( .container.ElementExistException,
│   │                                       .lang.IllegalArgumentException)
│   │   .rdf.XMetadatable  getElementByMetadataReference( [in] .beans.StringPair MetadataReference)
│   │   .rdf.XMetadatable  getElementByURI( [in] .rdf.XURI URI
│   │                            ) raises ( .lang.IllegalArgumentException)
│   │         [.rdf.XURI]  getMetadataGraphsWithType( [in] .rdf.XURI Type
│   │                                      ) raises ( .lang.IllegalArgumentException)
│   │           .rdf.XURI  importMetadataFile( [in]            short Format,
│   │                                          [in] .io.XInputStream InStream,
│   │                                          [in]           string FileName,
│   │                                          [in]        .rdf.XURI BaseURI,
│   │                                          [in]      [.rdf.XURI] Types
│   │                               ) raises ( .io.IOException,
│   │                                          .rdf.ParseException,
│   │                                          .container.ElementExistException,
│   │                                          .datatransfer.UnsupportedFlavorException,
│   │                                          .lang.IllegalArgumentException)
│   │                void  loadMetadataFromMedium( [in] [.beans.PropertyValue] Medium
│   │                                   ) raises ( .lang.WrappedTargetException,
│   │                                              .lang.IllegalArgumentException)
│   │                void  loadMetadataFromStorage( [in]           .embed.XStorage Storage,
│   │                                               [in]                 .rdf.XURI BaseURI,
│   │                                               [in] .task.XInteractionHandler InteractionHandler
│   │                                    ) raises ( .lang.WrappedTargetException,
│   │                                               .lang.IllegalArgumentException)
│   │                void  removeContentOrStylesFile( [in] string FileName
│   │                                      ) raises ( .container.NoSuchElementException,
│   │                                                 .lang.IllegalArgumentException)
│   │                void  removeMetadataFile( [in] .rdf.XURI GraphName
│   │                               ) raises ( .container.NoSuchElementException,
│   │                                          .lang.IllegalArgumentException)
│   │                void  storeMetadataToMedium( [in] [.beans.PropertyValue] Medium
│   │                                  ) raises ( .lang.WrappedTargetException,
│   │                                             .lang.IllegalArgumentException)
│   │                void  storeMetadataToStorage( [in] .embed.XStorage Storage
│   │                                   ) raises ( .lang.WrappedTargetException,
│   │                                              .lang.IllegalArgumentException)
│   ├─.rdf.XRepositorySupplier
│   │     .rdf.XRepository  getRDFRepository()
│   └─.rdf.XURI
│     │   string  LocalName
│     │   string  Namespace
│     └─.rdf.XResource
│        └─.rdf.XNode
│              string  StringValue
├─.script.XStarBasicAccess
│                          void  addDialog( [in] string LibraryName,
│                                           [in] string DialogName,
│                                           [in] [byte] Data
│                                ) raises ( .container.NoSuchElementException)
│                          void  addModule( [in] string LibraryName,
│                                           [in] string ModuleName,
│                                           [in] string Language,
│                                           [in] string Source
│                                ) raises ( .container.NoSuchElementException)
│                          void  createLibrary( [in] string LibName,
│                                               [in] string Password,
│                                               [in] string ExternalSourceURL,
│                                               [in] string LinkTargetURL
│                                    ) raises ( .container.ElementExistException)
│     .container.XNameContainer  getLibraryContainer()
├─.script.provider.XScriptProviderSupplier
│     .script.provider.XScriptProvider  getScriptProvider()
├─.style.XAutoStylesSupplier
│     .style.XAutoStyles  getAutoStyles()
├─.text.XFlatParagraphIteratorProvider
│     .text.XFlatParagraphIterator  getFlatParagraphIterator( [in]    long nType,
│                                                             [in] boolean bAutomatic
│                                                  ) raises ( .lang.IllegalArgumentException)
├─.text.XLineNumberingProperties
│     .beans.XPropertySet  getLineNumberingProperties()
├─.text.XNumberingRulesSupplier
│     .container.XIndexAccess  getNumberingRules()
├─.ui.XUIConfigurationManagerSupplier
│     .ui.XUIConfigurationManager  getUIConfigurationManager()
├─.util.XCloneable
│     .util.XCloneable  createClone()
├─.util.XCloseable
│   │   void  close( [in] boolean DeliverOwnership
│   │     ) raises ( .util.CloseVetoException)
│   └─.util.XCloseBroadcaster
│        void  addCloseListener( [in] .util.XCloseListener Listener)
│        void  removeCloseListener( [in] .util.XCloseListener Listener)
├─.util.XLinkUpdate
│     void  updateLinks()
├─.util.XModifiable2
│     boolean  disableSetModified()
│     boolean  enableSetModified()
│     boolean  isSetModifiedEnabled()
├─.view.XRenderable
│     [.beans.PropertyValue]  getRenderer( [in]                   long nRenderer,
│                                          [in]                    any aSelection,
│                                          [in] [.beans.PropertyValue] xOptions
│                               ) raises ( .lang.IllegalArgumentException)
│                       long  getRendererCount( [in]                    any aSelection,
│                                               [in] [.beans.PropertyValue] xOptions
│                                    ) raises ( .lang.IllegalArgumentException)
│                       void  render( [in]                   long nRenderer,
│                                     [in]                    any aSelection,
│                                     [in] [.beans.PropertyValue] xOptions
│                          ) raises ( .lang.IllegalArgumentException)
├─.xforms.XFormsSupplier
│     .container.XNameContainer  getXForms()
└──(サービスやインターフェイスに属しないプロパティ)
                               string  BuildId
                                short  CharFontCharSet
                                short  CharFontCharSetAsian
                                short  CharFontCharSetComplex
                                short  CharFontFamily
                                short  CharFontFamilyAsian
                                short  CharFontFamilyComplex
                               string  CharFontName
                               string  CharFontNameAsian
                               string  CharFontNameComplex
                                short  CharFontPitch
                                short  CharFontPitchAsian
                                short  CharFontPitchComplex
                               string  CharFontStyleName
                               string  CharFontStyleNameAsian
                               string  CharFontStyleNameComplex
                              boolean  DefaultPageMode
           .i18n.XForbiddenCharacters  ForbiddenCharacters
                              boolean  HasValidSignatures
                              boolean  HideFieldTips
                              boolean  IsTemplate
                              boolean  LockUpdates
                                short  RedlineDisplayType
                               [byte]  RedlineProtectionKey
                              boolean  ShowChanges
                               string  VBAGlobalConstantName

次の関連記事:LibreOffice5(89)マクロをオートメーションで実行するためのコード

ブログ検索 by Blogger

Translate

最近のコメント

Created by Calendar Gadget

QooQ