MetadataBuilder

papyrus.DSL.builders.MetadataBuilder
See theMetadataBuilder companion object
case class MetadataBuilder(nameFile: String, extension: Extension, savingPath: String, language: Language, title: String, author: String, charset: Charset, styleSheet: StyleSheet, styleBuilder: MainStyleBuilder, modifiedFields: Set[Field]) extends Builder[Metadata]

Builds document metadata with constrained fields

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Metadata]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def author(value: String): MetadataBuilder
Extension method from MetadataBuilder

Sets author name

Sets author name

Attributes

override def build: Metadata

Attributes

Definition Classes
Extension method from MetadataBuilder

Sets charset ("utf-8", "iso-8859-1", "windows-1252")

Sets charset ("utf-8", "iso-8859-1", "windows-1252")

Attributes

Extension method from MetadataBuilder

Sets file extension ("html" or "pdf")

Sets file extension ("html" or "pdf")

Attributes

Extension method from MetadataBuilder

Sets language ("en", "it", "fr", "de", etc.)

Sets language ("en", "it", "fr", "de", etc.)

Attributes

def nameFile(value: String): MetadataBuilder
Extension method from MetadataBuilder

Sets filename

Sets filename

Attributes

def savingPath(value: String): MetadataBuilder
Extension method from MetadataBuilder

Sets absolute saving path

Sets absolute saving path

Attributes

Extension method from MetadataBuilder

Sets style parameters with another builder

Sets style parameters with another builder

Attributes

Extension method from MetadataBuilder

Sets stylesheet path (String ending with ".css"). Papyrus create a default stylesheet

Sets stylesheet path (String ending with ".css"). Papyrus create a default stylesheet

Attributes

def title(value: String): MetadataBuilder
Extension method from MetadataBuilder

Sets document title

Sets document title

Attributes

def withAuthor(value: String): MetadataBuilder
def withNameFile(value: String): MetadataBuilder
def withSavingPath(value: String): MetadataBuilder
def withTitle(value: String): MetadataBuilder

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product