function OtherOptionsSettings(
      duplex, cssBackground, selectionOnly, headerFooter, rasterize) {
    print_preview.SettingsSection.call(this);
    /**
     * @private {boolean} rasterizeEnabled Whether the print as image feature is
     *     enabled.
     */
    this.rasterizeEnabled_ = !cr.isWindows && !cr.isMac;

    /**
     * @private {!Array<!CheckboxTicketItemElement>} checkbox ticket item
     *      elements representing the different options in the section.
     *      Selection only must always be the last element in the array.
     */
    this.elements_ = [
      new CheckboxTicketItemElement(
          headerFooter, true, 'header-footer-container'),
      new CheckboxTicketItemElement(duplex, false, 'duplex-container'),
      new CheckboxTicketItemElement(
          cssBackground, true, 'css-background-container'),
      new CheckboxTicketItemElement(
          selectionOnly, true, 'selection-only-container')
    ];
    if (this.rasterizeEnabled_) {
      this.elements_.splice(
          this.elements_.length - 1, 0,
          new CheckboxTicketItemElement(
              rasterize, true, 'rasterize-container'));
    }
  }
/**
   * UI component that renders checkboxes for various print options.
   * @param {!print_preview.ticket_items.Duplex} duplex Duplex ticket item.
   * @param {!print_preview.ticket_items.CssBackground} cssBackground CSS
   *     background ticket item.
   * @param {!print_preview.ticket_items.SelectionOnly} selectionOnly Selection
   *     only ticket item.
   * @param {!print_preview.ticket_items.HeaderFooter} headerFooter Header
   *     footer ticket item.
   * @param {!print_preview.ticket_items.Rasterize} rasterize Rasterize ticket
   *     item.
   * @constructor
   * @extends {print_preview.SettingsSection}
   */
UI component that renders checkboxes for various print options.
UI component that renders checkboxes for various print options .
function OtherOptionsSettings(
      duplex, cssBackground, selectionOnly, headerFooter, rasterize) {
    print_preview.SettingsSection.call(this);
    this.rasterizeEnabled_ = !cr.isWindows && !cr.isMac;
    this.elements_ = [
      new CheckboxTicketItemElement(
          headerFooter, true, 'header-footer-container'),
      new CheckboxTicketItemElement(duplex, false, 'duplex-container'),
      new CheckboxTicketItemElement(
          cssBackground, true, 'css-background-container'),
      new CheckboxTicketItemElement(
          selectionOnly, true, 'selection-only-container')
    ];
    if (this.rasterizeEnabled_) {
      this.elements_.splice(
          this.elements_.length - 1, 0,
          new CheckboxTicketItemElement(
              rasterize, true, 'rasterize-container'));
    }
  }
function OtherOptionsSettings ( duplex , cssBackground , selectionOnly , headerFooter , rasterize ) { print_preview . SettingsSection . call ( this ) ; this . rasterizeEnabled_ = ! cr . isWindows && ! cr . isMac ; this . elements_ = [ new CheckboxTicketItemElement ( headerFooter , true , 'header-footer-container' ) , new CheckboxTicketItemElement ( duplex , false , 'duplex-container' ) , new CheckboxTicketItemElement ( cssBackground , true , 'css-background-container' ) , new CheckboxTicketItemElement ( selectionOnly , true , 'selection-only-container' ) ] ; if ( this . rasterizeEnabled_ ) { this . elements_ . splice ( this . elements_ . length - 1 , 0 , new CheckboxTicketItemElement ( rasterize , true , 'rasterize-container' ) ) ; } }
UI component that renders checkboxes for various print options.
UI component that renders checkboxes for various print options .
/**
     * @private {boolean} rasterizeEnabled Whether the print as image feature is
     *     enabled.
     */ /**
     * @private {!Array<!CheckboxTicketItemElement>} checkbox ticket item
     *      elements representing the different options in the section.
     *      Selection only must always be the last element in the array.
     */