Foxit PDF SDK
|
Public Types | |
enum | AnnotationSummaryStringID { e_AnnotationSummaryStringIDAuthor = 0, e_AnnotationSummaryStringIDDate = 1, e_AnnotationSummaryStringIDPage = 2, e_AnnotationSummaryStringIDType = 3, e_AnnotationSummaryStringIDDocumentTitle = 4, e_AnnotationSummaryStringIDPageTitle = 5, e_AnnotationSummaryStringIDNoAnnotations = 6, e_AnnotationSummaryStringIDNumber = 7, e_AnnotationSummaryStringIDSubject = 8 } |
Enumeration for string ID used to specify the string or prefix in result document when summarizing annotation. More... | |
Public Member Functions | |
virtual common::LocaleID | GetCurrentLocaleID ()=0 |
A callback function used to specify current locale ID. More... | |
virtual WString | GetLocalFontName ()=0 |
A callback function used to specify the font name used locally. More... | |
virtual WString | LoadString (AnnotationSummaryStringID id)=0 |
A callback function used to load a string in local language for a specified case. More... | |
virtual void | Release ()=0 |
A callback function used to release current callback object itself. More... | |
This class represents a callback object which is used during summarizing annotation to allow user to decide some format/data. All the pure virtual functions in this class are used as callback functions and should be implemented by user. An implemented AnnotationSummaryCallback object can be set to a AnnotationSummary object by function AnnotationSummary::SetCallback.
Enumeration for string ID used to specify the string or prefix in result document when summarizing annotation.
Values of this enumeration can be used alone.
|
pure virtual |
A callback function used to specify current locale ID.
Locale ID is used to decide locale format for some information, such as date format.
|
pure virtual |
A callback function used to specify the font name used locally.
This function is very useful for user to specify the font used in result document.
|
pure virtual |
A callback function used to load a string in local language for a specified case.
This function is very useful for user to use local language for some string content in result document. By using this function, user can re-write or translate default output strings to local language for specified case in result document. Default output strings for these specified cases can be found in comment for values starting from AnnotationSummaryCallback::e_AnnotationSummaryStringIDAuthor.
Specially, Foxit PDF SDK will add some necessary information/data to the format part in the result document, in order to make content in the result document more useful.
[in] | id | An annotation summary string ID to specify a summary case. Please refer to values starting from AnnotationSummaryCallback::e_AnnotationSummaryStringIDAuthor and this would be one of these values. |
|
pure virtual |
A callback function used to release current callback object itself.