KiCad PCB EDA Suite
|
#include <cadstar_archive_parser.h>
Public Member Functions | |
void | ParseIdentifiers (XNODE *aNode, PARSER_CONTEXT *aContext) |
bool | ParseSubNode (XNODE *aChildNode, PARSER_CONTEXT *aContext) |
virtual void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
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. | |
ALIGNMENT | Alignment |
In CADSTAR The default alignment for a TEXT object (when "(No Alignment()" is selected) Bottom Left of the first line. | |
Definition at line 705 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Reimplemented in CADSTAR_ARCHIVE_PARSER::TEXT_LOCATION, CADSTAR_SCH_ARCHIVE_PARSER::PIN_NUM_LABEL_LOC, CADSTAR_SCH_ARCHIVE_PARSER::SIGNALREFERENCELINK, and CADSTAR_SCH_ARCHIVE_PARSER::SIGLOC.
Definition at line 1150 of file cadstar_archive_parser.cpp.
References XNODE::GetChildren(), XNODE::GetNext(), THROW_MISSING_NODE_IO_ERROR, THROW_UNKNOWN_NODE_IO_ERROR, and CADSTAR_ARCHIVE_PARSER::UNDEFINED_VALUE.
void CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::ParseIdentifiers | ( | XNODE * | aNode, |
PARSER_CONTEXT * | aContext | ||
) |
Definition at line 1118 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().
bool CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::ParseSubNode | ( | XNODE * | aChildNode, |
PARSER_CONTEXT * | aContext | ||
) |
Definition at line 1126 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::ParseAlignment(), and CADSTAR_ARCHIVE_PARSER::ParseJustification().
ALIGNMENT CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Alignment |
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 715 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_ARCHIVE_PARSER::TEXT_LOCATION::TEXT_LOCATION().
bool CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Fixed = false |
Definition at line 712 of file cadstar_archive_parser.h.
JUSTIFICATION CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Justification |
Note: Justification has no effect on single lines of text.
Definition at line 713 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().
LAYER_ID CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::LayerID |
Definition at line 708 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::addAttribute().
bool CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Mirror = false |
long CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::OrientAngle = 0 |
POINT CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::Position |
Definition at line 709 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().
TEXTCODE_ID CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION::TextCodeID |
Definition at line 707 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::loadSymdef().