layout-class {act} | R Documentation |
Layout object, defining the layout of print transcripts
Description
You can create an new layout object with methods::new("layout")
.
This will give you a new layout object with the default settings uses by act.
If you want to modify the layout of the print transcripts, create a new layout object with mylayout <- methods::new("layout")
, modify the values in the @slots
and pass it as argument l
to the respective functions.
Slots
name
Character string; Name of the layout.
filter.tier.includeRegEx
Character string; as regular expression, tiers matching the expression will be included in the print transcript.
filter.tier.excludeRegEx
Character string; as regular expression, tiers matching the expression will be excluded from the print transcript.
transcript.width
Integer; width of transcript, -1 for no line wrapping.
speaker.width
Integer; width of speaker abbreviation, -1 for full name without shortening.
speaker.ending
Character string; string that is added at the end of the speaker name.
spacesbefore
Integer; number of spaces inserted before line number.
additionalline1.insert
Logical; if
TRUE
an additional dummy line will be inserted after each annotation line, the text is defined in.additionalline1.text
.additionalline1.text
Character string; Content of additional dummy line 1.
additionalline1.indent
Logical; if
TRUE
the content of the dummy line 1 will be indented to begin where the content of the annotations start.additionalline2.insert
Logical; if
TRUE
an additional dummy line will be inserted after each annotation line, the text is defined in.additionalline2.text
.additionalline2.text
Character string; Content of additional dummy line 2.
additionalline2.indent
Logical; if
TRUE
the content of the dummy line 2 will be indented to begin where the content of the annotations start.brackets.tryToAlign
Logical; if
TRUE
act will try to align brackets [] for parallel speaking (Attention: experimental function; results may not satisfy).pauseTierRegEx
Character string; regular expression to identify pause tier for auto formatting pauses.
header.insert
Logical; if
TRUE
a transcript header is inserted.header.heading.fromColumnName
Character string; is only used when transcripts are made based on a search results; defines from which column of a search results table the heading is taken (if
object@.header.insert==TRUE
)header.firstInfo.fromColumnName
Character string; is only used when transcripts are made based on a search results; defines from which column of a search results table the first info is taken (if
object@.header.insert==TRUE
)arrow.insert
Logical; is only used when transcripts are made based on a search results; if
TRUE
an arrow will be inserted, highlighting the transcript line containing the search hit.arrow.shape
Character string; shape of the arrow.