pdfrx_web
    Preparing search index...

    Interface PdfrxStrings

    Every piece of user-facing text the built-in components render, so an app can translate the UI. Pass a partial override to PdfrxProvider / PdfrxViewerApp via their strings prop; anything you leave out falls back to defaultPdfrxStrings (English).

    const ja: Partial<PdfrxStrings> = {
    search: '検索',
    pagesTab: 'ページ',
    outlineTab: '目次',
    goToPage: (n) => `${n} ページへ`,
    };
    <PdfrxViewerApp src="/manual.pdf" strings={ja} />
    interface PdfrxStrings {
        addImage: string;
        addLink: string;
        addPages: string;
        alignBottom: string;
        alignCenter: string;
        alignLeft: string;
        alignMiddle: string;
        alignRight: string;
        alignTop: string;
        annotate: string;
        annotationNotePlaceholder: string;
        annotationTextPlaceholder: string;
        applyColor: string;
        applyLink: string;
        arrowTool: string;
        cancel: string;
        captureArea: string;
        clearSearch: string;
        clearSearchLabel: string;
        closeAnnotationToolbar: string;
        closeSearch: string;
        closeSidebar: string;
        collapse: string;
        colorCode: string;
        copy: string;
        customColor: string;
        deleteAnnotations: string;
        deletePage: string;
        dismissError: string;
        download: string;
        editLink: string;
        ellipseTool: string;
        enterFullscreen: string;
        enterPassword: string;
        exitFullscreen: string;
        expand: string;
        failedToImport: (fileName: string, message: string) => string;
        failedToOpen: (message: string) => string;
        fillColor: string;
        fitPage: string;
        fitWidth: string;
        goToPage: (pageNumber: number) => string;
        highlight: string;
        highlighterTool: string;
        hue: string;
        lineTool: string;
        linkTool: string;
        linkUrl: string;
        nextMatch: string;
        noFill: string;
        noOutline: string;
        noStroke: string;
        noteTool: string;
        objectSelection: string;
        opacity: string;
        openFile: string;
        otherColor: string;
        outlineTab: string;
        pageNumber: string;
        pagesTab: string;
        penTool: string;
        preparingToPrint: string;
        previousMatch: string;
        print: string;
        rectangleTool: string;
        redo: string;
        rotatePage: string;
        rotatePage180: string;
        rotatePageCounterclockwise: string;
        saturationBrightness: string;
        search: string;
        searchPlaceholder: string;
        selectAll: string;
        spreadEven: string;
        spreadNone: string;
        spreadOdd: string;
        squiggly: string;
        strikeout: string;
        strokeColor: string;
        textAlignment: string;
        textBoxTool: string;
        textColor: string;
        textMarkup: string;
        textMarkupOptions: string;
        textSelection: string;
        textSize: string;
        thickness: string;
        toggleSidebar: string;
        underline: string;
        undo: string;
        zoomIn: string;
        zoomOut: string;
        zoomToArea: string;
    }
    Index
    addImage: string

    Add an image annotation to the center of the current page.

    addLink: string

    Adds a link annotation over the selected text.

    addPages: string

    "Add pages" button at the end of the thumbnail strip (label + aria-label).

    alignBottom: string
    alignCenter: string
    alignLeft: string
    alignMiddle: string
    alignRight: string
    alignTop: string
    annotate: string
    annotationNotePlaceholder: string

    Placeholder shown while editing a sticky note.

    annotationTextPlaceholder: string

    Placeholder shown while editing text inside a box.

    applyColor: string
    applyLink: string
    arrowTool: string
    cancel: string
    captureArea: string
    clearSearch: string

    ✕ button title when it only clears the query.

    clearSearchLabel: string

    ✕ button aria-label when it only clears the query.

    closeAnnotationToolbar: string
    closeSearch: string

    ✕ button title + aria-label when it also dismisses the box.

    closeSidebar: string
    collapse: string
    colorCode: string
    copy: string
    customColor: string
    deleteAnnotations: string

    Delete the currently selected annotation objects.

    deletePage: string
    dismissError: string

    Error-banner dismiss button (title + aria-label).

    download: string
    editLink: string
    ellipseTool: string
    enterFullscreen: string
    enterPassword: string

    Message shown by the built-in window.prompt password provider when a document is encrypted (used by PdfrxViewerApp unless the app supplies its own passwordProvider).

    exitFullscreen: string
    expand: string
    failedToImport: (fileName: string, message: string) => string

    Error banner text when a file could not be imported as a page or image annotation.

    failedToOpen: (message: string) => string

    Error banner text; receives the error message.

    fillColor: string
    fitPage: string
    fitWidth: string
    goToPage: (pageNumber: number) => string

    Thumbnail button aria-label.

    highlight: string
    highlighterTool: string
    hue: string
    lineTool: string
    linkTool: string
    linkUrl: string
    nextMatch: string
    noFill: string
    noOutline: string

    Shown when the document has no outline (overridable per tree).

    noStroke: string
    noteTool: string
    objectSelection: string
    opacity: string
    openFile: string
    otherColor: string
    outlineTab: string
    pageNumber: string

    Page-navigation controls aria-label.

    pagesTab: string
    penTool: string
    preparingToPrint: string

    Print button while pages are being rasterized.

    previousMatch: string
    print: string

    Print button while idle.

    rectangleTool: string
    redo: string
    rotatePage: string
    rotatePage180: string
    rotatePageCounterclockwise: string
    saturationBrightness: string
    search: string

    Collapsed-search toggle button (title + aria-label).

    searchPlaceholder: string

    Default placeholder for the search field (overridable per box).

    selectAll: string
    spreadEven: string
    spreadNone: string
    spreadOdd: string
    squiggly: string
    strikeout: string
    strokeColor: string
    textAlignment: string
    textBoxTool: string
    textColor: string
    textMarkup: string
    textMarkupOptions: string
    textSelection: string
    textSize: string
    thickness: string
    toggleSidebar: string

    Sidebar toggle button (title + aria-label).

    underline: string
    undo: string
    zoomIn: string
    zoomOut: string
    zoomToArea: string