#include <DocInfo.hh>
this class store information about the PDF document. it is a helper class to store these information and write them to a PDF dictionary.
|
construct an object with the given information. if any of the fields is absent, just give an empty string.
00057 : m_title( title ), m_author( author ), m_subject( subject ), 00058 m_keywords( keywords ), m_creator( creator ), m_producer( producer ) 00059 { 00060 } |
|
return true if the object is empty. i.e. all fields are equal to empty string. otherwise false.
00110 { 00111 return m_title.empty( ) && m_author.empty( ) && m_subject.empty( ) && 00112 m_keywords.empty( ) && m_creator.empty( ) && m_producer.empty( ) ; 00113 } |