working build of new podofo pdf system
This commit is contained in:
parent
02f2d70ad3
commit
6a8266f1f1
4 changed files with 27 additions and 1 deletions
|
@ -24,6 +24,7 @@ target_link_libraries(presenter
|
|||
Qt5::X11Extras
|
||||
KF5::Kirigami2
|
||||
KF5::I18n
|
||||
podofo
|
||||
mpv
|
||||
)
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include <podofo/podofo.h>
|
||||
#include <QDebug>
|
||||
|
||||
using namespace PoDoFo;
|
||||
Slide::Slide(QObject *parent)
|
||||
: QObject{parent}
|
||||
{
|
||||
|
@ -197,6 +198,13 @@ void Slide::changeSlide(QVariantMap item)
|
|||
setImageBackground("");
|
||||
}
|
||||
|
||||
if (type() == "pres") {
|
||||
qDebug() << "#$#$#$#$ THIS PDF $#$#$#$#";
|
||||
PdfMemDocument pdf = PdfMemDocument();
|
||||
// const char doc = imageBackground();
|
||||
// pdf.Load(doc);
|
||||
}
|
||||
|
||||
QStringList text = m_serviceItem.value("text").toStringList();
|
||||
if (text.isEmpty()) {
|
||||
setText("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue