|
Foxit PDF SDK
|
Inherits <NSObject>.
Instance Methods | |
| (NSString *) | - getReportText: |
| Get the display text for an auto tag result data type. More... | |
This class represents an auto tag results provider for accessibility. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented FSAutoTagProviderCallback object can be passed to function FSTaggedPDF::startTagDocument:report_callback:callback:.
|
required |
Get the display text for an auto tag result data type.
This callback is invoked by the SDK while it generates the "Add Tags" report during auto tagging. For each result data type starting from FSAutoTagProviderCallbackAutoTagResultDataTypeReduceConfidence, the SDK requests the corresponding (typically localized) display string from the application, so the application controls all user-visible wording in the report.
Most types map to a plain label (for example "Figures", "Artifacts", "Table Summary"). A few types expect the returned string to contain a printf-style placeholder that the SDK substitutes at runtime; the implementation must keep the placeholder and its order intact:
Return an empty string for an unknown or unhandled type.
| [in] | type | One value of the result data types starting from FSAutoTagProviderCallbackAutoTagResultDataTypeReduceConfidence that the SDK is requesting text for. |