adding font and fontSize support
This commit is contained in:
parent
2711bde130
commit
ed632e0733
10 changed files with 128 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
|||
#include "slide.h"
|
||||
#include "serviceitemmodel.h"
|
||||
// #include <QPdfDocument>
|
||||
|
||||
#include <podofo/podofo.h>
|
||||
#include <QDebug>
|
||||
|
@ -225,6 +224,9 @@ void Slide::changeSlide(QVariantMap item)
|
|||
setImageBackground("");
|
||||
}
|
||||
|
||||
setFont(m_serviceItem.value("font").toString());
|
||||
setFontSize(m_serviceItem.value("fontSize").toInt());
|
||||
|
||||
if (type() == "presentation") {
|
||||
qDebug() << "#$#$#$#$ THIS PDF $#$#$#$#";
|
||||
int pageCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue