ultimatepp/uppdev/PDF/main.cpp
cxl 2e4b276e07 Merge continued
git-svn-id: svn://ultimatepp.org/upp/trunk@10263 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-10-04 08:34:39 +00:00

18 lines
391 B
C++

#include <PdfDraw/PdfDraw.h>
#include <RichText/RichText.h>
using namespace Upp;
#define IMAGECLASS AppImg
#define IMAGEFILE <PDF/app.iml>
#include <Draw/iml.h>
CONSOLE_APP_MAIN
{
String p = GetHomeDirFile("pdf.pdf");
SaveFile(p, Pdf(ParseQTF("Hello! This is some [^http://www.ultimatepp.org/forums^ LINK]!!!")
// , Size(3968, 6074), 0
)
);
LaunchWebBrowser(p);
}