前の関連記事:Calc(18)ドキュメントとシートとのサービスとインターフェイスの比較
Calcコントローラのサービスとインターフェイス一覧
def macro(): ctx = XSCRIPTCONTEXT.getComponentContext() # コンポーネントコンテクストの取得。 smgr = ctx.getServiceManager() # サービスマネージャーの取得。 tcu = smgr.createInstanceWithContext("pq.Tcu", ctx) # サービス名か実装名でインスタンス化。 doc = XSCRIPTCONTEXT.getDocument() # Calcドキュメント。 controller = doc.getCurrentController() # コントローラの取得。 tcu.wtree(controller) # コントローラ
├─.sheet.SpreadsheetView
│ ├─.container.XEnumerationAccess
│ │ │ .container.XEnumeration createEnumeration()
│ │ └─.container.XElementAccess
│ │ type getElementType()
│ │ boolean hasElements()
│ ├─.container.XIndexAccess
│ │ any getByIndex( [in] long Index
│ │ ) raises ( .lang.WrappedTargetException,
│ │ .lang.IndexOutOfBoundsException)
│ │ long getCount()
│ ├─.sheet.XActivationBroadcaster
│ │ void addActivationEventListener( [in] .sheet.XActivationEventListener aListener)
│ │ void removeActivationEventListener( [in] .sheet.XActivationEventListener aListener)
│ ├─.sheet.XEnhancedMouseClickBroadcaster
│ │ void addEnhancedMouseClickHandler( [in] .awt.XEnhancedMouseClickHandler aListener)
│ │ void removeEnhancedMouseClickHandler( [in] .awt.XEnhancedMouseClickHandler aListener)
│ ├─.sheet.XRangeSelection
│ │ void abortRangeSelection()
│ │ void addRangeSelectionChangeListener( [in] .sheet.XRangeSelectionChangeListener aListener)
│ │ void addRangeSelectionListener( [in] .sheet.XRangeSelectionListener aListener)
│ │ void removeRangeSelectionChangeListener( [in] .sheet.XRangeSelectionChangeListener aListener)
│ │ void removeRangeSelectionListener( [in] .sheet.XRangeSelectionListener aListener)
│ │ void startRangeSelection( [in] [.beans.PropertyValue] aArguments)
│ ├─.sheet.XSpreadsheetView
│ │ .sheet.XSpreadsheet getActiveSheet()
│ │ void setActiveSheet( [in] .sheet.XSpreadsheet xActiveSheet)
│ ├─.sheet.XViewFreezable
│ │ void freezeAtPosition( [in] long nColumns,
│ │ [in] long nRows)
│ │ boolean hasFrozenPanes()
│ ├─.sheet.XViewSplitable
│ │ boolean getIsWindowSplit()
│ │ long getSplitColumn()
│ │ long getSplitHorizontal()
│ │ long getSplitRow()
│ │ long getSplitVertical()
│ │ void splitAtPosition( [in] long nPixelX,
│ │ [in] long nPixelY)
│ ├─.view.XSelectionSupplier
│ │ void addSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
│ │ any getSelection()
│ │ void removeSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
│ │ boolean select( [in] any xSelection
│ │ ) raises ( .lang.IllegalArgumentException)
│ ├─.frame.Controller
│ │ ├─.awt.XUserInputInterception
│ │ │ void addKeyHandler( [in] .awt.XKeyHandler xHandler)
│ │ │ void addMouseClickHandler( [in] .awt.XMouseClickHandler xHandler)
│ │ │ void removeKeyHandler( [in] .awt.XKeyHandler xHandler)
│ │ │ void removeMouseClickHandler( [in] .awt.XMouseClickHandler xHandler)
│ │ ├─.datatransfer.XTransferableSupplier
│ │ │ .datatransfer.XTransferable getTransferable()
│ │ │ void insertTransferable( [in] .datatransfer.XTransferable xTrans
│ │ │ ) raises ( .datatransfer.UnsupportedFlavorException)
│ │ ├─.frame.XController
│ │ │ │ void attachFrame( [in] .frame.XFrame Frame)
│ │ │ │ boolean attachModel( [in] .frame.XModel Model)
│ │ │ │ .frame.XFrame getFrame()
│ │ │ │ .frame.XModel getModel()
│ │ │ │ any getViewData()
│ │ │ │ void restoreViewData( [in] any Data)
│ │ │ │ boolean suspend( [in] boolean Suspend)
│ │ │ └─.lang.XComponent
│ │ │ void addEventListener( [in] .lang.XEventListener xListener)
│ │ │ void dispose()
│ │ │ void removeEventListener( [in] .lang.XEventListener aListener)
│ │ ├─.frame.XDispatchProvider
│ │ │ .frame.XDispatch queryDispatch( [in] .util.URL URL,
│ │ │ [in] string TargetFrameName,
│ │ │ [in] long SearchFlags)
│ │ │ [.frame.XDispatch] queryDispatches( [in] [.frame.DispatchDescriptor] Requests)
│ │ └─.ui.XContextMenuInterception
│ │ void registerContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ │ void releaseContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ ├─.sheet.SpreadsheetViewPane
│ │ ├─.sheet.XCellRangeReferrer
│ │ │ .table.XCellRange getReferredCells()
│ │ ├─.sheet.XViewPane
│ │ │ long getFirstVisibleColumn()
│ │ │ long getFirstVisibleRow()
│ │ │ .table.CellRangeAddress getVisibleRange()
│ │ │ void setFirstVisibleColumn( [in] long nFirstVisibleColumn)
│ │ │ void setFirstVisibleRow( [in] long nFirstVisibleRow)
│ │ └─.view.XControlAccess
│ │ .awt.XControl getControl( [in] .awt.XControlModel xModel
│ │ ) raises ( .container.NoSuchElementException)
│ └─.sheet.SpreadsheetViewSettings
│ │ .util.Color GridColor
│ │ boolean HasColumnRowHeaders
│ │ boolean HasHorizontalScrollBar
│ │ boolean HasSheetTabs
│ │ boolean HasVerticalScrollBar
│ │ boolean HideSpellMarks
│ │ boolean IsOutlineSymbolsSet
│ │ boolean IsValueHighlightingEnabled
│ │ boolean ShowAnchor
│ │ short ShowCharts
│ │ short ShowDrawing
│ │ boolean ShowFormulas
│ │ boolean ShowGrid
│ │ boolean ShowHelpLines
│ │ boolean ShowNotes
│ │ short ShowObjects
│ │ boolean ShowPageBreaks
│ │ boolean ShowZeroValues
│ │ short ZoomType
│ │ short ZoomValue
│ └─.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.XController2
│ .awt.XWindow ComponentWindow
│ [.beans.PropertyValue] CreationArguments
│ string ViewControllerName
│ .ui.XSidebarProvider getSidebar()
├─.frame.XControllerBorder
│ void addBorderResizeListener( [in] .frame.XBorderResizeListener xListener)
│ .frame.BorderWidths getBorder()
│ .awt.Rectangle queryBorderedArea( [in] .awt.Rectangle aPreliminaryRectangle)
│ void removeBorderResizeListener( [in] .frame.XBorderResizeListener xListener)
├─.frame.XDispatchInformationProvider
│ [.frame.DispatchInformation] getConfigurableDispatchInformation( [in] short CommandGroup)
│ [short] getSupportedCommandGroups()
├─.frame.XTitle
│ string getTitle()
│ void setTitle( [in] string sTitle)
├─.frame.XTitleChangeBroadcaster
│ void addTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
│ void removeTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
├─.lang.XInitialization
│ void initialize( [in] [any] aArguments
│ ) raises ( .uno.Exception)
├─.task.XStatusIndicatorSupplier
│ .task.XStatusIndicator getStatusIndicator()
├─.view.XFormLayerAccess
│ .form.runtime.XFormController getFormController( [in] .form.XForm Form)
│ boolean isFormDesignMode()
│ void setFormDesignMode( [in] boolean DesignMode)
└──(サービスやインターフェイスに属しないプロパティ)
boolean ColumnRowHeaders
boolean HorizontalScrollBar
boolean OutlineSymbols
boolean SheetTabs
boolean ValueHighlighting
boolean VerticalScrollBar
.awt.Rectangle VisibleArea
.awt.Rectangle VisibleAreaOnScreen
│ ├─.container.XEnumerationAccess
│ │ │ .container.XEnumeration createEnumeration()
│ │ └─.container.XElementAccess
│ │ type getElementType()
│ │ boolean hasElements()
│ ├─.container.XIndexAccess
│ │ any getByIndex( [in] long Index
│ │ ) raises ( .lang.WrappedTargetException,
│ │ .lang.IndexOutOfBoundsException)
│ │ long getCount()
│ ├─.sheet.XActivationBroadcaster
│ │ void addActivationEventListener( [in] .sheet.XActivationEventListener aListener)
│ │ void removeActivationEventListener( [in] .sheet.XActivationEventListener aListener)
│ ├─.sheet.XEnhancedMouseClickBroadcaster
│ │ void addEnhancedMouseClickHandler( [in] .awt.XEnhancedMouseClickHandler aListener)
│ │ void removeEnhancedMouseClickHandler( [in] .awt.XEnhancedMouseClickHandler aListener)
│ ├─.sheet.XRangeSelection
│ │ void abortRangeSelection()
│ │ void addRangeSelectionChangeListener( [in] .sheet.XRangeSelectionChangeListener aListener)
│ │ void addRangeSelectionListener( [in] .sheet.XRangeSelectionListener aListener)
│ │ void removeRangeSelectionChangeListener( [in] .sheet.XRangeSelectionChangeListener aListener)
│ │ void removeRangeSelectionListener( [in] .sheet.XRangeSelectionListener aListener)
│ │ void startRangeSelection( [in] [.beans.PropertyValue] aArguments)
│ ├─.sheet.XSpreadsheetView
│ │ .sheet.XSpreadsheet getActiveSheet()
│ │ void setActiveSheet( [in] .sheet.XSpreadsheet xActiveSheet)
│ ├─.sheet.XViewFreezable
│ │ void freezeAtPosition( [in] long nColumns,
│ │ [in] long nRows)
│ │ boolean hasFrozenPanes()
│ ├─.sheet.XViewSplitable
│ │ boolean getIsWindowSplit()
│ │ long getSplitColumn()
│ │ long getSplitHorizontal()
│ │ long getSplitRow()
│ │ long getSplitVertical()
│ │ void splitAtPosition( [in] long nPixelX,
│ │ [in] long nPixelY)
│ ├─.view.XSelectionSupplier
│ │ void addSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
│ │ any getSelection()
│ │ void removeSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
│ │ boolean select( [in] any xSelection
│ │ ) raises ( .lang.IllegalArgumentException)
│ ├─.frame.Controller
│ │ ├─.awt.XUserInputInterception
│ │ │ void addKeyHandler( [in] .awt.XKeyHandler xHandler)
│ │ │ void addMouseClickHandler( [in] .awt.XMouseClickHandler xHandler)
│ │ │ void removeKeyHandler( [in] .awt.XKeyHandler xHandler)
│ │ │ void removeMouseClickHandler( [in] .awt.XMouseClickHandler xHandler)
│ │ ├─.datatransfer.XTransferableSupplier
│ │ │ .datatransfer.XTransferable getTransferable()
│ │ │ void insertTransferable( [in] .datatransfer.XTransferable xTrans
│ │ │ ) raises ( .datatransfer.UnsupportedFlavorException)
│ │ ├─.frame.XController
│ │ │ │ void attachFrame( [in] .frame.XFrame Frame)
│ │ │ │ boolean attachModel( [in] .frame.XModel Model)
│ │ │ │ .frame.XFrame getFrame()
│ │ │ │ .frame.XModel getModel()
│ │ │ │ any getViewData()
│ │ │ │ void restoreViewData( [in] any Data)
│ │ │ │ boolean suspend( [in] boolean Suspend)
│ │ │ └─.lang.XComponent
│ │ │ void addEventListener( [in] .lang.XEventListener xListener)
│ │ │ void dispose()
│ │ │ void removeEventListener( [in] .lang.XEventListener aListener)
│ │ ├─.frame.XDispatchProvider
│ │ │ .frame.XDispatch queryDispatch( [in] .util.URL URL,
│ │ │ [in] string TargetFrameName,
│ │ │ [in] long SearchFlags)
│ │ │ [.frame.XDispatch] queryDispatches( [in] [.frame.DispatchDescriptor] Requests)
│ │ └─.ui.XContextMenuInterception
│ │ void registerContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ │ void releaseContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ ├─.sheet.SpreadsheetViewPane
│ │ ├─.sheet.XCellRangeReferrer
│ │ │ .table.XCellRange getReferredCells()
│ │ ├─.sheet.XViewPane
│ │ │ long getFirstVisibleColumn()
│ │ │ long getFirstVisibleRow()
│ │ │ .table.CellRangeAddress getVisibleRange()
│ │ │ void setFirstVisibleColumn( [in] long nFirstVisibleColumn)
│ │ │ void setFirstVisibleRow( [in] long nFirstVisibleRow)
│ │ └─.view.XControlAccess
│ │ .awt.XControl getControl( [in] .awt.XControlModel xModel
│ │ ) raises ( .container.NoSuchElementException)
│ └─.sheet.SpreadsheetViewSettings
│ │ .util.Color GridColor
│ │ boolean HasColumnRowHeaders
│ │ boolean HasHorizontalScrollBar
│ │ boolean HasSheetTabs
│ │ boolean HasVerticalScrollBar
│ │ boolean HideSpellMarks
│ │ boolean IsOutlineSymbolsSet
│ │ boolean IsValueHighlightingEnabled
│ │ boolean ShowAnchor
│ │ short ShowCharts
│ │ short ShowDrawing
│ │ boolean ShowFormulas
│ │ boolean ShowGrid
│ │ boolean ShowHelpLines
│ │ boolean ShowNotes
│ │ short ShowObjects
│ │ boolean ShowPageBreaks
│ │ boolean ShowZeroValues
│ │ short ZoomType
│ │ short ZoomValue
│ └─.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.XController2
│ .awt.XWindow ComponentWindow
│ [.beans.PropertyValue] CreationArguments
│ string ViewControllerName
│ .ui.XSidebarProvider getSidebar()
├─.frame.XControllerBorder
│ void addBorderResizeListener( [in] .frame.XBorderResizeListener xListener)
│ .frame.BorderWidths getBorder()
│ .awt.Rectangle queryBorderedArea( [in] .awt.Rectangle aPreliminaryRectangle)
│ void removeBorderResizeListener( [in] .frame.XBorderResizeListener xListener)
├─.frame.XDispatchInformationProvider
│ [.frame.DispatchInformation] getConfigurableDispatchInformation( [in] short CommandGroup)
│ [short] getSupportedCommandGroups()
├─.frame.XTitle
│ string getTitle()
│ void setTitle( [in] string sTitle)
├─.frame.XTitleChangeBroadcaster
│ void addTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
│ void removeTitleChangeListener( [in] .frame.XTitleChangeListener xListener)
├─.lang.XInitialization
│ void initialize( [in] [any] aArguments
│ ) raises ( .uno.Exception)
├─.task.XStatusIndicatorSupplier
│ .task.XStatusIndicator getStatusIndicator()
├─.view.XFormLayerAccess
│ .form.runtime.XFormController getFormController( [in] .form.XForm Form)
│ boolean isFormDesignMode()
│ void setFormDesignMode( [in] boolean DesignMode)
└──(サービスやインターフェイスに属しないプロパティ)
boolean ColumnRowHeaders
boolean HorizontalScrollBar
boolean OutlineSymbols
boolean SheetTabs
boolean ValueHighlighting
boolean VerticalScrollBar
.awt.Rectangle VisibleArea
.awt.Rectangle VisibleAreaOnScreen
0 件のコメント:
コメントを投稿