ADDED: optional PDF metadata from AUTHOR and SUBJECT variables.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17289
This commit is contained in:
Jeff Young
2024-03-14 17:40:04 +00:00
parent 34ec57958d
commit e30b6398b7
21 changed files with 6351 additions and 6051 deletions
+4 -1
View File
@@ -151,8 +151,9 @@ public:
virtual void SetDash( int aLineWidth, LINE_STYLE aLineStyle ) = 0;
virtual void SetCreator( const wxString& aCreator ) { m_creator = aCreator; }
virtual void SetTitle( const wxString& aTitle ) { m_title = aTitle; }
virtual void SetAuthor( const wxString& aAuthor ) { m_author = aAuthor; }
virtual void SetSubject( const wxString& aSubject ) { m_subject = aSubject; }
/**
* Add a line to the list of free lines to print at the beginning of the file.
@@ -669,6 +670,8 @@ protected: // variables used in most of plotters:
wxString m_creator;
wxString m_filename;
wxString m_title;
wxString m_author;
wxString m_subject;
PAGE_INFO m_pageInfo;
VECTOR2I m_paperSize; // Paper size in IU - not in mils