前の関連記事:Calc(24)セルカーサーでセル範囲を変更する
フレームのサービスとインターフェイス一覧
def macro(): ctx = XSCRIPTCONTEXT.getComponentContext() # コンポーネントコンテクストの取得。 smgr = ctx.getServiceManager() # サービスマネージャーの取得。 tcu = smgr.createInstanceWithContext("pq.Tcu", ctx) # サービス名か実装名でインスタンス化。 doc = XSCRIPTCONTEXT.getDocument() # Calcドキュメント。 docframe = doc.getCurrentController().getFrame() # モデル→コントローラ→フレーム、でドキュメントのフレームを取得。 tcu.wtree(docframe) # フレーム。
├─.frame.Frame
│ └─.frame.XFrame2
│ │ .frame.XDispatchRecorderSupplier DispatchRecorderSupplier
│ │ .uno.XInterface LayoutManager
│ │ string Title
│ │ .container.XNameContainer UserDefinedAttributes
│ ├─.frame.XDispatchInformationProvider
│ │ [.frame.DispatchInformation] getConfigurableDispatchInformation( [in] short CommandGroup)
│ │ [short] getSupportedCommandGroups()
│ ├─.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)
│ └─.task.XStatusIndicatorFactory
│ .task.XStatusIndicator createStatusIndicator()
├─.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)
├─.beans.XPropertySetInfo
│ [.beans.Property] getProperties()
│ .beans.Property getPropertyByName( [in] string aName
│ ) raises ( .beans.UnknownPropertyException)
│ boolean hasPropertyByName( [in] string Name)
├─.document.XActionLockable
│ void addActionLock()
│ boolean isActionLocked()
│ void removeActionLock()
│ short resetActionLocks()
│ void setActionLocks( [in] short nLock)
├─.frame.XComponentLoader
│ .lang.XComponent loadComponentFromURL( [in] string URL,
│ [in] string TargetFrameName,
│ [in] long SearchFlags,
│ [in] [.beans.PropertyValue] Arguments
│ ) raises ( .lang.IllegalArgumentException,
│ .io.IOException)
├─.frame.XTitle
│ string getTitle()
│ void setTitle( [in] string sTitle)
├─.frame.XTitleChangeBroadcaster
│ void addTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
│ void removeTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
├─.util.XCloseable
│ │ void close( [in] boolean DeliverOwnership
│ │ ) raises ( .util.CloseVetoException)
│ └─.util.XCloseBroadcaster
│ void addCloseListener( [in] .util.XCloseListener Listener)
│ void removeCloseListener( [in] .util.XCloseListener Listener)
└──(サービスやインターフェイスに属しないプロパティ)
.task.XStatusIndicator IndicatorInterception
boolean IsHidden
│ └─.frame.XFrame2
│ │ .frame.XDispatchRecorderSupplier DispatchRecorderSupplier
│ │ .uno.XInterface LayoutManager
│ │ string Title
│ │ .container.XNameContainer UserDefinedAttributes
│ ├─.frame.XDispatchInformationProvider
│ │ [.frame.DispatchInformation] getConfigurableDispatchInformation( [in] short CommandGroup)
│ │ [short] getSupportedCommandGroups()
│ ├─.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)
│ └─.task.XStatusIndicatorFactory
│ .task.XStatusIndicator createStatusIndicator()
├─.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)
├─.beans.XPropertySetInfo
│ [.beans.Property] getProperties()
│ .beans.Property getPropertyByName( [in] string aName
│ ) raises ( .beans.UnknownPropertyException)
│ boolean hasPropertyByName( [in] string Name)
├─.document.XActionLockable
│ void addActionLock()
│ boolean isActionLocked()
│ void removeActionLock()
│ short resetActionLocks()
│ void setActionLocks( [in] short nLock)
├─.frame.XComponentLoader
│ .lang.XComponent loadComponentFromURL( [in] string URL,
│ [in] string TargetFrameName,
│ [in] long SearchFlags,
│ [in] [.beans.PropertyValue] Arguments
│ ) raises ( .lang.IllegalArgumentException,
│ .io.IOException)
├─.frame.XTitle
│ string getTitle()
│ void setTitle( [in] string sTitle)
├─.frame.XTitleChangeBroadcaster
│ void addTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
│ void removeTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
├─.util.XCloseable
│ │ void close( [in] boolean DeliverOwnership
│ │ ) raises ( .util.CloseVetoException)
│ └─.util.XCloseBroadcaster
│ void addCloseListener( [in] .util.XCloseListener Listener)
│ void removeCloseListener( [in] .util.XCloseListener Listener)
└──(サービスやインターフェイスに属しないプロパティ)
.task.XStatusIndicator IndicatorInterception
boolean IsHidden
0 件のコメント:
コメントを投稿