前の関連記事:Calc(19)Calcコントローラのサービスとインターフェイス一覧
CalcコントローラとWriterコントローラとを比較したサービスとインターフェイス一覧
from com.sun.star.beans import PropertyValue def macro(): ctx = XSCRIPTCONTEXT.getComponentContext() # コンポーネントコンテクストの取得。 smgr = ctx.getServiceManager() # サービスマネージャーの取得。 tcu = smgr.createInstanceWithContext("pq.Tcu", ctx) # サービス名か実装名でインスタンス化。 doc = XSCRIPTCONTEXT.getDocument() # Calcドキュメント。 controller = doc.getCurrentController() # コントローラの取得。 prop = PropertyValue(Name="Hidden",Value=True) wdoc = XSCRIPTCONTEXT.getDesktop().loadComponentFromURL("private:factory/swriter", "_blank", 0, (prop,)) wcontroller = wdoc.getCurrentController() # Writerドキュメントのコントローラを取得。 tcu.wcompare(controller, wcontroller)object1はCalcコントローラ、object2はWriterコントローラを指します。
object1とobject2に共通するサービスとインターフェイス一覧
├─.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)
├─.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)
├─.datatransfer.XTransferableSupplier
│ .datatransfer.XTransferable getTransferable()
│ void insertTransferable( [in] .datatransfer.XTransferable xTrans
│ ) raises ( .datatransfer.UnsupportedFlavorException)
├─.frame.XController2
│ │ .awt.XWindow ComponentWindow
│ │ [.beans.PropertyValue] CreationArguments
│ │ string ViewControllerName
│ │ .ui.XSidebarProvider getSidebar()
│ └─.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.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.XDispatchProvider
│ .frame.XDispatch queryDispatch( [in] .util.URL URL,
│ [in] string TargetFrameName,
│ [in] long SearchFlags)
│ [.frame.XDispatch] queryDispatches( [in] [.frame.DispatchDescriptor] Requests)
├─.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()
├─.ui.XContextMenuInterception
│ void registerContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ void releaseContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
├─.view.XFormLayerAccess
│ │ .form.runtime.XFormController getFormController( [in] .form.XForm Form)
│ │ boolean isFormDesignMode()
│ │ void setFormDesignMode( [in] boolean DesignMode)
│ └─.view.XControlAccess
│ .awt.XControl getControl( [in] .awt.XControlModel xModel
│ ) raises ( .container.NoSuchElementException)
└─.view.XSelectionSupplier
void addSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
any getSelection()
void removeSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
boolean select( [in] any xSelection
) raises ( .lang.IllegalArgumentException)
object1だけがもつサービスとインターフェイス一覧
├─.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)
│ ├─.frame.Controller
│ ├─.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)
│ └─.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
└──(サービスやインターフェイスに属しないプロパティ)
boolean ColumnRowHeaders
boolean HorizontalScrollBar
boolean OutlineSymbols
boolean SheetTabs
boolean ValueHighlighting
boolean VerticalScrollBar
.awt.Rectangle VisibleArea
.awt.Rectangle VisibleAreaOnScreen
object2だけがもつサービスとインターフェイス一覧
├─.text.TextDocumentView
│ │ boolean IsConstantSpellcheck
│ │ boolean IsHideSpellMarks
│ │ long LineCount
│ │ long PageCount
│ ├─.text.XTextViewCursorSupplier
│ │ .text.XTextViewCursor getViewCursor()
│ ├─.view.XViewSettingsSupplier
│ │ .beans.XPropertySet getViewSettings()
│ └─.view.OfficeDocumentView
└─.text.XRubySelection
[.beans.PropertyValues] getRubyList( [in] boolean Automatic)
void setRubyList( [in] [.beans.PropertyValues] RubyList,
[in] boolean Automatic)
├─.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)
├─.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)
├─.datatransfer.XTransferableSupplier
│ .datatransfer.XTransferable getTransferable()
│ void insertTransferable( [in] .datatransfer.XTransferable xTrans
│ ) raises ( .datatransfer.UnsupportedFlavorException)
├─.frame.XController2
│ │ .awt.XWindow ComponentWindow
│ │ [.beans.PropertyValue] CreationArguments
│ │ string ViewControllerName
│ │ .ui.XSidebarProvider getSidebar()
│ └─.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.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.XDispatchProvider
│ .frame.XDispatch queryDispatch( [in] .util.URL URL,
│ [in] string TargetFrameName,
│ [in] long SearchFlags)
│ [.frame.XDispatch] queryDispatches( [in] [.frame.DispatchDescriptor] Requests)
├─.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()
├─.ui.XContextMenuInterception
│ void registerContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
│ void releaseContextMenuInterceptor( [in] .ui.XContextMenuInterceptor Interceptor)
├─.view.XFormLayerAccess
│ │ .form.runtime.XFormController getFormController( [in] .form.XForm Form)
│ │ boolean isFormDesignMode()
│ │ void setFormDesignMode( [in] boolean DesignMode)
│ └─.view.XControlAccess
│ .awt.XControl getControl( [in] .awt.XControlModel xModel
│ ) raises ( .container.NoSuchElementException)
└─.view.XSelectionSupplier
void addSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
any getSelection()
void removeSelectionChangeListener( [in] .view.XSelectionChangeListener xListener)
boolean select( [in] any xSelection
) raises ( .lang.IllegalArgumentException)
object1だけがもつサービスとインターフェイス一覧
├─.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)
│ ├─.frame.Controller
│ ├─.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)
│ └─.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
└──(サービスやインターフェイスに属しないプロパティ)
boolean ColumnRowHeaders
boolean HorizontalScrollBar
boolean OutlineSymbols
boolean SheetTabs
boolean ValueHighlighting
boolean VerticalScrollBar
.awt.Rectangle VisibleArea
.awt.Rectangle VisibleAreaOnScreen
object2だけがもつサービスとインターフェイス一覧
├─.text.TextDocumentView
│ │ boolean IsConstantSpellcheck
│ │ boolean IsHideSpellMarks
│ │ long LineCount
│ │ long PageCount
│ ├─.text.XTextViewCursorSupplier
│ │ .text.XTextViewCursor getViewCursor()
│ ├─.view.XViewSettingsSupplier
│ │ .beans.XPropertySet getViewSettings()
│ └─.view.OfficeDocumentView
└─.text.XRubySelection
[.beans.PropertyValues] getRubyList( [in] boolean Automatic)
void setRubyList( [in] [.beans.PropertyValues] RubyList,
[in] boolean Automatic)
0 件のコメント:
コメントを投稿