Oasys.REPORTER.Reporter class

Constants

Autotable source and row types

Reporter.AUTO_TABLE_DIRECTORY

Autotable data is generated from a directory

Reporter.AUTO_TABLE_FILE

Autotable data is generated from a file

Reporter.AUTO_TABLE_HEADER

Represents the header row in an Autotable

Reporter.AUTO_TABLE_ROWS

Represents the rows with generated data in an Autotable

Condition types

Reporter.CONDITION_BETWEEN

Treats the value as a number. True if value is between the two condition values

Reporter.CONDITION_CONTAINS_STRING

Treats the vlue as a string. True if the value contains the string

Reporter.CONDITION_DOESNT_CONTAIN_STRING

Treats the vlue as a string. True if the value does not contain the string

Reporter.CONDITION_DOESNT_MATCH_REGEX

Treats the value as a regular expression. True if the regular expression does not match

Reporter.CONDITION_EQUAL_TO

Treats the value as a string. True if the strings are equal

Reporter.CONDITION_GREATER_THAN

Treats the value as a number. True if value is greater than the condition value

Reporter.CONDITION_LESS_THAN

Treats the value as a number. True if value is less than the condition value

Reporter.CONDITION_MATCHES_REGEX

Treats the value as a regular expression. True if the regular expression matches

Reporter.CONDITION_NOT_BETWEEN

Treats the value as a number. True if value is between the two condition values

Reporter.CONDITION_NOT_EQUAL_TO

Treats the value as a string. True if the strings are not equal

Justification

Reporter.JUSTIFY_BOTTOM

Bottom justification of text

Reporter.JUSTIFY_CENTRE

Centre justification of text

Reporter.JUSTIFY_LEFT

Left justification of text

Reporter.JUSTIFY_MIDDLE

Middle justification of text

Reporter.JUSTIFY_RIGHT

Right justification of text

Reporter.JUSTIFY_TOP

Top justification of text

Line cap style

Reporter.CAP_FLAT

A square line ending at the end point of the line

Reporter.CAP_ROUND

A rounded line ending

Reporter.CAP_SQUARE

A square line that extends beyond the end point of the line by half the line width

Line join style

Reporter.JOIN_BEVEL

The triangular notch where the line segments meet is filled

Reporter.JOIN_MITRE

The outer edges of the line segments are extended to meet at an angle and this is filled

Reporter.JOIN_ROUND

A circular arc between the two line segments is filled

Line style

Reporter.LINE_DASH

A dashed line (dashes separated by a few pixels)

Reporter.LINE_DASH_DOT

A line drawn with alternate dashes and dots

Reporter.LINE_DASH_DOT_DOT

A line drawn with one dash and two dots

Reporter.LINE_DOT

A dotted line (dots separated by a few pixels)

Reporter.LINE_NONE

Invisible line

Reporter.LINE_SOLID

A simple continuous line

Text style

Reporter.TEXT_BOLD

Text drawn in a bold font

Reporter.TEXT_ITALIC

Text drawn in an italic font

Reporter.TEXT_NORMAL

Text drawn in a normal font

Reporter.TEXT_UNDERLINE

Text drawn underlined

View

Reporter.VIEW_DESIGN

Show template in design view

Reporter.VIEW_PRESENTATION

Show template in presentation view