#include <vpatternconverter.h>
Public Member Functions | |
VPatternConverter (const QString &fileName) | |
virtual | ~VPatternConverter () Q_DECL_EQ_DEFAULT |
Public Member Functions inherited from VAbstractConverter | |
VAbstractConverter (const QString &fileName) | |
virtual | ~VAbstractConverter () Q_DECL_EQ_DEFAULT |
QString | Convert () |
int | GetCurrentFormatVarsion () const |
QString | GetVersionStr () const |
Public Member Functions inherited from VDomDocument | |
VDomDocument () | |
virtual | ~VDomDocument () Q_DECL_EQ_DEFAULT |
QDomElement | elementById (quint32 id, const QString &tagName=QString()) |
template<typename T > | |
void | SetAttribute (QDomElement &domElement, const QString &name, const T &value) const |
SetAttribute set attribute in pattern file. Replace "," by ".". More... | |
Unit | MUnit () const |
virtual void | setXMLContent (const QString &fileName) |
virtual bool | SaveDocument (const QString &fileName, QString &error) |
QString | Major () const |
QString | Minor () const |
QString | Patch () const |
QDomNode | ParentNodeById (const quint32 &nodeId) |
QDomElement | CloneNodeById (const quint32 &nodeId) |
QDomElement | NodeById (const quint32 &nodeId) |
QVector< VLabelTemplateLine > | GetLabelTemplate (const QDomElement &element) const |
void | SetLabelTemplate (QDomElement &element, const QVector< VLabelTemplateLine > &lines) |
template<> | |
void | SetAttribute (QDomElement &domElement, const QString &name, const QString &value) const |
template<> | |
void | SetAttribute (QDomElement &domElement, const QString &name, const bool &value) const |
template<> | |
void | SetAttribute (QDomElement &domElement, const QString &name, const MeasurementsType &value) const |
Static Public Attributes | |
static const QString | PatternMaxVerStr = QStringLiteral("0.6.8") |
static const QString | CurrentSchema = QStringLiteral("://schema/pattern/v0.6.8.xsd") |
static Q_DECL_CONSTEXPR const int | PatternMinVer = (( 0 <<16)|( 1 <<8)|( 0 )) |
static Q_DECL_CONSTEXPR const int | PatternMaxVer = (( 0 <<16)|( 6 <<8)|( 8 )) |
Static Public Attributes inherited from VDomDocument | |
static const QString | AttrId = QStringLiteral("id") |
static const QString | AttrText = QStringLiteral("text") |
static const QString | AttrBold = QStringLiteral("bold") |
static const QString | AttrItalic = QStringLiteral("italic") |
static const QString | AttrAlignment = QStringLiteral("alignment") |
static const QString | AttrFSIncrement = QStringLiteral("sfIncrement") |
static const QString | TagVersion = QStringLiteral("version") |
static const QString | TagUnit = QStringLiteral("unit") |
static const QString | TagLine = QStringLiteral("line") |
Protected Member Functions | |
virtual int | MinVer () const Q_DECL_OVERRIDE |
virtual int | MaxVer () const Q_DECL_OVERRIDE |
virtual QString | MinVerStr () const Q_DECL_OVERRIDE |
virtual QString | MaxVerStr () const Q_DECL_OVERRIDE |
virtual QString | XSDSchema (int ver) const Q_DECL_OVERRIDE |
virtual void | ApplyPatches () Q_DECL_OVERRIDE |
virtual void | DowngradeToCurrentMaxVersion () Q_DECL_OVERRIDE |
virtual bool | IsReadOnly () const Q_DECL_OVERRIDE |
Protected Member Functions inherited from VAbstractConverter | |
void | ValidateInputFile (const QString ¤tSchema) const |
Q_NORETURN void | InvalidVersion (int ver) const |
void | Save () |
void | SetVersion (const QString &version) |
void | Replace (QString &formula, const QString &newName, int position, const QString &token, int &bias) const |
void | CorrectionsPositions (int position, int bias, QMap< int, QString > &tokens) const |
Protected Member Functions inherited from VDomDocument | |
bool | setTagText (const QString &tag, const QString &text) |
bool | setTagText (const QDomElement &domElement, const QString &text) |
QString | UniqueTagText (const QString &tagName, const QString &defVal=QString()) const |
void | TestUniqueId () const |
TestUniqueId test exist unique id in pattern file. Each id must be unique. More... | |
void | CollectId (const QDomElement &node, QVector< quint32 > &vector) const |
Private Member Functions | |
void | toVersion0_1_1 () |
void | toVersion0_1_2 () |
void | toVersion0_1_3 () |
void | toVersion0_1_4 () |
void | toVersion0_2_0 () |
void | toVersion0_2_1 () |
void | toVersion0_2_2 () |
void | toVersion0_2_3 () |
void | toVersion0_2_4 () |
void | toVersion0_2_5 () |
void | toVersion0_2_6 () |
void | toVersion0_2_7 () |
void | toVersion0_3_0 () |
void | toVersion0_3_1 () |
void | toVersion0_3_2 () |
void | toVersion0_3_3 () |
void | toVersion0_3_4 () |
void | toVersion0_3_5 () |
void | toVersion0_3_6 () |
void | toVersion0_3_7 () |
void | toVersion0_3_8 () |
void | toVersion0_3_9 () |
void | toVersion0_4_0 () |
void | toVersion0_4_1 () |
void | toVersion0_4_2 () |
void | toVersion0_4_3 () |
void | toVersion0_4_4 () |
void | toVersion0_4_5 () |
void | toVersion0_4_6 () |
void | toVersion0_4_7 () |
void | toVersion0_4_8 () |
void | toVersion0_5_0 () |
void | toVersion0_5_1 () |
void | toVersion0_6_0 () |
void | toVersion0_6_1 () |
void | toVersion0_6_2 () |
void | toVersion0_6_3 () |
void | toVersion0_6_4 () |
void | toVersion0_6_5 () |
void | toVersion0_6_6 () |
void | toVersion0_6_7 () |
void | toVersion0_6_8 () |
void | TagUnitToV0_2_0 () |
void | TagIncrementToV0_2_0 () |
void | ConvertMeasurementsToV0_2_0 () |
void | TagMeasurementsToV0_2_0 () |
void | ConvertMeasurementsToV0_2_1 () |
void | RemoveColorToolCutV0_3_1 () |
QSet< QString > | FixIncrementsToV0_2_0 () |
QString | FixIncrementInFormulaToV0_2_0 (const QString &formula, const QSet< QString > &names) |
void | FixPointExpressionsToV0_2_0 (const QSet< QString > &names) |
void | FixArcExpressionsToV0_2_0 (const QSet< QString > &names) |
void | FixPathPointExpressionsToV0_2_0 (const QSet< QString > &names) |
void | ConvertPointExpressionsToV0_2_0 (const QMap< QString, QString > &names) |
void | ConvertArcExpressionsToV0_2_0 (const QMap< QString, QString > &names) |
void | ConvertPathPointExpressionsToV0_2_0 (const QMap< QString, QString > &names) |
QString | FixMeasurementInFormulaToV0_2_0 (const QString &formula, const QMap< QString, QString > &names) |
QString | MUnitV0_1_4 () const |
QDomElement | TagMeasurementsV0_1_4 () const |
QDomElement | TagIncrementsV0_1_4 () const |
void | FixToolUnionToV0_2_4 () |
void | ParseModelingToV0_2_4 (const QDomElement &modeling) |
void | SaveChildrenToolUnionToV0_2_4 (quint32 id, const QVector< quint32 > &children) |
void | FixCutPoint () |
void | FixSubPaths (int i, quint32 id, quint32 baseCurve) |
void | TagRemoveAttributeTypeObjectInV0_4_0 () |
void | TagDetailToV0_4_0 () |
void | TagUnionDetailsToV0_4_0 () |
QDomElement | GetUnionDetailNodesV0_4_0 (const QDomElement &detail) |
QDomElement | GetUnionChildrenNodesV0_4_0 (const QDomElement &detail) |
void | LabelTagToV0_4_4 (const QString &tagName) |
QDomElement | AddTagPatternLabelV0_5_1 () |
void | PortPatternLabeltoV0_6_0 (QDomElement &label) |
void | AddLabelTemplateLineV0_6_0 (QDomElement &label, const QString &text, bool bold, bool italic, int alignment, int fontSizeIncrement) |
void | PortPieceLabelstoV0_6_0 () |
void | RemoveUnusedTagsV0_6_0 () |
void | RemoveUniqueTagV0_6_0 (const QString &tag) |
void | renameAttribute (QDomElement &element, const QString &oldName, const QString &newName, const QString &value) const |
Static Private Member Functions | |
static QMap< QString, QString > | OldNamesToNewNames_InV0_2_0 () |
static QMap< QString, QString > | OldNamesToNewNames_InV0_2_1 () |
Static Private Attributes | |
static const QString | PatternMinVerStr = QStringLiteral("0.1.0") |
Additional Inherited Members | |
Static Public Member Functions inherited from VAbstractConverter | |
static int | GetVersion (const QString &version) |
Static Public Member Functions inherited from VDomDocument | |
static quint32 | GetParametrUInt (const QDomElement &domElement, const QString &name, const QString &defValue) |
Returns the long long value of the given attribute. RENAME: GetParameterLongLong? More... | |
static bool | getParameterBool (const QDomElement &domElement, const QString &name, const QString &defValue) |
static NodeUsage | GetParametrUsage (const QDomElement &domElement, const QString &name) |
static void | SetParametrUsage (QDomElement &domElement, const QString &name, const NodeUsage &value) |
static QString | GetParametrString (const QDomElement &domElement, const QString &name, const QString &defValue=QString()) |
Returns the string value of the given attribute. RENAME: see above. More... | |
static QString | GetParametrEmptyString (const QDomElement &domElement, const QString &name) |
static qreal | GetParametrDouble (const QDomElement &domElement, const QString &name, const QString &defValue) |
Returns the double value of the given attribute. More... | |
static quint32 | getParameterId (const QDomElement &domElement) |
getParameterId return value id attribute. More... | |
static void | ValidateXML (const QString &schema, const QString &fileName) |
ValidateXML validate xml file by xsd schema. More... | |
static QString | UnitsHelpString () |
static void | RemoveAllChildren (QDomElement &domElement) |
RemoveAllChildren remove all children from file. More... | |
static bool | SafeCopy (const QString &source, const QString &destination, QString &error) |
Static Protected Member Functions inherited from VAbstractConverter | |
static void | BiasTokens (int position, int bias, QMap< int, QString > &tokens) |
Protected Attributes inherited from VAbstractConverter | |
int | m_ver |
QString | m_convertedFileName |
Definition at line 70 of file vpatternconverter.h.
|
explicit |
Definition at line 242 of file vpatternconverter.cpp.
|
virtual |
|
private |
Definition at line 2694 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VDomDocument::SetAttribute(), strAlignment, strBold, strFSIncrement, strItalic, strLine, and strText.
Referenced by PortPatternLabeltoV0_6_0(), and PortPieceLabelstoV0_6_0().
|
private |
Definition at line 2604 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, strAuthor, strCompanyName, strCustomerName, strDescription, strGradation, strImage, strNotes, strPatternLabel, strPatternName, strPatternNum, and strUnit.
Referenced by toVersion0_6_0().
|
protectedvirtual |
Implements VAbstractConverter.
Definition at line 348 of file vpatternconverter.cpp.
References VAbstractConverter::InvalidVersion(), VAbstractConverter::m_convertedFileName, VAbstractConverter::m_ver, toVersion0_1_1(), toVersion0_1_2(), toVersion0_1_3(), toVersion0_1_4(), toVersion0_2_0(), toVersion0_2_1(), toVersion0_2_2(), toVersion0_2_3(), toVersion0_2_4(), toVersion0_2_5(), toVersion0_2_6(), toVersion0_2_7(), toVersion0_3_0(), toVersion0_3_1(), toVersion0_3_2(), toVersion0_3_3(), toVersion0_3_4(), toVersion0_3_5(), toVersion0_3_6(), toVersion0_3_7(), toVersion0_3_8(), toVersion0_3_9(), toVersion0_4_0(), toVersion0_4_1(), toVersion0_4_2(), toVersion0_4_3(), toVersion0_4_4(), toVersion0_4_5(), toVersion0_4_6(), toVersion0_4_7(), toVersion0_4_8(), toVersion0_5_0(), toVersion0_5_1(), toVersion0_6_0(), toVersion0_6_1(), toVersion0_6_2(), toVersion0_6_3(), toVersion0_6_4(), toVersion0_6_5(), toVersion0_6_6(), toVersion0_6_7(), toVersion0_6_8(), V_FALLTHROUGH, VDomDocument::ValidateXML(), and XSDSchema().
|
private |
Definition at line 1648 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixMeasurementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle1, strAngle2, strArc, strLength, and strRadius.
Referenced by ConvertMeasurementsToV0_2_0(), and ConvertMeasurementsToV0_2_1().
|
private |
Definition at line 1361 of file vpatternconverter.cpp.
References ConvertArcExpressionsToV0_2_0(), CONVERTER_VERSION_CHECK, ConvertPathPointExpressionsToV0_2_0(), ConvertPointExpressionsToV0_2_0(), OldNamesToNewNames_InV0_2_0(), and PatternMinVer.
Referenced by toVersion0_2_0().
|
private |
Definition at line 1834 of file vpatternconverter.cpp.
References ConvertArcExpressionsToV0_2_0(), CONVERTER_VERSION_CHECK, ConvertPathPointExpressionsToV0_2_0(), ConvertPointExpressionsToV0_2_0(), OldNamesToNewNames_InV0_2_1(), and PatternMinVer.
Referenced by toVersion0_2_1().
|
private |
Definition at line 1703 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixMeasurementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle, strKAsm1, strKAsm2, and strPathPoint.
Referenced by ConvertMeasurementsToV0_2_0(), and ConvertMeasurementsToV0_2_1().
|
private |
Definition at line 1584 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixMeasurementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle, strC1Radius, strC2Radius, strCRadius, strLength, and strPoint.
Referenced by ConvertMeasurementsToV0_2_0(), and ConvertMeasurementsToV0_2_1().
|
protectedvirtual |
Implements VAbstractConverter.
Definition at line 529 of file vpatternconverter.cpp.
References PatternMaxVerStr, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
|
private |
Definition at line 1484 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixIncrementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle1, strAngle2, strArc, strLength, and strRadius.
Referenced by TagIncrementToV0_2_0().
|
private |
Definition at line 2200 of file vpatternconverter.cpp.
References FixSubPaths(), strArc, strCutArc, strCutSpline, strCutSplinePath, strId, strPoint, strSpline, strSplinePath, and strType.
Referenced by toVersion0_3_0().
|
private |
Definition at line 1782 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, VAbstractConverter::CorrectionsPositions(), qmu::QmuParserBase::GetTokens(), PatternMinVer, and VAbstractConverter::Replace().
Referenced by FixArcExpressionsToV0_2_0(), FixPathPointExpressionsToV0_2_0(), and FixPointExpressionsToV0_2_0().
|
private |
Definition at line 1374 of file vpatternconverter.cpp.
References VException::AddMoreInformation(), CONVERTER_VERSION_CHECK, VExceptionEmptyParameter::ErrorMessage(), VDomDocument::GetParametrString(), PatternMinVer, strBase, strFormula, strId, strIncrement, strKGrowth, strKSize, strName, and TagIncrementsV0_1_4().
Referenced by TagIncrementToV0_2_0().
|
private |
Definition at line 1748 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, VAbstractConverter::CorrectionsPositions(), PatternMinVer, and VAbstractConverter::Replace().
Referenced by ConvertArcExpressionsToV0_2_0(), ConvertPathPointExpressionsToV0_2_0(), and ConvertPointExpressionsToV0_2_0().
|
private |
Definition at line 1539 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixIncrementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle, strKAsm1, strKAsm2, and strPathPoint.
Referenced by TagIncrementToV0_2_0().
|
private |
Definition at line 1420 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixIncrementInFormulaToV0_2_0(), VDomDocument::GetParametrString(), PatternMinVer, strAngle, strC1Radius, strC2Radius, strCRadius, strLength, and strPoint.
Referenced by TagIncrementToV0_2_0().
|
private |
Definition at line 2244 of file vpatternconverter.cpp.
References strArc, strCurve, strCurve1, strCurve2, strCurveIntersectAxis, strCutSpline, strCutSplinePath, strFirstArc, strIdObject, strModeling, strModelingPath, strModelingSpline, strPoint, strPointFromArcAndTangent, strPointOfIntersectionArcs, strPointOfIntersectionCurves, strSecondArc, strSpline, strSplinePath, and strType.
Referenced by FixCutPoint().
|
private |
Definition at line 1925 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, ParseModelingToV0_2_4(), PatternMinVer, and strModeling.
Referenced by toVersion0_2_4().
|
private |
Definition at line 2530 of file vpatternconverter.cpp.
References strNodes.
Referenced by TagUnionDetailsToV0_4_0().
|
private |
Definition at line 2498 of file vpatternconverter.cpp.
References NULL_ID_STR, strIdObject, strNode, strNodes, strReverse, and strType.
Referenced by TagUnionDetailsToV0_4_0().
|
protectedvirtual |
Implements VAbstractConverter.
Definition at line 536 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, falseStr, VDomDocument::getParameterBool(), PatternMaxVer, and strReadOnly.
|
private |
Definition at line 2552 of file vpatternconverter.cpp.
References Cm, CONVERTER_VERSION_CHECK, FromPixel(), Inch, Mm, PatternMinVer, strHeight, strUnit, strWidth, and VDomDocument::UniqueTagText().
Referenced by toVersion0_4_4().
|
inlineprotectedvirtual |
Implements VAbstractConverter.
Definition at line 202 of file vpatternconverter.h.
References PatternMaxVer.
|
inlineprotectedvirtual |
Implements VAbstractConverter.
Definition at line 214 of file vpatternconverter.h.
References PatternMaxVerStr.
|
inlineprotectedvirtual |
Implements VAbstractConverter.
Definition at line 196 of file vpatternconverter.h.
References PatternMinVer.
|
inlineprotectedvirtual |
Implements VAbstractConverter.
Definition at line 208 of file vpatternconverter.h.
References PatternMinVerStr.
|
private |
Definition at line 1871 of file vpatternconverter.cpp.
References VException::AddMoreInformation(), CONVERTER_VERSION_CHECK, VExceptionEmptyParameter::ErrorMessage(), VDomDocument::GetParametrString(), PatternMinVer, strUnit, and TagMeasurementsV0_1_4().
Referenced by TagUnitToV0_2_0().
|
staticprivate |
Definition at line 2004 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, and PatternMinVer.
Referenced by ConvertMeasurementsToV0_2_0().
|
staticprivate |
Definition at line 2184 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, and PatternMinVer.
Referenced by ConvertMeasurementsToV0_2_1().
|
private |
Definition at line 1940 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, SaveChildrenToolUnionToV0_2_4(), strId, strIdObject, strIdTool, and strTools.
Referenced by FixToolUnionToV0_2_4().
|
private |
Definition at line 2642 of file vpatternconverter.cpp.
References AddLabelTemplateLineV0_6_0(), CONVERTER_VERSION_CHECK, PatternMinVer, strAuthor, strCompanyName, strCustomerName, strPatternName, strPatternNum, strShowDate, strShowMeasurements, strSize, trueStr, and VDomDocument::UniqueTagText().
Referenced by toVersion0_6_0().
|
private |
Definition at line 2713 of file vpatternconverter.cpp.
References AddLabelTemplateLineV0_6_0(), CONVERTER_VERSION_CHECK, VDomDocument::GetParametrString(), VDomDocument::GetParametrUInt(), PatternMinVer, strData, strLetter, strMaterial, strPlacement, and strUserDefined.
Referenced by toVersion0_6_0().
|
private |
Definition at line 1849 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, strColor, strCutArc, strCutSpline, strCutSplinePath, strPoint, and strType.
Referenced by toVersion0_3_1().
|
private |
Definition at line 2800 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, and PatternMinVer.
Referenced by RemoveUnusedTagsV0_6_0().
|
private |
Definition at line 2776 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, RemoveUniqueTagV0_6_0(), strAuthor, strData, strMCP, strShowDate, strShowMeasurements, and strSize.
Referenced by toVersion0_6_0().
|
private |
Definition at line 2868 of file vpatternconverter.cpp.
Referenced by toVersion0_6_5().
|
private |
Definition at line 1979 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, VDomDocument::elementById(), PatternMinVer, strChild, and strChildren.
Referenced by ParseModelingToV0_2_4().
|
private |
Definition at line 2412 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, NULL_ID_STR, PatternMinVer, VDomDocument::RemoveAllChildren(), strData, strDetail, strGrainline, strIdObject, strMx, strMy, strNode, strNodes, strPatternInfo, strReverse, strSeamAllowance, strSupplement, strType, and strVersion.
Referenced by toVersion0_4_0().
|
private |
Definition at line 1908 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, and strIncrements.
Referenced by FixIncrementsToV0_2_0().
|
private |
Definition at line 1347 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixArcExpressionsToV0_2_0(), FixIncrementsToV0_2_0(), FixPathPointExpressionsToV0_2_0(), FixPointExpressionsToV0_2_0(), and PatternMinVer.
Referenced by toVersion0_2_0().
|
private |
Definition at line 1816 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, VDomDocument::GetParametrString(), VAbstractConverter::m_convertedFileName, PatternMinVer, strPath, strType, strUnit, and TagMeasurementsV0_1_4().
Referenced by toVersion0_2_0().
|
private |
Definition at line 1891 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, and strMeasurements.
Referenced by MUnitV0_1_4(), and TagMeasurementsToV0_2_0().
|
private |
Definition at line 2382 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, strModeling, and strTypeObject.
Referenced by toVersion0_4_0().
|
private |
Definition at line 2817 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, GetUnionChildrenNodesV0_4_0(), GetUnionDetailNodesV0_4_0(), PatternMinVer, VDomDocument::RemoveAllChildren(), strChildren, strDet, and strTools.
Referenced by toVersion0_4_0().
|
private |
Definition at line 1332 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, MUnitV0_1_4(), PatternMinVer, strUnit, and strVersion.
Referenced by toVersion0_2_0().
|
private |
Definition at line 557 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 568 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 579 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 590 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 601 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, ConvertMeasurementsToV0_2_0(), PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), TagIncrementToV0_2_0(), TagMeasurementsToV0_2_0(), and TagUnitToV0_2_0().
Referenced by ApplyPatches().
|
private |
Definition at line 616 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, ConvertMeasurementsToV0_2_1(), PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 628 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 639 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 650 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixToolUnionToV0_2_4(), PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 662 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 673 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 684 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 695 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, FixCutPoint(), PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 709 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, RemoveColorToolCutV0_3_1(), VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 721 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 732 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 743 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 754 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 765 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 776 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 787 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 798 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 809 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), TagDetailToV0_4_0(), TagRemoveAttributeTypeObjectInV0_4_0(), and TagUnionDetailsToV0_4_0().
Referenced by ApplyPatches().
|
private |
Definition at line 823 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 834 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 845 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 856 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, LabelTagToV0_4_4(), PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), strData, and strPatternInfo.
Referenced by ApplyPatches().
|
private |
Definition at line 869 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 879 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 889 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 899 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 909 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 919 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 929 of file vpatternconverter.cpp.
References AddTagPatternLabelV0_5_1(), CONVERTER_VERSION_CHECK, PatternMinVer, PortPatternLabeltoV0_6_0(), PortPieceLabelstoV0_6_0(), RemoveUnusedTagsV0_6_0(), VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Replaces " passmarkLine" with "notchType"
Replaces " passmarkAngle" with "notchSubType"
Fixes incorrect name & value for lineType attribute
Fixes incorrect value for penStyle attribute
Definition at line 944 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, VDomDocument::map, PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), strArc, strElArc, strHair, strLine, strLineType, strNode, strNotch, strNotchAngle, strNotchCount, strNotchSubType, strNotchType, strOne, strPassmark, strPassmarkAngle, strPassmarkLine, strPath, strPenStyle, strPoint, strShowNotch, strShowSecond, strShowSecondPassmark, strSlitNotch, strSolidLine, strSpline, strT_Notch, strThree, strTMark, strTrue, strTwo, strTypeLine, strV_External, and strVMark.
Referenced by ApplyPatches().
|
private |
Definition at line 1080 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 1090 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 1100 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), strLineColor, strLineType, strLineWeight, strPoint, and strType.
Referenced by ApplyPatches().
|
private |
Definition at line 1129 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, renameAttribute(), VAbstractConverter::Save(), VAbstractConverter::SetVersion(), strAnchor, strAnchors, strBottomAnchor, strBottomPin, strBottomRightAnchor, strBottomRightPin, strCenterAnchor, strCenterPin, strData, strGrainline, strPatternInfo, strPin, strPins, strPoint, strTopAnchor, strTopLeftAnchor, strTopLeftPin, strTopPin, and strType.
Referenced by ApplyPatches().
|
private |
Definition at line 1243 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), VAbstractConverter::SetVersion(), strDetail, strDetails, strDraftBlock, strDraw, strPiece, strPieces, strTools, strType, and strUnion.
Referenced by ApplyPatches().
|
private |
Definition at line 1312 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
private |
Definition at line 1322 of file vpatternconverter.cpp.
References CONVERTER_VERSION_CHECK, PatternMinVer, VAbstractConverter::Save(), and VAbstractConverter::SetVersion().
Referenced by ApplyPatches().
|
protectedvirtual |
Implements VAbstractConverter.
Definition at line 249 of file vpatternconverter.cpp.
References CurrentSchema, and VAbstractConverter::InvalidVersion().
Referenced by ApplyPatches().
|
static |
Definition at line 78 of file vpatternconverter.h.
Referenced by XSDSchema().
|
static |
Definition at line 80 of file vpatternconverter.h.
Referenced by IsReadOnly(), MaxVer(), MainWindow::New(), MainWindow::Save(), and MainWindow::SaveAs().
|
static |
Definition at line 77 of file vpatternconverter.h.
Referenced by VPattern::CreateEmptyFile(), DowngradeToCurrentMaxVersion(), VAbstractPattern::GetVersion(), MaxVerStr(), MainWindow::New(), MainWindow::Save(), MainWindow::SaveAs(), and VAbstractPattern::SetVersion().
|
static |
Definition at line 79 of file vpatternconverter.h.
Referenced by AddLabelTemplateLineV0_6_0(), AddTagPatternLabelV0_5_1(), ConvertArcExpressionsToV0_2_0(), ConvertMeasurementsToV0_2_0(), ConvertMeasurementsToV0_2_1(), ConvertPathPointExpressionsToV0_2_0(), ConvertPointExpressionsToV0_2_0(), FixArcExpressionsToV0_2_0(), FixIncrementInFormulaToV0_2_0(), FixIncrementsToV0_2_0(), FixMeasurementInFormulaToV0_2_0(), FixPathPointExpressionsToV0_2_0(), FixPointExpressionsToV0_2_0(), FixToolUnionToV0_2_4(), LabelTagToV0_4_4(), MinVer(), MUnitV0_1_4(), OldNamesToNewNames_InV0_2_0(), OldNamesToNewNames_InV0_2_1(), ParseModelingToV0_2_4(), VPattern::parsePieceElement(), PortPatternLabeltoV0_6_0(), PortPieceLabelstoV0_6_0(), PatternPieceTool::RefreshDataInFile(), RemoveColorToolCutV0_3_1(), RemoveUniqueTagV0_6_0(), RemoveUnusedTagsV0_6_0(), SaveChildrenToolUnionToV0_2_4(), TagDetailToV0_4_0(), TagIncrementsV0_1_4(), TagIncrementToV0_2_0(), TagMeasurementsToV0_2_0(), TagMeasurementsV0_1_4(), TagRemoveAttributeTypeObjectInV0_4_0(), TagUnionDetailsToV0_4_0(), TagUnitToV0_2_0(), toVersion0_1_1(), toVersion0_1_2(), toVersion0_1_3(), toVersion0_1_4(), toVersion0_2_0(), toVersion0_2_1(), toVersion0_2_2(), toVersion0_2_3(), toVersion0_2_4(), toVersion0_2_5(), toVersion0_2_6(), toVersion0_2_7(), toVersion0_3_0(), toVersion0_3_1(), toVersion0_3_2(), toVersion0_3_3(), toVersion0_3_4(), toVersion0_3_5(), toVersion0_3_6(), toVersion0_3_7(), toVersion0_3_8(), toVersion0_3_9(), toVersion0_4_0(), toVersion0_4_1(), toVersion0_4_2(), toVersion0_4_3(), toVersion0_4_4(), toVersion0_4_5(), toVersion0_4_6(), toVersion0_4_7(), toVersion0_4_8(), toVersion0_5_0(), toVersion0_5_1(), toVersion0_6_0(), toVersion0_6_1(), toVersion0_6_2(), toVersion0_6_3(), toVersion0_6_4(), toVersion0_6_5(), toVersion0_6_6(), toVersion0_6_7(), toVersion0_6_8(), and QT_WARNING_POP::UpdateUnitedNodes().
|
staticprivate |
Definition at line 97 of file vpatternconverter.h.
Referenced by MinVerStr().