copy changes from develop

This commit is contained in:
Alex Fabijanic
2018-02-02 12:24:16 -06:00
parent 6fa4fda1e4
commit aaf14a0e93
35 changed files with 2376 additions and 238 deletions

View File

@@ -0,0 +1,42 @@
//
// XMLTemplate.h
//
#ifndef PDF_XMLTemplate_INCLUDED
#define PDF_XMLTemplate_INCLUDED
#include "Poco/PDF/PDF.h"
#include "Poco/PDF/Document.h"
#include "Poco/Path.h"
#include <istream>
namespace Poco {
namespace PDF {
class PDF_API XMLTemplate
{
public:
XMLTemplate(std::istream& xmlStream, const std::string& base = Poco::Path::current());
XMLTemplate(const std::string& path);
~XMLTemplate();
void create(const std::string& fileName);
protected:
void load(std::istream& xmlStream);
private:
Poco::Path _base;
Document* _pDocument;
};
} } // namespace Poco::PDF
#endif // PDF_DocumentTemplate_INCLUDED