Page Object Selection callback functions

{
onPageObjectSelectionKeyDown: (clientData: LPVOIDType, doc: DocType, curSelectData: LPVOIDType, keyinfoData: string) => {
console.log('onPageObjectSelectionKeyDown', clientData, doc, curSelectData, keyinfoData);
}
}
interface PageObjectSelectionCallbacksType {
    onEditToolLButtonDown?: (clientData: LPVOIDType) => void;
    onPageObjectLButtonDblClk?: (clientData: LPVOIDType) => void;
    onPageObjectSelectionChanged?: (clientData: LPVOIDType) => void;
    onPageObjectSelectionKeyDown?: (
        clientData: LPVOIDType,
        doc: DocType,
        curSelectData: LPVOIDType,
        keyinfoData: string,
    ) => boolean;
    onPageObjectSelectionKeyUp?: (
        clientData: LPVOIDType,
        doc: DocType,
        curSelectData: LPVOIDType,
        keyinfoData: string,
    ) => boolean;
}

Properties

onEditToolLButtonDown?: (clientData: LPVOIDType) => void

Edit tool left button down event callback

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        The client data passed to the callback function.

      Returns void

onPageObjectLButtonDblClk?: (clientData: LPVOIDType) => void

Page object left button double click event callback

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        The client data passed to the callback function.

      Returns void

onPageObjectSelectionChanged?: (clientData: LPVOIDType) => void

Page object selection changed event callback

Type declaration

    • (clientData: LPVOIDType): void
    • Parameters

      • clientData: LPVOIDType

        The client data passed to the callback function.

      Returns void

onPageObjectSelectionKeyDown?: (
    clientData: LPVOIDType,
    doc: DocType,
    curSelectData: LPVOIDType,
    keyinfoData: string,
) => boolean

Page object selection key down event callback

Type declaration

    • (
          clientData: LPVOIDType,
          doc: DocType,
          curSelectData: LPVOIDType,
          keyinfoData: string,
      ): boolean
    • Parameters

      • clientData: LPVOIDType

        The client data passed to the callback function.

      • doc: DocType

        The document object.

      • curSelectData: LPVOIDType

        The current selection data.

      • keyinfoData: string

        The key information data.

      Returns boolean

      • Returns true if the event is handled, false otherwise.
onPageObjectSelectionKeyUp?: (
    clientData: LPVOIDType,
    doc: DocType,
    curSelectData: LPVOIDType,
    keyinfoData: string,
) => boolean

Page object selection key up event callback

Type declaration

    • (
          clientData: LPVOIDType,
          doc: DocType,
          curSelectData: LPVOIDType,
          keyinfoData: string,
      ): boolean
    • Parameters

      • clientData: LPVOIDType

        The client data passed to the callback function.

      • doc: DocType

        The document object.

      • curSelectData: LPVOIDType

        The current selection data.

      • keyinfoData: string

        The key information data.

      Returns boolean

      • Returns true if the event is handled, false otherwise.