KiCad PCB EDA Suite
|
#include <cadstar_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext, bool aParseFields) |
Public Attributes | |
TEXT_ID | ID |
wxString | Text |
TEXTCODE_ID | TextCodeID |
LAYER_ID | LayerID |
POINT | Position |
long | OrientAngle = 0 |
bool | Mirror = false |
bool | Fixed = false |
SWAP_RULE | SwapRule = SWAP_RULE::BOTH |
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. | |
GROUP_ID | GroupID = wxEmptyString |
If not empty, this FIGURE is part of a group. | |
REUSEBLOCKREF | ReuseBlockRef |
Definition at line 916 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1654 of file cadstar_archive_parser.cpp.
Referenced by CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse(), and CADSTAR_ARCHIVE_PARSER::SYMDEF::ParseSubNode().
void CADSTAR_ARCHIVE_PARSER::TEXT::Parse | ( | XNODE * | aNode, |
PARSER_CONTEXT * | aContext, | ||
bool | aParseFields | ||
) |
Definition at line 1660 of file cadstar_archive_parser.cpp.
References XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, CADSTAR_ARCHIVE_PARSER::ParseAlignment(), CADSTAR_ARCHIVE_PARSER::ParseJustification(), CADSTAR_ARCHIVE_PARSER::ParseSwapRule(), CADSTAR_ARCHIVE_PARSER::ParseTextFields(), THROW_MISSING_NODE_IO_ERROR, and THROW_UNKNOWN_NODE_IO_ERROR.
ALIGNMENT CADSTAR_ARCHIVE_PARSER::TEXT::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 929 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
bool CADSTAR_ARCHIVE_PARSER::TEXT::Fixed = false |
Definition at line 925 of file cadstar_archive_parser.h.
GROUP_ID CADSTAR_ARCHIVE_PARSER::TEXT::GroupID = wxEmptyString |
If not empty, this FIGURE is part of a group.
Definition at line 934 of file cadstar_archive_parser.h.
TEXT_ID CADSTAR_ARCHIVE_PARSER::TEXT::ID |
Definition at line 918 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse(), and CADSTAR_ARCHIVE_PARSER::SYMDEF::ParseSubNode().
JUSTIFICATION CADSTAR_ARCHIVE_PARSER::TEXT::Justification |
Note: Justification has no effect on single lines of text.
Definition at line 927 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
LAYER_ID CADSTAR_ARCHIVE_PARSER::TEXT::LayerID |
Definition at line 921 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_PCB_ARCHIVE_LOADER::loadComponentLibrary(), and CADSTAR_SCH_ARCHIVE_LOADER::loadTexts().
bool CADSTAR_ARCHIVE_PARSER::TEXT::Mirror = false |
Definition at line 924 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
long CADSTAR_ARCHIVE_PARSER::TEXT::OrientAngle = 0 |
Definition at line 923 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
POINT CADSTAR_ARCHIVE_PARSER::TEXT::Position |
Definition at line 922 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
REUSEBLOCKREF CADSTAR_ARCHIVE_PARSER::TEXT::ReuseBlockRef |
Definition at line 935 of file cadstar_archive_parser.h.
SWAP_RULE CADSTAR_ARCHIVE_PARSER::TEXT::SwapRule = SWAP_RULE::BOTH |
Definition at line 926 of file cadstar_archive_parser.h.
wxString CADSTAR_ARCHIVE_PARSER::TEXT::Text |
Definition at line 919 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyDimensionSettings(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), CADSTAR_PCB_ARCHIVE_LOADER::loadDimensions(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
TEXTCODE_ID CADSTAR_ARCHIVE_PARSER::TEXT::TextCodeID |
Definition at line 920 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::applyDimensionSettings(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarText(), CADSTAR_SCH_ARCHIVE_LOADER::getKiCadSchText(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().