Interface AuthorAccess

    • Method Detail

      • getEditorAccess

        AuthorEditorAccess getEditorAccess()
        Get the author editor access providing editor related information.
        Returns:
        The editor related informations and actions provider. Cannot be null.
      • getDocumentController

        AuthorDocumentController getDocumentController()
        Returns the Author document controller. It has methods for changing the document model.
        Returns:
        The controller for Author document. Cannot be null.
      • getWorkspaceAccess

        AuthorWorkspaceAccess getWorkspaceAccess()
        Get the workspace access. Provides methods for obtaining workspace related informations and performing workspace specific actions.
        Returns:
        The workspace access provider. Cannot be null.
      • getUtilAccess

        AuthorUtilAccess getUtilAccess()
        Get the author access utility methods provider.
        Returns:
        The provider for utility methods. Cannot be null.
      • getXMLUtilAccess

        AuthorXMLUtilAccess getXMLUtilAccess()
        Get the author access utility methods provider.
        Returns:
        The provider for XML utility methods. Cannot be null.
      • getTableAccess

        AuthorTableAccess getTableAccess()
        Returns the author table access provider responsible for obtaining table related information and executing table actions.
        Returns:
        The table related information and actions provider. Cannot be null.
      • getReviewController

        AuthorReviewController getReviewController()
        Controller that can be used to toggle the change tracking state, modify the review highlight author name, the highlight painting or to obtain information about the properties used in the serialization and representation of the review highlight (author name, reviewer auto color or the current time stamp in a format identical to the one used by Oxygen for insert, delete and comment markers).
        Returns:
        The review controller. Cannot be null.
        Since:
        12
      • getOptionsStorage

        OptionsStorage getOptionsStorage()
        The object that manages the options stored for author extensions. This is also responsible for adding and removing listeners that are notified about the option changes.
        Returns:
        The object that manages the options stored for author extensions.
      • getOutlineAccess

        AuthorOutlineAccess getOutlineAccess()
        Get the author Outline access providing Outline related information.
        Returns:
        The Outline related informations and actions provider. Cannot be null.
      • getClassPathResourcesAccess

        ClassPathResourcesAccess getClassPathResourcesAccess()
        Get access to the list of resources the user has added to the classpath of the corresponding framework.
        Returns:
        access to the list of resources the user has added to the classpath of the corresponding framework.
        Since:
        12.1
      • getAuthorResourceBundle

        AuthorResourceBundle getAuthorResourceBundle()
        A message bundle that holds all the internationalized messages displayed in Oxygen frameworks for a language set in Preferences. It works as a map in which any message is accessed by a key defined in the ExtensionTags interface.
        Returns:
        The message bundle.
        Since:
        14
      • getElementByAnchor

        AuthorElement getElementByAnchor​(java.lang.String anchor)
        Get the author element identified by the given URL anchor. The syntax of the anchor is interpreted by the ElementLocatorProvider provided by the framework.
        Parameters:
        anchor - The anchor.
        Returns:
        The element identified by the anchor.
        Since:
        18.0
      • getCaretOffsetByAnchor

        int getCaretOffsetByAnchor​(java.lang.String anchor)
        Get the caret offset identified by the given URL anchor. The syntax of the anchor is interpreted by the ElementLocatorProvider provided by the framework or: "short;locationInfo\0pathItems\0isWhitespaceBefore\0tokenPosition\0chCount\0anchorsOnChangeTrackingPI" example: "short;chrysanthemum/section_anp_qrw_p1b /section[1]/p[3]/b[1] false 0 16 false"
        Parameters:
        anchor - The anchor.
        Returns:
        The caret offset identified by the anchor.
        Since:
        19.1