35 bool aDropInsteadOfApproximate =
false );
44 bool aDropInsteadOfApproximate =
false );
48 bool aDropInsteadOfApproximate =
false );
52 bool aDropInsteadOfApproximate =
false );
What an export to a given target will keep, approximate, drop, or block.
Define a library symbol object.
Holds all the data relating to one schematic.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
COMPATIBILITY_REPORT ClassifySchematicStructureForDowngrade(const SCHEMATIC &aSchematic, const DOWNGRADE_TARGET &aTarget)
Schematic-wide structure the per-screen rules cannot see. Does not modify it.
bool FlattenSchematicVariant(SCHEMATIC &aSchematic, const wxString &aVariantName, wxString *aConflict)
Bake a variant into the base attributes of every symbol and sheet.
constexpr int SCH_VER_VARIANTS
Format dates for rules the jobs handler applies at schematic scope.
void DowngradeScreenInPlace(SCH_SCREEN *aScreen, const DOWNGRADE_TARGET &aTarget, bool aDropInsteadOfApproximate=false)
Approximate or remove, in place, what the target cannot represent.
COMPATIBILITY_REPORT ClassifyLibSymbolForDowngrade(const LIB_SYMBOL *aSymbol, const DOWNGRADE_TARGET &aTarget, bool aDropInsteadOfApproximate=false)
Report what a library symbol would lose if exported to an older KiCad. Does not modify it.
void SaveSymbolLibraryForTarget(const std::vector< LIB_SYMBOL * > &aSymbols, const wxString &aPath, const DOWNGRADE_TARGET &aTarget)
Save a .kicad_sym library stamped for the target.
int SymbolLibDowngradeCoveredVersion()
The symbol library format the denylist was generated against.
void DowngradeLibSymbolInPlace(LIB_SYMBOL *aSymbol, const DOWNGRADE_TARGET &aTarget, bool aDropInsteadOfApproximate=false)
Symbol-scoped downgrade for standalone .kicad_sym files the screen pass never sees.
void SaveSchematicForTarget(SCH_SHEET *aSheet, SCHEMATIC *aSchematic, const wxString &aPath, const DOWNGRADE_TARGET &aTarget)
Save a schematic sheet file stamped for the target, using the writer for that version.
wxString FindUnsupportedSchToken(const wxString &aSerialized, const DOWNGRADE_TARGET &aTarget)
Scan serialized schematic text for tokens the target cannot parse.
constexpr int SCH_VER_FLAT_HIERARCHY
int SchDowngradeCoveredVersion()
The format the denylist was generated against. A format bump forces a review.
constexpr int SCH_VER_NET_CHAINS
COMPATIBILITY_REPORT ClassifyScreenForDowngrade(const SCH_SCREEN *aScreen, const DOWNGRADE_TARGET &aTarget, bool aDropInsteadOfApproximate=false)
Report what a schematic screen would lose if exported to an older KiCad.
An older KiCad release we can export a project back to.