mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Output preview plugin
This commit is contained in:
@ -262,10 +262,18 @@ public:
|
||||
/// \param colorName Color name
|
||||
bool containsSpotColor(const QByteArray& colorName) const;
|
||||
|
||||
/// Returns number of active spot colors
|
||||
size_t getActiveSpotColorCount() const { return m_activeSpotColors; }
|
||||
|
||||
/// Returns spot color information (or nullptr, if spot color is not present)
|
||||
/// \param colorName Color name
|
||||
const SpotColorInfo* getSpotColor(const QByteArray& colorName) const;
|
||||
|
||||
private:
|
||||
|
||||
const PDFDocument* m_document;
|
||||
std::vector<SpotColorInfo> m_spotColors;
|
||||
size_t m_activeSpotColors = 0;
|
||||
};
|
||||
|
||||
/// Renders PDF pages with transparency, using 32-bit floating point precision.
|
||||
|
Reference in New Issue
Block a user