papyrus.DSL.builders

Members list

Type members

Classlikes

trait Builder[T]

Generic builder interface for constructing instances of type T

Generic builder interface for constructing instances of type T

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class CellBuilder[T](content: Option[T], head: Boolean, colspan: Int, rowspan: Int) extends Builder[Cell[T]]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Cell[T]]
class Object
trait Matchable
class Any
Show all
case class ContentBuilder(var title: Option[Title], layerElements: ListBuffer[LayerElement]) extends Builder[Content]

Builds the content section with an optional title and a list of elements

Builds the content section with an optional title and a list of elements

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Content]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
enum Field

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class ImageBuilder(src: String, alt: String, width: Option[Width], caption: Option[String], alignment: Option[Float]) extends Builder[Image]

Builder for creating an Image element

Builder for creating an Image element

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Image]
class Object
trait Matchable
class Any
Show all
object ImageBuilder

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ItemBuilder(value: String) extends ListElementBuilder

Builds a list item (only allowed inside Listing)

Builds a list item (only allowed inside Listing)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ItemBuilder

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Base builder for any LayerElement (e.g., text, image, title, section, etc.)

Base builder for any LayerElement (e.g., text, image, title, section, etc.)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class TableBuilder[T]

Represents a nestable list builder with optional sorting (only allowed inside Papyrus, Content, Section, SubSection and Listing)

Represents a nestable list builder with optional sorting (only allowed inside Papyrus, Content, Section, SubSection and Listing)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
case class ListBuilderImpl(items: List[ListElementBuilder], listType: ListType, order: Option[SortingList], reference: Option[String]) extends ListBuilder

Concrete implementation of ListBuilder with sorting and nesting

Concrete implementation of ListBuilder with sorting and nesting

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait ListBuilder
class Object
trait Matchable
class Any
Show all
class ListBuilderProxy(get: () => ListBuilder, set: ListBuilder => Unit) extends ListBuilder

Proxy for ListBuilder

Proxy for ListBuilder

Attributes

Supertypes
trait ListBuilder
class Object
trait Matchable
class Any
Show all

Base builder for list elements (either Listing or Item)

Base builder for list elements (either Listing or Item)

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Builder for constructing a MainStyle

Builder for constructing a MainStyle

Attributes

Supertypes
class Object
trait Matchable
class Any
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

Builds document metadata with constrained fields

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
class MetadataBuilderProxy(get: () => MetadataBuilder, set: MetadataBuilder => Unit) extends MetadataBuilder

Builds document metadata proxy

Builds document metadata proxy

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Metadata]
class Object
trait Matchable
class Any
Show all

Main builder for the entire Papyrus document

Main builder for the entire Papyrus document

Attributes

Supertypes
class Object
trait Matchable
class Any

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class RowBuilder[T](cells: ArrayBuffer[CellBuilder[T]]) extends Builder[Row[T]]

Builder for creating a row of cells in a table

Builder for creating a row of cells in a table

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Row[T]]
class Object
trait Matchable
class Any
Show all
object RowBuilder

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
RowBuilder.type
case class SectionBuilder(var title: Option[Title], layerElements: ListBuffer[LayerElement]) extends LayerElementBuilder

Builds a Section element (only allowed inside Papyrus or Content)

Builds a Section element (only allowed inside Papyrus or Content)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class SubSectionBuilder(var title: Option[Title], layerElements: ListBuffer[LayerElement]) extends Builder[SubSection]

Builds a SubSection element (only allowed inside Section)

Builds a SubSection element (only allowed inside Section)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Builder for constructing a styled table with rows and custom rendering

Builder for constructing a styled table with rows and custom rendering

Attributes

Supertypes
class Object
trait Matchable
class Any
case class TextBuilder(value: String, color: ColorString, fontWeight: FontWeight, fontStyle: FontStyle, textDecoration: TextDecoration) extends Builder[Text]

Builds styled text elements for Papyrus document

Builds styled text elements for Papyrus document

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Text]
class Object
trait Matchable
class Any
Show all
object TextBuilder

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class TitleBuilder(title: String, level: Level, font: FontFamily, fontSize: FontSize, textColor: ColorString, textAlign: Alignment) extends Builder[Title]

Builds styled title elements for Papyrus document

Builds styled title elements for Papyrus document

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Builder[Title]
class Object
trait Matchable
class Any
Show all
object TitleBuilder

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type