Commit 6bd6714a authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

poppler: Use actual function calls instead of xml to create poppler annotations

parent becdc7c4
Pipeline #40417 passed with stage
in 11 minutes
......@@ -1954,6 +1954,12 @@ QList<HighlightAnnotation::Quad> &HighlightAnnotation::highlightQuads()
return d->m_highlightQuads;
}
const QList<HighlightAnnotation::Quad> &HighlightAnnotation::highlightQuads() const
{
Q_D(const HighlightAnnotation);
return d->m_highlightQuads;
}
void HighlightAnnotation::store(QDomNode &node, QDomDocument &document) const
{
Q_D(const HighlightAnnotation);
......
......@@ -1242,6 +1242,12 @@ public:
*/
QList<Quad> &highlightQuads();
/**
* Returns a const reference to the quad list of the highlight annotation.
* @since 20.12
*/
const QList<Quad> &highlightQuads() const;
/**
* Returns the sub type of the highlight annotation.
*/
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment