![]() |
KiCad PCB EDA Suite
|
Corresponds to CADSTAR "origin". More...
#include <cadstar_archive_parser.h>
Public Member Functions | |
TEXT_LOCATION () | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
void | ParseIdentifiers (XNODE *aNode, PARSER_CONTEXT *aContext) |
bool | ParseSubNode (XNODE *aChildNode, PARSER_CONTEXT *aContext) |
Public Attributes | |
ATTRIBUTE_ID | AttributeID |
TEXTCODE_ID | TextCodeID |
LAYER_ID | LayerID |
POINT | Position |
long | OrientAngle = 0 |
bool | Mirror = false |
bool | Fixed = false |
JUSTIFICATION | Justification |
Note: Justification has no effect on single lines of text. More... | |
ALIGNMENT | Alignment |
In CADSTAR The default alignment for a TEXT object (when "(No Alignment()" is selected) Bottom Left of the first line. More... | |
Corresponds to CADSTAR "origin".
This is used for setting a location of an attribute e.g. Designator (called Component Name in CADSTAR), Part Name (name of component in the library), etc. The atom identifier is "TEXTLOC"
Definition at line 754 of file cadstar_archive_parser.h.
|
inline |
Definition at line 756 of file cadstar_archive_parser.h.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Alignment, and CADSTAR_ARCHIVE_PARSER::BOTTOMLEFT.
|
overridevirtual |
Reimplemented from CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION.
Definition at line 1211 of file cadstar_archive_parser.cpp.
References COMPONENT_NAME_2_ATTRID, COMPONENT_NAME_ATTRID, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), LINK_ORIGIN_ATTRID, CADSTAR_ARCHIVE_PARSER::ParseAlignment(), CADSTAR_ARCHIVE_PARSER::ParseJustification(), PART_NAME_ATTRID, SIGNALNAME_ORIGIN_ATTRID, SYMBOL_NAME_ATTRID, THROW_MISSING_NODE_IO_ERROR, THROW_UNKNOWN_NODE_IO_ERROR, and THROW_UNKNOWN_PARAMETER_IO_ERROR.
Referenced by CADSTAR_ARCHIVE_PARSER::SYMDEF::ParseSubNode().
|
inherited |
Definition at line 1005 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().
|
inherited |
Definition at line 1013 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::ParseAlignment(), and CADSTAR_ARCHIVE_PARSER::ParseJustification().
|
inherited |
In CADSTAR The default alignment for a TEXT object (when "(No Alignment()" is selected) Bottom Left of the first line.
Note that this is different from BOTTOM_LEFT (which is bottom left of the whole text block)
Definition at line 679 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::applyToLibraryFieldAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute(), and TEXT_LOCATION().
ATTRIBUTE_ID CADSTAR_ARCHIVE_PARSER::TEXT_LOCATION::AttributeID |
Definition at line 762 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponentAttributes(), and CADSTAR_ARCHIVE_PARSER::SYMDEF::ParseSubNode().
|
inherited |
Definition at line 676 of file cadstar_archive_parser.h.
|
inherited |
Note: Justification has no effect on single lines of text.
Definition at line 677 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::applyToLibraryFieldAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute().
|
inherited |
Definition at line 672 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute().
|
inherited |
|
inherited |
|
inherited |
Definition at line 673 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::applyToLibraryFieldAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute().
|
inherited |
Definition at line 671 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::applyToLibraryFieldAttribute(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolFieldAttribute(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymDefIntoLibrary().