> lib/report/ReportBaseClass-pdf.cpp:58:15: error: 'const class

> > PoDoFo::PdfError' has no member named 'what'
> >     ._txt (err.what());
> >                ^
>
>         Hi,
> the above is caused by change of the PdfError class, it doesn't
> inherit from std::exception anymore.
>
>
>
Why was this done?



> > lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double
> Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*,
> PoDoFo::PdfPainter&, double) const':
> > lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class
> PoDoFo::PdfPainter' has no member named 'DrawRect'
> >   pntr.DrawRect (x1, y, w1, h1, r1, r1);
> >        ^
> >
> > lib/pdf/pdf-tools.cpp: In function 'void
> pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
> > lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no
> member named 'FillRect'
> >   painter.FillRect (0, xObjOff.GetPageSize().GetHeight(),
> xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
> >           ^
>
> Caused by drawing API change.
>
>
What was the rationale for removing DrawRect() and FillRect()?  This change
breaks existing, working, code.

What code should I replace those with?
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to