Class: Layout::AutoTextDefinition
Relationships | |
Inherits: | Object |
Overview
References an auto-text definition. Some auto-text definitions are mandatory. Mandatory auto-text definitions may not be removed, added, or modified.
A mandatory AutoTextDefinition
is one of the following types:
Layout::AutoTextDefinition::TYPE_MODEL_GROUP_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_INSTANCE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DEFINITION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_VOLUME
Layout::AutoTextDefinition::TYPE_MODEL_FACE_AREA
Layout::AutoTextDefinition::TYPE_MODEL_EDGE_LENGTH
Layout::AutoTextDefinition::TYPE_MODEL_COORDINATES
Layout::AutoTextDefinition::TYPE_MODEL_DYNAMIC_COMPONENT_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_CLASSIFIER_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_SCALE
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_SYMBOL
Constant Summary
-
NUMBER_STYLE_ARABIC =
Constants
nil
-
NUMBER_STYLE_ARABIC_PADDED =
Stub value.
nil
-
NUMBER_STYLE_LC_ALPHA =
Stub value.
nil
-
NUMBER_STYLE_LC_ROMAN =
Stub value.
nil
-
NUMBER_STYLE_UC_ALPHA =
Stub value.
nil
-
NUMBER_STYLE_UC_ROMAN =
Stub value.
nil
-
SEQUENCE_TYPE_PER_DOCUMENT =
Stub value.
nil
-
SEQUENCE_TYPE_PER_PAGE =
Stub value.
nil
-
TYPE_CUSTOM_TEXT =
Stub value.
nil
-
TYPE_DATE_CREATED =
Stub value.
nil
-
TYPE_DATE_CURRENT =
Stub value.
nil
-
TYPE_DATE_MODIFIED =
Stub value.
nil
-
TYPE_DATE_PUBLISHED =
Stub value.
nil
-
TYPE_FILE =
Stub value.
nil
-
TYPE_MODEL_CLASSIFIER_ATTRIBUTE =
Stub value.
nil
-
TYPE_MODEL_COMPONENT_DEFINITION_ATTRIBUTE =
Stub value.
nil
-
TYPE_MODEL_COMPONENT_DEFINITION_NAME =
Stub value.
nil
-
TYPE_MODEL_COMPONENT_DESCRIPTION =
Stub value.
nil
-
TYPE_MODEL_COMPONENT_INSTANCE_ATTRIBUTE =
Stub value.
nil
-
TYPE_MODEL_COMPONENT_INSTANCE_NAME =
Stub value.
nil
-
TYPE_MODEL_COORDINATES =
Stub value.
nil
-
TYPE_MODEL_DYNAMIC_COMPONENT_ATTRIBUTE =
Stub value.
nil
-
TYPE_MODEL_EDGE_LENGTH =
Stub value.
nil
-
TYPE_MODEL_FACE_AREA =
Stub value.
nil
-
TYPE_MODEL_GROUP_NAME =
Stub value.
nil
-
TYPE_MODEL_RATIO =
Stub value.
nil
-
TYPE_MODEL_SCALE =
Stub value.
nil
-
TYPE_MODEL_SCENE_DESCRIPTION =
Stub value.
nil
-
TYPE_MODEL_SCENE_NAME =
Stub value.
nil
-
TYPE_MODEL_SECTION_NAME =
Stub value.
nil
-
TYPE_MODEL_SECTION_SYMBOL =
Stub value.
nil
-
TYPE_MODEL_VOLUME =
Stub value.
nil
-
TYPE_PAGE_COUNT =
Stub value.
nil
-
TYPE_PAGE_NAME =
Stub value.
nil
-
TYPE_PAGE_NUMBER =
Stub value.
nil
-
TYPE_SEQUENCE =
Stub value.
nil
Instance Attribute Summary
-
#custom_text ⇒ String
rw
The #custom_text method returns the custom text of the
Layout::AutoTextDefinition::TYPE_CUSTOM_TEXT
AutoTextDefinition
. -
#custom_text=(custom_text)
rw
The #custom_text method sets the custom text of the
Layout::AutoTextDefinition::TYPE_CUSTOM_TEXT
AutoTextDefinition
. -
#date_format ⇒ String
rw
The #date_format method returns the date format of a
Layout::AutoTextDefinition::TYPE_DATE_*
AutoTextDefinition
. -
#date_format=(date_format)
rw
The #date_format method sets the date format of a
Layout::AutoTextDefinition::TYPE_DATE_*
AutoTextDefinition
. -
#display_file_extension=(display_file_extension)
rw
The #display_file_extension= method sets whether the
Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the file extension. -
#display_file_extension? ⇒ Boolean
rw
The #display_file_extension? method returns whether the
Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the file extension. -
#display_full_path=(display_full_path)
rw
The #display_full_path= method sets whether the
Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the full path. -
#display_full_path? ⇒ Boolean
rw
The #display_full_path? method returns whether the
Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the full path. -
#end_page ⇒ Layout::Page?
rw
The #end_page method returns the end page for the
Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
. -
#end_page=(page)
rw
The #end_page= method sets the end page for the
Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
. -
#increment ⇒ Integer
rw
The #increment method returns the increment value for
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#increment=(increment)
rw
The #increment= method sets the increment value for
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#mandatory? ⇒ Boolean
readonly
The #mandatory? method returns whether the
AutoTextDefinition
is mandatory or not. -
#name ⇒ String
rw
The #name method returns the name of the
AutoTextDefinition
. -
#name=(name)
rw
The #name= method sets the name of the
AutoTextDefinition
. -
#number_style ⇒ Integer
rw
The #number_style method returns the numbering style for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
,Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, andLayout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#number_style=(number_style)
rw
The #number_style= method sets the numbering style for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
,Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, andLayout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#page_number_style ⇒ Integer
rw
deprecated
Deprecated.
LayOut 2022.0 This method is deprecated in favor of the more generic #number_style method that also works on
Layout::AutoTextDefintion::TYPE_PAGE_COUNT
andLayout::AutoTextDefintion::TYPE_SEQUENCE
AutoTextDefinition
s. -
#page_number_style=(number_style)
rw
deprecated
Deprecated.
LayOut 2022.0 This method is deprecated in favor of the more generic #number_style= method that also works on
Layout::AutoTextDefintion::TYPE_PAGE_COUNT
andLayout::AutoTextDefintion::TYPE_SEQUENCE
AutoTextDefinition
s. -
#sequence_format ⇒ String
rw
The #sequence_format method returns the sequence format of a
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
. -
#sequence_format=(sequence_format)
rw
The #sequence_format= method sets the sequence format of a
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
. -
#sequence_type ⇒ Integer
rw
The #sequence_type method returns how the
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
operates over multiple pages in a document. -
#sequence_type=(sequence_type)
rw
The #sequence_type= method sets how the
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
operates over multiple pages in a document. -
#start_index ⇒ Integer
rw
The #start_index method returns the start index for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
,Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, andLayout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#start_index=(index)
rw
The #start_index= method sets the start index for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
,Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, andLayout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s. -
#start_page ⇒ Layout::Page
rw
The #start_page method returns the start page for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
andLayout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
s. -
#start_page=(page)
rw
The #start_page= method sets the start page for
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
andLayout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
s.
Instance Method Summary
-
#==(other) ⇒ Boolean
The #== method checks to see if the two
AutoTextDefinition
s are equal. -
#renumber
The #renumber method iterates through all uses of the
Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
and eliminates gaps and duplicates in the sequence. -
#tag ⇒ String
The #tag method returns the tag string of the
AutoTextDefinition
. -
#type ⇒ Integer
The #type method returns the type of the
AutoTextDefinition
.
Instance Attribute Details
#custom_text ⇒ String (rw)
The #custom_text
method returns the custom text of the Layout::AutoTextDefinition::TYPE_CUSTOM_TEXT
AutoTextDefinition
.
#custom_text=(custom_text) (rw)
The #custom_text method sets the custom text of the Layout::AutoTextDefinition::TYPE_CUSTOM_TEXT
AutoTextDefinition
.
#date_format ⇒ String (rw)
The #date_format
method returns the date format of a Layout::AutoTextDefinition::TYPE_DATE_*
AutoTextDefinition
.
#date_format=(date_format) (rw)
The #date_format method sets the date format of a Layout::AutoTextDefinition::TYPE_DATE_*
AutoTextDefinition
.
#display_file_extension=(display_file_extension) (rw)
The #display_file_extension=
method sets whether the Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the file extension.
#display_file_extension? ⇒ Boolean
(rw)
The #display_file_extension?
method returns whether the Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the file extension.
#display_full_path=(display_full_path) (rw)
The #display_full_path=
method sets whether the Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the full path.
#display_full_path? ⇒ Boolean
(rw)
The #display_full_path?
method returns whether the Layout::AutoTextDefinition::TYPE_FILE
AutoTextDefinition
displays the full path.
#end_page ⇒ Layout::Page? (rw)
The #end_page
method returns the end page for the Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
.
#end_page=(page) (rw)
The #end_page=
method sets the end page for the Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
.
#increment ⇒ Integer
(rw)
The #increment
method returns the increment value for Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
#increment=(increment) (rw)
The #increment=
method sets the increment value for Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
#mandatory? ⇒ Boolean
(readonly)
The #mandatory?
method returns whether the AutoTextDefinition
is mandatory or not.
A mandatory AutoTextDefinition
is one of the following types:
Layout::AutoTextDefinition::TYPE_MODEL_GROUP_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_INSTANCE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DEFINITION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_VOLUME
Layout::AutoTextDefinition::TYPE_MODEL_FACE_AREA
Layout::AutoTextDefinition::TYPE_MODEL_EDGE_LENGTH
Layout::AutoTextDefinition::TYPE_MODEL_COORDINATES
Layout::AutoTextDefinition::TYPE_MODEL_DYNAMIC_COMPONENT_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_CLASSIFIER_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_SCALE
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_SYMBOL
#name ⇒ String (rw)
The #name
method returns the name of the AutoTextDefinition
.
#name=(name) (rw)
The #name=
method sets the name of the AutoTextDefinition
.
#number_style ⇒ Integer
(rw)
The #number_style
method returns the numbering style for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
, Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, and Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
The numbering style can be one of the following values:
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC_PADDED
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ROMAN
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ROMAN
#number_style=(number_style) (rw)
The #number_style=
method sets the numbering style for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
, Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, and Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
The numbering style can be one of the following values:
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC_PADDED
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ROMAN
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ROMAN
#page_number_style ⇒ Integer
(rw)
LayOut 2022.0 This method is deprecated in favor of the more generic #number_style method that also works on Layout::AutoTextDefintion::TYPE_PAGE_COUNT
and Layout::AutoTextDefintion::TYPE_SEQUENCE
AutoTextDefinition
s.
The #page_number_style
method returns the numbering style for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
AutoTextDefinition
s.
The numbering style can be one of the following values:
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC_PADDED
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ROMAN
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ROMAN
#page_number_style=(number_style) (rw)
LayOut 2022.0 This method is deprecated in favor of the more generic #number_style= method that also works on Layout::AutoTextDefintion::TYPE_PAGE_COUNT
and Layout::AutoTextDefintion::TYPE_SEQUENCE
AutoTextDefinition
s.
The #page_number_style=
method sets the numbering style for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
AutoTextDefinition
s.
The numbering style can be one of the following values:
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC
Layout::AutoTextDefinition::NUMBER_STYLE_ARABIC_PADDED
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ALPHA
Layout::AutoTextDefinition::NUMBER_STYLE_UC_ROMAN
Layout::AutoTextDefinition::NUMBER_STYLE_LC_ROMAN
#sequence_format ⇒ String (rw)
The #sequence_format
method returns the sequence format of a Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
.
#sequence_format=(sequence_format) (rw)
The #sequence_format=
method sets the sequence format of a Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
.
#sequence_type ⇒ Integer
(rw)
The #sequence_type
method returns how the Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
operates over multiple pages in a document.
The sequence type can be one of the following values:
Layout::AutoTextDefinition::SEQUENCE_TYPE_PER_DOCUMENT
Layout::AutoTextDefinition::SEQUENCE_TYPE_PER_PAGE
#sequence_type=(sequence_type) (rw)
The #sequence_type=
method sets how the Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
operates over multiple pages in a document.
The sequence type can be one of the following values:
Layout::AutoTextDefinition::SEQUENCE_TYPE_PER_DOCUMENT
Layout::AutoTextDefinition::SEQUENCE_TYPE_PER_PAGE
#start_index ⇒ Integer
(rw)
The #start_index
method returns the start index for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
, Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, and Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
#start_index=(index) (rw)
The #start_index=
method sets the start index for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
, Layout::AutoTextDefinition::TYPE_PAGE_COUNT
, and Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
s.
#start_page ⇒ Layout::Page (rw)
The #start_page
method returns the start page for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
and Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
s.
#start_page=(page) (rw)
The #start_page=
method sets the start page for Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
and Layout::AutoTextDefinition::TYPE_PAGE_COUNT
AutoTextDefinition
s.
Instance Method Details
#==(other) ⇒ Boolean
The #==
method checks to see if the two AutoTextDefinition
s are equal. This checks whether the Ruby Objects are pointing to the same internal object.
#renumber
The #renumber
method iterates through all uses of the Layout::AutoTextDefinition::TYPE_SEQUENCE
AutoTextDefinition
and eliminates gaps and duplicates in the sequence.
#tag ⇒ String
The #tag
method returns the tag string of the AutoTextDefinition
.
#type ⇒ Integer
The #type
method returns the type of the AutoTextDefinition
.
The type can be one of the following values:
Layout::AutoTextDefinition::TYPE_FILE
Layout::AutoTextDefinition::TYPE_PAGE_NAME
Layout::AutoTextDefinition::TYPE_PAGE_NUMBER
Layout::AutoTextDefinition::TYPE_CUSTOM_TEXT
Layout::AutoTextDefinition::TYPE_DATE_CURRENT
Layout::AutoTextDefinition::TYPE_DATE_CREATED
Layout::AutoTextDefinition::TYPE_DATE_MODIFIED
Layout::AutoTextDefinition::TYPE_DATE_PUBLISHED
Layout::AutoTextDefinition::TYPE_MODEL_GROUP_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_INSTANCE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DEFINITION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_COMPONENT_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_VOLUME
Layout::AutoTextDefinition::TYPE_MODEL_FACE_AREA
Layout::AutoTextDefinition::TYPE_MODEL_EDGE_LENGTH
Layout::AutoTextDefinition::TYPE_MODEL_COORDINATES
Layout::AutoTextDefinition::TYPE_MODEL_DYNAMIC_COMPONENT_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_CLASSIFIER_ATTRIBUTE
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SCENE_DESCRIPTION
Layout::AutoTextDefinition::TYPE_MODEL_SCALE
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_NAME
Layout::AutoTextDefinition::TYPE_MODEL_SECTION_SYMBOL
Layout::AutoTextDefinition::TYPE_PAGE_COUNT
Layout::AutoTextDefinition::TYPE_SEQUENCE