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

2017-10-09

旧ブログ

t f B! P L
TCUでCalcドキュメントを出力した結果です。単なる自分用のメモです。TCUの仕様のためサービス、インターフェイス、例外、Struct以外へのアンカーはURLが間違っています。例えばenumとかtypeddefへのアンカーをクリックしてもnot Foundになってしまいます。

前の関連記事:Calc(4)SDKのJavaの例を実行してみる


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

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

├─.sheet.SpreadsheetDocument
│   │        .sheet.XAreaLinks  AreaLinks
│   │      .sheet.XLabelRanges  ColumnLabelRanges
│   │   .container.XNameAccess  DDELinks
│   │   .sheet.XDatabaseRanges  DatabaseRanges
│   │      .sheet.XNamedRanges  NamedRanges
│   │      .sheet.XLabelRanges  RowLabelRanges
│   │   .container.XNameAccess  SheetLinks
│   ├─.document.XActionLockable
│   │        void  addActionLock()
│   │     boolean  isActionLocked()
│   │        void  removeActionLock()
│   │       short  resetActionLocks()
│   │        void  setActionLocks( [in] short nLock)
│   ├─.document.XLinkTargetSupplier
│   │     .container.XNameAccess  getLinks()
│   ├─.drawing.XDrawPagesSupplier
│   │     .drawing.XDrawPages  getDrawPages()
│   ├─.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)
│   ├─.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()
│   ├─.sheet.XCalculatable
│   │        void  calculate()
│   │        void  calculateAll()
│   │        void  enableAutomaticCalculation( [in] boolean bEnabled)
│   │     boolean  isAutomaticCalculationEnabled()
│   ├─.sheet.XConsolidatable
│   │                                void  consolidate( [in] .sheet.XConsolidationDescriptor xDescriptor)
│   │     .sheet.XConsolidationDescriptor  createConsolidationDescriptor( [in] boolean bEmpty)
│   ├─.sheet.XDocumentAuditing
│   │     void  refreshArrows()
│   ├─.sheet.XGoalSeek
│   │     .sheet.GoalResult  seekGoal( [in] .table.CellAddress aFormulaPosition,
│   │                                  [in] .table.CellAddress aVariablePosition,
│   │                                  [in]             string aGoalValue)
│   ├─.sheet.XSpreadsheetDocument
│   │     .sheet.XSpreadsheets  getSheets()
│   ├─.style.XStyleFamiliesSupplier
│   │     .container.XNameAccess  getStyleFamilies()
│   ├─.util.XNumberFormatsSupplier
│   │      .beans.XPropertySet  getNumberFormatSettings()
│   │     .util.XNumberFormats  getNumberFormats()
│   ├─.util.XProtectable
│   │     boolean  isProtected()
│   │        void  protect( [in] string aPassword)
│   │        void  unprotect( [in] string aPassword
│   │              ) raises ( .lang.IllegalArgumentException)
│   ├─.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)
│   └─.sheet.SpreadsheetDocumentSettings
│     │                      boolean  CalcAsShown
│     │                 .lang.Locale  CharLocale
│     │                 .lang.Locale  CharLocaleAsian
│     │                 .lang.Locale  CharLocaleComplex
│     │                        short  DefaultTabStop
│     │   .i18n.XForbiddenCharacters  ForbiddenCharacters
│     │                      boolean  HasDrawPages
│     │                      boolean  IgnoreCase
│     │                      boolean  IsAdjustHeightEnabled
│     │                      boolean  IsExecuteLinkEnabled
│     │                      boolean  IsIterationEnabled
│     │                      boolean  IsLoaded
│     │                      boolean  IsRecordChangesProtected
│     │                      boolean  IsUndoEnabled
│     │                         long  IterationCount
│     │                       double  IterationEpsilon
│     │                      boolean  LookUpLabels
│     │                      boolean  MatchWholeCell
│     │                   .util.Date  NullDate
│     │                      boolean  RecordChanges
│     │                 .awt.XDevice  ReferenceDevice
│     │                      boolean  RegularExpressions
│     │                      boolean  SpellOnline
│     │                        short  StandardDecimals
│     │                      boolean  Wildcards
│     └─.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)
├─.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.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.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)
├─.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()
├─.sheet.opencl.XOpenCLSelection
│                               void  disableAutomaticDeviceSelection()
│                               void  disableOpcodeSubsetTest()
│                               void  enableAutomaticDeviceSelection( [in] boolean force)
│                               void  enableOpcodeSubsetTest()
│                               void  enableOpenCL( [in] boolean enable)
│                               long  getDeviceID()
│                               long  getFormulaCellNumberLimit()
│     [.sheet.opencl.OpenCLPlatform]  getOpenCLPlatforms()
│                               long  getPlatformID()
│                            boolean  isOpcodeSubsetTested()
│                            boolean  isOpenCLEnabled()
│                               void  selectOpenCLDevice( [in] long platform,
│                                                         [in] long device)
│                               void  setFormulaCellNumberLimit( [in] long number)
├─.ui.XUIConfigurationManagerSupplier
│     .ui.XUIConfigurationManager  getUIConfigurationManager()
├─.util.XChangesNotifier
│     void  addChangesListener( [in] .util.XChangesListener aListener)
│     void  removeChangesListener( [in] .util.XChangesListener aListener)
├─.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.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)
└──(サービスやインターフェイスに属しないプロパティ)
                       string  BuildId
                       string  CodeName
     .sheet.XExternalDocLinks  ExternalDocLinks
                      boolean  HasValidSignatures
                      boolean  IsChangeReadOnlyEnabled
                       string  VBAGlobalConstantName

次の関連記事:Calc(6)シートのサービスとインターフェイス一覧

ブログ検索 by Blogger

Translate

最近のコメント

Created by Calendar Gadget

QooQ