KiCad PCB EDA Suite
Loading...
Searching...
No Matches
doc_property_helpers.h File Reference
#include <diff_merge/kicad_diff_types.h>
#include <title_block.h>
#include <page_info.h>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  KICAD_DIFF
 

Functions

void KICAD_DIFF::AppendPaperDeltas (std::vector< PROPERTY_DELTA > &aDeltas, const PAGE_INFO &aBefore, const PAGE_INFO &aAfter)
 Append DOC_PROP_PAGE_FORMAT and/or DOC_PROP_PAGE_ORIENTATION deltas to aDeltas when the two PAGE_INFO structs differ on either field.
 
void KICAD_DIFF::AppendTitleBlockDeltas (std::vector< PROPERTY_DELTA > &aDeltas, const TITLE_BLOCK &aBefore, const TITLE_BLOCK &aAfter)
 Append a delta for every title block field that differs between the two documents, in the field order of the page settings dialog.
 
bool KICAD_DIFF::ApplyTitleBlockProperty (TITLE_BLOCK &aTarget, const wxString &aName, const TITLE_BLOCK &aSource)
 Copy the title block field named by a document property from aSource into aTarget.