Package io.vertigo.quarto.exporter.model
Class ExportBuilder
- java.lang.Object
-
- io.vertigo.quarto.exporter.model.ExportBuilder
-
-
Constructor Summary
Constructors Constructor Description ExportBuilder(ExportFormat format, String fileName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportSheetBuilder
beginSheet(io.vertigo.datamodel.structure.model.DtList<?> dtc, String title)
ExportSheetBuilder
beginSheet(io.vertigo.datamodel.structure.model.DtObject dto, String title)
Export
build()
ExportBuilder
withAuthor(String author)
ExportBuilder
withOrientation(Export.Orientation orientation)
ExportBuilder
withTitle(String title)
-
-
-
Constructor Detail
-
ExportBuilder
public ExportBuilder(ExportFormat format, String fileName)
Constructor.- Parameters:
format
- type du format de sortie. Ceci configurera le Handler de traitement de l'editionfileName
- nom du fichier de sortie.
-
-
Method Detail
-
withTitle
public ExportBuilder withTitle(String title)
- Parameters:
title
- Titre du document (Facultatif)
-
withAuthor
public ExportBuilder withAuthor(String author)
- Parameters:
author
- Auteur du document (Facultatif)
-
withOrientation
public ExportBuilder withOrientation(Export.Orientation orientation)
- Parameters:
orientation
- Orientation du document (Facultatif, mode portrait par défaut)
-
beginSheet
public ExportSheetBuilder beginSheet(io.vertigo.datamodel.structure.model.DtObject dto, String title)
- Parameters:
dto
- DTO à exportertitle
- Titre de l'objet- Returns:
- Parametre d'export pour une donnée de type DtObject
-
beginSheet
public ExportSheetBuilder beginSheet(io.vertigo.datamodel.structure.model.DtList<?> dtc, String title)
- Parameters:
dtc
- DTC à exportertitle
- Titre de la liste- Returns:
- Parametre d'export pour une donnée de type DtList
-
-