/*! * \brief Parses the "EditionEntry"-element specified when constructing the object. * \remarks * - Parses also fetched chapters and nested chapters. * - Clears all previous parsing results. */ void MatroskaEditionEntry::parseNested(Diagnostics &diag) { parse(diag); for (auto &chapter : chapters()) { chapter->parseNested(diag); } }
// Output all the annotations for a whole file void outfile(void) { fprintf(fout, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); fprintf(fout, "<xfdf xmlns=\"http://ns.adobe.com/xfdf/\" xml:space=\"preserve\">\n"); fprintf(fout, " <annots>\n"); chapters(); fprintf(fout, " </annots>\n"); fprintf(fout, " <f href=\"1629-Geneva-1(orig)-Opus_de_emendatione_temporum_hac_postrem copy.pdf\" />\n"); fprintf(fout, " <ids original=\"27E63E7C58902FD49EF0C376902BEEA7\"\n"); fprintf(fout, " modified=\"27E63E7C58902FD49EF0C376902BEEA7\" />\n"); fprintf(fout, "</xfdf>\n"); }