Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/LibreOffice/include/comphelper/     Datei vom 5.10.2025 mit Größe 27 kB image not shown  

Impressum PrintingParent.sys.mjs  Sprache: unbekannt

 
Spracherkennung für: .mjs vermutete Sprache: Masm {Masm[76] ABAP[72] Delphi[52]} [Methode: maximale Elemente, drei Dimensionen]

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

export class PrintingParent extends JSWindowActorParent {
  receiveMessage(message) {
    let browser = this.browsingContext.top.embedderElement;

    if (message.name == "Printing:Error") {
      browser.documentGlobal.PrintUtils._displayPrintingError(
        message.data.nsresult,
        message.data.isPrinting,
        browser
      );
    } else if (message.name == "Printing:Preview:CurrentPage") {
      browser.setAttribute("current-page", message.data.currentPage);
    }

    return undefined;
  }
}

[Seitenstruktur0.117Druckenetwas mehr zur Ethik2026-10-20]