LibreOffice5(95)デスクトップのサービスとインターフェイスの一覧

2017-11-24

旧ブログ

t f B! P L
デスクトップはフレームのルートフレームに該当します(LibreOffice(32)デベロッパーガイド4:コンポーネントフレームワーク参照)。

前の関連記事:LibreOffice5(94)サービスとインターフェース一覧が載っているページの一覧


デスクトップのサービスとインターフェイスの一覧

def macro():
 ctx = XSCRIPTCONTEXT.getComponentContext()  # コンポーネントコンテクストの取得。
 smgr = ctx.getServiceManager()  # サービスマネージャーの取得。 
 tcu = smgr.createInstanceWithContext("pq.Tcu", ctx)  # サービス名か実装名でインスタンス化。
 desktop = ctx.getByName('/singletons/com.sun.star.frame.theDesktop')  # com.sun.star.frame.Desktopはdeprecatedになっている。
 tcu.wtree(desktop)

├─.frame.Desktop
│   └─.frame.XDesktop2
│     ├─.frame.XComponentLoader
│     │     .lang.XComponent  loadComponentFromURL( [in]                 string URL,
│     │                                             [in]                 string TargetFrameName,
│     │                                             [in]                   long SearchFlags,
│     │                                             [in] [.beans.PropertyValue] Arguments
│     │                                  ) raises ( .lang.IllegalArgumentException,
│     │                                             .io.IOException)
│     ├─.frame.XDesktop
│     │                              void  addTerminateListener( [in] .frame.XTerminateListener Listener)
│     │     .container.XEnumerationAccess  getComponents()
│     │                  .lang.XComponent  getCurrentComponent()
│     │                     .frame.XFrame  getCurrentFrame()
│     │                              void  removeTerminateListener( [in] .frame.XTerminateListener Listener)
│     │                           boolean  terminate()
│     ├─.frame.XDispatchProvider
│     │       .frame.XDispatch  queryDispatch( [in] .util.URL URL,
│     │                                        [in]    string TargetFrameName,
│     │                                        [in]      long SearchFlags)
│     │     [.frame.XDispatch]  queryDispatches( [in] [.frame.DispatchDescriptor] Requests)
│     ├─.frame.XDispatchProviderInterception
│     │     void  registerDispatchProviderInterceptor( [in] .frame.XDispatchProviderInterceptor Interceptor)
│     │     void  releaseDispatchProviderInterceptor( [in] .frame.XDispatchProviderInterceptor Interceptor)
│     └─.frame.XFramesSupplier
│        │    .frame.XFrame  getActiveFrame()
│        │   .frame.XFrames  getFrames()
│        │             void  setActiveFrame( [in] .frame.XFrame Frame)
│        └─.frame.XFrame
│           │                     void  activate()
│           │                     void  addFrameActionListener( [in] .frame.XFrameActionListener xListener)
│           │                     void  contextChanged()
│           │                     void  deactivate()
│           │            .frame.XFrame  findFrame( [in] string aTargetFrameName,
│           │                                      [in]   long nSearchFlags)
│           │             .awt.XWindow  getComponentWindow()
│           │             .awt.XWindow  getContainerWindow()
│           │       .frame.XController  getController()
│           │   .frame.XFramesSupplier  getCreator()
│           │                   string  getName()
│           │                     void  initialize( [in] .awt.XWindow xWindow)
│           │                  boolean  isActive()
│           │                  boolean  isTop()
│           │                     void  removeFrameActionListener( [in] .frame.XFrameActionListener xListener)
│           │                  boolean  setComponent( [in]       .awt.XWindow xComponentWindow,
│           │                                         [in] .frame.XController xController)
│           │                     void  setCreator( [in] .frame.XFramesSupplier Creator)
│           │                     void  setName( [in] string aName)
│           └─.lang.XComponent
│                 void  addEventListener( [in] .lang.XEventListener xListener)
│                 void  dispose()
│                 void  removeEventListener( [in] .lang.XEventListener aListener)
├─.beans.XFastPropertySet
│      any  getFastPropertyValue( [in] long nHandle
│                      ) raises ( .lang.WrappedTargetException,
│                                 .beans.UnknownPropertyException)
│     void  setFastPropertyValue( [in] long nHandle,
│                                 [in]  any aValue
│                      ) raises ( .lang.WrappedTargetException,
│                                 .lang.IllegalArgumentException,
│                                 .beans.PropertyVetoException,
│                                 .beans.UnknownPropertyException)
├─.beans.XMultiPropertySet
│                        void  addPropertiesChangeListener( [in]                         [string] aPropertyNames,
│                                                           [in] .beans.XPropertiesChangeListener xListener)
│                        void  firePropertiesChangeEvent( [in]                         [string] aPropertyNames,
│                                                         [in] .beans.XPropertiesChangeListener xListener)
│     .beans.XPropertySetInfo  getPropertySetInfo()
│                       [any]  getPropertyValues( [in] [string] aPropertyNames)
│                        void  removePropertiesChangeListener( [in] .beans.XPropertiesChangeListener xListener)
│                        void  setPropertyValues( [in] [string] aPropertyNames,
│                                                 [in]    [any] aValues
│                                      ) raises ( .lang.WrappedTargetException,
│                                                 .lang.IllegalArgumentException,
│                                                 .beans.PropertyVetoException)
├─.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)
├─.frame.XTasksSupplier
│                      .frame.XTask  getActiveTask()
│     .container.XEnumerationAccess  getTasks()
├─.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)
├─.task.XInteractionHandler
│     void  handle( [in] .task.XInteractionRequest Request)
└──(サービスやインターフェイスに属しないプロパティ)
                     .lang.XComponent  ActiveFrame
     .frame.XDispatchRecorderSupplier  DispatchRecorderSupplier
                              boolean  IsPlugged
                              boolean  SuspendQuickstartVeto
                               string  Title

次の関連記事:LibreOffice5(96)デスクトップとフレームとのサービスとインターフェイスの比較

ブログ検索 by Blogger

Translate

最近のコメント

Created by Calendar Gadget

QooQ