mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #118: Fixing compilation errors
This commit is contained in:
@@ -426,7 +426,7 @@ private:
|
||||
};
|
||||
|
||||
/// Annotation default appearance
|
||||
class PDFAnnotationDefaultAppearance
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFAnnotationDefaultAppearance
|
||||
{
|
||||
public:
|
||||
explicit inline PDFAnnotationDefaultAppearance() = default;
|
||||
@@ -482,7 +482,7 @@ struct AnnotationDrawParameters
|
||||
/// Annotations are various enhancements to pages graphical representation,
|
||||
/// such as graphics, text, highlight or multimedia content, such as sounds,
|
||||
/// videos and 3D annotations.
|
||||
class PDFAnnotation
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFAnnotation
|
||||
{
|
||||
public:
|
||||
explicit PDFAnnotation();
|
||||
@@ -1497,7 +1497,7 @@ public:
|
||||
mutable PDFCachedItem<PDFObject> appearanceStream;
|
||||
};
|
||||
|
||||
struct PageAnnotations
|
||||
struct PDF4QTLIBCORESHARED_EXPORT PageAnnotations
|
||||
{
|
||||
bool isEmpty() const { return annotations.empty(); }
|
||||
|
||||
|
@@ -623,7 +623,6 @@ void PDFFormFieldButton::resetValue(const ResetValueParameters& parameters)
|
||||
|
||||
PDFFormManager::PDFFormManager(QObject* parent) :
|
||||
BaseClass(parent),
|
||||
m_annotationManager(nullptr),
|
||||
m_document(nullptr),
|
||||
m_flags(getDefaultApperanceFlags()),
|
||||
m_isCommitDisabled(false)
|
||||
@@ -636,16 +635,6 @@ PDFFormManager::~PDFFormManager()
|
||||
|
||||
}
|
||||
|
||||
PDFAnnotationManager* PDFFormManager::getAnnotationManager() const
|
||||
{
|
||||
return m_annotationManager;
|
||||
}
|
||||
|
||||
void PDFFormManager::setAnnotationManager(PDFAnnotationManager* annotationManager)
|
||||
{
|
||||
m_annotationManager = annotationManager;
|
||||
}
|
||||
|
||||
const PDFDocument* PDFFormManager::getDocument() const
|
||||
{
|
||||
return m_document;
|
||||
|
@@ -72,7 +72,7 @@ using PDFFormWidgets = std::vector<PDFFormWidget>;
|
||||
/// have children), fields represents various interactive widgets, such as
|
||||
/// checks, radio buttons, text edits etc., which are editable and user
|
||||
/// can interact with them.
|
||||
class PDFFormField
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFFormField
|
||||
{
|
||||
public:
|
||||
explicit inline PDFFormField() = default;
|
||||
@@ -280,7 +280,7 @@ protected:
|
||||
|
||||
/// Represents pushbutton, checkbox and radio button (which is distinguished
|
||||
/// by flags).
|
||||
class PDFFormFieldButton : public PDFFormField
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFFormFieldButton : public PDFFormField
|
||||
{
|
||||
public:
|
||||
explicit inline PDFFormFieldButton() = default;
|
||||
@@ -325,7 +325,7 @@ private:
|
||||
};
|
||||
|
||||
/// Represents single line, or multiline text field
|
||||
class PDFFormFieldText : public PDFFormField
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFFormFieldText : public PDFFormField
|
||||
{
|
||||
public:
|
||||
explicit inline PDFFormFieldText() = default;
|
||||
@@ -359,7 +359,7 @@ private:
|
||||
QString m_richTextValue;
|
||||
};
|
||||
|
||||
class PDFFormFieldChoice : public PDFFormField
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFFormFieldChoice : public PDFFormField
|
||||
{
|
||||
using BaseClass = PDFFormField;
|
||||
|
||||
@@ -394,7 +394,7 @@ private:
|
||||
PDFObject m_selection;
|
||||
};
|
||||
|
||||
class PDFFormFieldSignature : public PDFFormField
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFFormFieldSignature : public PDFFormField
|
||||
{
|
||||
public:
|
||||
explicit inline PDFFormFieldSignature() = default;
|
||||
@@ -522,9 +522,6 @@ public:
|
||||
/// \param widget Widget annotation
|
||||
PDFFormField* getFormFieldForWidget(PDFObjectReference widget) { return m_form.getFormFieldForWidget(widget); }
|
||||
|
||||
PDFAnnotationManager* getAnnotationManager() const;
|
||||
void setAnnotationManager(PDFAnnotationManager* annotationManager);
|
||||
|
||||
const PDFDocument* getDocument() const;
|
||||
void setDocument(const PDFModifiedDocument& document);
|
||||
|
||||
@@ -615,7 +612,6 @@ signals:
|
||||
void documentModified(pdf::PDFModifiedDocument document);
|
||||
|
||||
private:
|
||||
PDFAnnotationManager* m_annotationManager;
|
||||
const PDFDocument* m_document;
|
||||
FormAppearanceFlags m_flags;
|
||||
PDFForm m_form;
|
||||
|
@@ -147,7 +147,7 @@ private:
|
||||
/// Precompiled page contains precompiled graphic instructions of a PDF page to draw it quickly
|
||||
/// on the target painter. It enables very fast drawing, because instructions are not decoded
|
||||
/// and interpreted from the PDF stream, but they are just "played" on the painter.
|
||||
class PDFPrecompiledPage
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFPrecompiledPage
|
||||
{
|
||||
public:
|
||||
explicit inline PDFPrecompiledPage() = default;
|
||||
|
@@ -106,7 +106,7 @@ private:
|
||||
};
|
||||
|
||||
/// Snap engine, which handles snapping of points on the page.
|
||||
class PDFSnapper
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFSnapper
|
||||
{
|
||||
public:
|
||||
PDFSnapper();
|
||||
|
@@ -264,7 +264,7 @@ private:
|
||||
PDFTextSelectionColoredItems m_items;
|
||||
};
|
||||
|
||||
struct PDFFindResult
|
||||
struct PDF4QTLIBCORESHARED_EXPORT PDFFindResult
|
||||
{
|
||||
bool operator<(const PDFFindResult& other) const;
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
namespace pdf
|
||||
{
|
||||
|
||||
class PDFTextLayoutGenerator : public PDFPageContentProcessor
|
||||
class PDF4QTLIBCORESHARED_EXPORT PDFTextLayoutGenerator : public PDFPageContentProcessor
|
||||
{
|
||||
using BaseClass = PDFPageContentProcessor;
|
||||
|
||||
|
@@ -25,7 +25,7 @@ namespace pdf
|
||||
class PDFPrecompiledPage;
|
||||
|
||||
/// Snapshot for current widget viewable items.
|
||||
struct PDFWidgetSnapshot
|
||||
struct PDF4QTLIBCORESHARED_EXPORT PDFWidgetSnapshot
|
||||
{
|
||||
struct SnapshotItem
|
||||
{
|
||||
|
Reference in New Issue
Block a user