@acrolinx/sidebar-interface
    Preparing search index...

    @acrolinx/sidebar-interface

    This document describes the interface of the Acrolinx Sidebar. Batch checking feature is only supported from sidebar version 15.0 and Core Platform version 2021.12.

    Let's understand how the typical bootstrapping of an integration and the Acrolinx Sidebar works:

    1. Load the host editor of your integration.

    2. Load your integration code.

    3. Register your integration as an AcrolinxPlugin.

    var acrolinxPlugin = {...}
    

    Check the AcrolinxPlugin interface for required methods, that you need to implement.

    1. Load the sidebar and the referenced libraries code (usually sidebar.js, libs.js, sidebar.css).

    2. Once the sidebar has finished loading it will request the integration to initialize by calling requestInit.

    3. The AcrolinxPlugin now must call init.

    4. Once the init process has finished, the plug-in will be notified: onInitFinished.

    5. If the user pushes the button "Check" or "Batch Check", requestGlobalCheck is called. In case of a batch check, the flag batchCheck in options is set to true.

    6. The acrolinxPlugin must call checkGlobal to perform a check. In case of a batch check, the acrolinxPlugin must call initBatchCheck with a list of document identifiers to be checked.

    7. When a regular check has finished, onCheckResult is called and the sidebar displays cards for the issues.

    8. If the user clicks a card after a regular check, selectRanges is called

    9. When the user selects a replacement after a regular check, replaceRanges is called.

    10. When a batch check is started, the sidebar will request the integration to initiate a check for each document identifier by calling requestCheckForDocumentInBatch.

    11. The acrolinxPlugin must then call checkDocumentInBatch to perform a check on a given document.

    12. If the user clicks a card after the batch check has started, openDocumentInEditor is called requesting acrolinxPlugin to open the document.

    For a minimal integration (not feature complete) you must implement requestInit, requestGlobalCheck, selectRanges and replaceRanges.

    Enumerations

    LogEntryType
    MessageType

    Interfaces

    AcrolinxPlugin
    AcrolinxSidebar
    AcrolinxStorage
    AugmentedExternalContent
    BatchCheckRequestOptions
    Check
    CheckedDocumentPart
    CheckInformationKeyValuePair
    CheckOptions
    CheckResult
    CheckSettings
    CsrfConfig
    DocumentSelection
    ExternalContent
    ExternalContentField
    ExternalContentMatch
    InitParameters
    InitResult
    LiveSearchResult
    LiveSuggestion
    LogEntry
    Match
    MatchLocation
    MatchWithReplacement
    Message
    OpenWindowParameters
    RequestGlobalCheckOptions
    SidebarConfiguration
    SidebarError
    SoftwareComponent

    Type Aliases

    CheckedDocumentRange
    DocumentRange
    InvalidDocumentPart
    UiMode

    Variables

    SoftwareComponentCategory