Class ExportModal


  • public class ExportModal
    extends BaseModal
    Represents the Export modal.
    Since:
    10.9
    Version:
    $Id: fca3a77c6cb9c07fc8978a449e1c8c01b0216839 $
    • Constructor Detail

      • ExportModal

        public ExportModal()
        Default constructor.
    • Method Detail

      • open

        public static ExportModal open​(ViewPage viewPage)
        Opens the export modal for the given page.
        Parameters:
        viewPage - the page for which to open the export modal
        Returns:
        the export modal
        Since:
        14.10
      • getExportFormatSelect

        public XWikiSelectWidget getExportFormatSelect()
        Returns:
        the widget used to select the export format
        Since:
        14.10
      • exportAs

        public void exportAs​(String format)
        Select the specified export format.
        Parameters:
        format - the export format to select
        Since:
        14.10