53 #ifndef VPATTERNCONVERTER_H
54 #define VPATTERNCONVERTER_H
56 #include <qcompilerdetection.h>
57 #include <QCoreApplication>
58 #include <QDomElement>
62 #include <QStringList>
83 virtual
int MinVer() const Q_DECL_OVERRIDE;
84 virtual
int MaxVer() const Q_DECL_OVERRIDE;
86 virtual QString
MinVerStr() const Q_DECL_OVERRIDE;
87 virtual QString
MaxVerStr() const Q_DECL_OVERRIDE;
89 virtual QString
XSDSchema(
int ver) const Q_DECL_OVERRIDE;
93 virtual
bool IsReadOnly() const Q_DECL_OVERRIDE;
174 void FixSubPaths(
int i, quint32
id, quint32 baseCurve);
187 bool italic,
int alignment,
int fontSizeIncrement);
192 const QString &newName, const QString &value) const;
static const QString CurrentSchema
virtual int MaxVer() const Q_DECL_OVERRIDE
static const QString PatternMinVerStr
void ConvertMeasurementsToV0_2_1()
void ConvertArcExpressionsToV0_2_0(const QMap< QString, QString > &names)
virtual QString MinVerStr() const Q_DECL_OVERRIDE
void TagMeasurementsToV0_2_0()
void RemoveUniqueTagV0_6_0(const QString &tag)
VPatternConverter(const QString &fileName)
QDomElement AddTagPatternLabelV0_5_1()
void TagRemoveAttributeTypeObjectInV0_4_0()
QDomElement GetUnionChildrenNodesV0_4_0(const QDomElement &detail)
QDomElement GetUnionDetailNodesV0_4_0(const QDomElement &detail)
void FixSubPaths(int i, quint32 id, quint32 baseCurve)
static const QString PatternMaxVerStr
virtual ~VPatternConverter() Q_DECL_EQ_DEFAULT
void FixArcExpressionsToV0_2_0(const QSet< QString > &names)
void LabelTagToV0_4_4(const QString &tagName)
void ConvertPointExpressionsToV0_2_0(const QMap< QString, QString > &names)
void RemoveColorToolCutV0_3_1()
virtual QString MaxVerStr() const Q_DECL_OVERRIDE
void ConvertMeasurementsToV0_2_0()
void SaveChildrenToolUnionToV0_2_4(quint32 id, const QVector< quint32 > &children)
void FixToolUnionToV0_2_4()
virtual void DowngradeToCurrentMaxVersion() Q_DECL_OVERRIDE
QString FixMeasurementInFormulaToV0_2_0(const QString &formula, const QMap< QString, QString > &names)
QDomElement TagMeasurementsV0_1_4() const
void PortPieceLabelstoV0_6_0()
void PortPatternLabeltoV0_6_0(QDomElement &label)
QSet< QString > FixIncrementsToV0_2_0()
void RemoveUnusedTagsV0_6_0()
void renameAttribute(QDomElement &element, const QString &oldName, const QString &newName, const QString &value) const
static QMap< QString, QString > OldNamesToNewNames_InV0_2_0()
virtual void ApplyPatches() Q_DECL_OVERRIDE
QString MUnitV0_1_4() const
static QMap< QString, QString > OldNamesToNewNames_InV0_2_1()
void TagUnionDetailsToV0_4_0()
void FixPathPointExpressionsToV0_2_0(const QSet< QString > &names)
virtual QString XSDSchema(int ver) const Q_DECL_OVERRIDE
static Q_DECL_CONSTEXPR const int PatternMinVer
static Q_DECL_CONSTEXPR const int PatternMaxVer
void FixPointExpressionsToV0_2_0(const QSet< QString > &names)
QString FixIncrementInFormulaToV0_2_0(const QString &formula, const QSet< QString > &names)
void AddLabelTemplateLineV0_6_0(QDomElement &label, const QString &text, bool bold, bool italic, int alignment, int fontSizeIncrement)
virtual int MinVer() const Q_DECL_OVERRIDE
virtual bool IsReadOnly() const Q_DECL_OVERRIDE
void ParseModelingToV0_2_4(const QDomElement &modeling)
void ConvertPathPointExpressionsToV0_2_0(const QMap< QString, QString > &names)
void TagIncrementToV0_2_0()
QDomElement TagIncrementsV0_1_4() const
#define CONVERTER_VERSION_CHECK(major, minor, patch)