Package atessera.templ
Class PublicationTemplate.Section
java.lang.Object
atessera.templ.PublicationTemplate.Section
- Enclosing class:
PublicationTemplate
Represents a section within a publication.
Each section has a type (TEXT, IMAGE,
EQUATION, or LISTING) and associated content such
as text, an image name, a label, a caption, and a language hint
(for listings).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumerates the possible section types. -
Constructor Summary
ConstructorsConstructorDescriptionSection(PublicationTemplate.Section.Type type, String text, String imageName) Constructs a section with only type, text, and image name.Section(PublicationTemplate.Section.Type type, String text, String imageName, String label, String caption, String lang) Constructs a fully specified section. -
Method Summary
-
Constructor Details
-
Section
public Section(PublicationTemplate.Section.Type type, String text, String imageName, String label, String caption, String lang) Constructs a fully specified section.- Parameters:
type- the section type; must not benulltext- the section text (may benull)imageName- the image file name (may benull)label- the LaTeX label; will be escaped (may benull)caption- the section caption (may benull)lang- the language for listings; will be escaped (may benull)
-
Section
Constructs a section with only type, text, and image name.- Parameters:
type- the section type; must not benulltext- the section text (may benull)imageName- the image file name (may benull)
-
-
Method Details