title: OpenOffice PDF Export Library
body: <p>I am looking for a library which will allow me to render text and graphics output onto a PDF document. (<a href="http://cairographics.org/" rel="nofollow noreferrer">Cairo</a> is certainly an option.) I would like to know how OpenOffice writes PDF files to see if I could use the same library. What library is being used by OpenOffice for PDF export?</p>
  
  <p><strong>Edit:</strong> I am looking for a C or C++ library.</p>