15 #ifndef FS_TAGGEDPDF_H_ 16 #define FS_TAGGEDPDF_H_ 35 namespace accessibility {
48 typedef enum _ReportCategory {
74 typedef enum _ReportConfidence {
RectF GetFigureRect(int figure_index)
Get the rectangle of figure.
void SetFigureAlternateText(int figure_index, const wchar_t *alternate_text)
Set figure alternate text.
Definition: fs_taggedpdf.h:41
Definition: fs_taggedpdf.h:124
virtual void Release()=0
A callback function used to release current callback object itself.
Header file for PDF document related definitions and classes.
bool SetAsDecorativeFigure(int figure_index)
Decorate the figure.The decorative figure can not set alternate text.
int GetFigureCount()
Get the count of figures in tagged document,excluding the decorative figures.
TaggedPDF(const foxit::pdf::PDFDoc &doc)
Constructor.
WIDE STRING CLASS.
Definition: fx_string.h:1452
Definition: fs_pdfdoc.h:508
Report confidence: medium.
Definition: fs_taggedpdf.h:80
Report confidence: medium low.
Definition: fs_taggedpdf.h:82
Report category type: paragraph.
Definition: fs_taggedpdf.h:54
TaggedPDF & operator=(const TaggedPDF &other)
Assign operator.
Report category type: region.
Definition: fs_taggedpdf.h:50
Report category type: toc item.
Definition: fs_taggedpdf.h:66
WString GetFigureAlternateText(int figure_index)
Get the alternate text of the figure.
virtual void Report(ReportCategory category, ReportConfidence confidence, int page_index, const RectF &rect)=0
A callback function used to get the tagged PDF document result information, triggered when the docume...
Definition: fx_basic.h:3761
Report category type: artifact.
Definition: fs_taggedpdf.h:52
common::Progressive StartTagDocument(common::PauseCallback *pause=0)
Start to auto tag the given PDF document with specified tagged settings.
Definition: fs_common.h:336
bool IsEmpty() const
Check whether current object is empty or not.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
Header file for common definitions and classes.
Report category type: list item.
Definition: fs_taggedpdf.h:56
Report confidence: low.
Definition: fs_taggedpdf.h:84
ReportConfidence
Enumeration for report confidence used for tag PDF document.
Definition: fs_taggedpdf.h:74
Definition: fs_basictypes.h:407
bool operator==(const TaggedPDF &other) const
Equal operator.
Header file for PDF page related definitions and classes.
Report confidence: medium high.
Definition: fs_taggedpdf.h:78
Foxit namespace.
Definition: fs_taggedpdf.h:27
Report category type: table row.
Definition: fs_taggedpdf.h:62
Report category type: table.
Definition: fs_taggedpdf.h:60
Report category type: table header.
Definition: fs_taggedpdf.h:64
#define NULL
The null-pointer value.
Definition: fx_system.h:780
Report category type: figure.
Definition: fs_taggedpdf.h:58
Report confidence: high.
Definition: fs_taggedpdf.h:76
int GetFigurePageIndex(int figure_index)
Get the figure page index by the figure index.
void SetCallback(TaggedPDFCallback *callback)
Set a callback object for tagged PDF.
ReportCategory
Enumeration for report category type used for tagged PDF.
Definition: fs_taggedpdf.h:48
Definition: fx_coordinates.h:771
bool operator!=(const TaggedPDF &other) const
Not equal operator.