mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Issue #21: Export table as CSV
This commit is contained in:
@ -381,6 +381,19 @@ public:
|
||||
/// \param pageIndex Index of the page
|
||||
QString getTextFromSelection(const PDFTextSelection& selection, PDFInteger pageIndex) const;
|
||||
|
||||
/// Creates text selection for whole block
|
||||
/// \param blockIndex Text block index
|
||||
/// \param pageIndex pageIndex
|
||||
/// \param color Selection color
|
||||
PDFTextSelection selectBlock(const size_t blockIndex, PDFInteger pageIndex, QColor color) const;
|
||||
|
||||
/// Creates text selection for signle line of text block
|
||||
/// \param blockIndex Text block index
|
||||
/// \param lineIndex Line index
|
||||
/// \param pageIndex pageIndex
|
||||
/// \param color Selection color
|
||||
PDFTextSelection selectLineInBlock(const size_t blockIndex, const size_t lineIndex, PDFInteger pageIndex, QColor color) const;
|
||||
|
||||
friend QDataStream& operator<<(QDataStream& stream, const PDFTextLayout& layout);
|
||||
friend QDataStream& operator>>(QDataStream& stream, PDFTextLayout& layout);
|
||||
|
||||
|
Reference in New Issue
Block a user