Go to the documentation of this file.
29 class DocEventCallback;
30 class FontMapperCallback;
44 class AppProviderCallback;
57 typedef enum _Rotation {
76 typedef enum _RotationPointOptions {
94 typedef enum _Alignment {
108 typedef enum _FillMode {
128 typedef enum _Position {
154 typedef enum _ModuleName {
200 typedef enum _ColorSpaceType {
238 typedef enum _LocaleID {
264 typedef enum _FileFormatType {
284 #define CommonDefines foxit::common
380 typedef enum _State {
639 #ifndef __EMSCRIPTEN_RENDER__
838 #endif // #ifndef _FX_NO_XFA_
861 static void*
Alloc(
size_t size);
870 static void Free(
void* ptr);
883 static void*
Realloc(
void* ptr,
size_t new_size);
895 static void SetLogFile(
const char* log_file_path);
907 static void SetLogFile(
const wchar_t* log_file_path);
965 #if defined(_WIN32) || defined(_WIN64)|| defined(__linux__)
982 static ErrorCode InitializeOFDEngine(
const char* ofd_library_path);
992 static void ReleaseOFDEngine();
1017 typedef enum _LineCapStyle {
1041 typedef enum _LineJoinStyle {
1280 typedef enum _Filter {
1297 explicit Range(
int index);
1435 typedef enum _Styles {
1461 typedef enum _Charset {
1499 typedef enum _CIDCharset {
1519 typedef enum _StandardID {
1555 typedef enum _FontTypes {
1597 Font(
const char* font_file_path,
int face_index,
Charset charset);
1608 Font(
const wchar_t* font_file_path,
int face_index,
Charset charset);
1732 #ifdef _FONT_GETWOFFDATA_
1964 return !(*
this == other);
2053 uint32 styles,
int weight,
int italic_angle) = 0;
2067 typedef enum _PointType {
2308 typedef enum _RenderingIntent {
2310 e_RenderIntentPerceptual = 0,
2312 e_RenderIntentRelColorimetric = 1,
2314 e_RenderIntentSaturation = 2,
2316 e_RenderIntentAbsColorimetric = 3
2378 bool IsEmpty()
const;
2387 int GetComponentCount()
const;
2402 bool IsSpotColorSpace()
const;
2442 Color ConvertColor(
int r_value,
int g_value,
int b_value);
2455 Color ConvertColor(
int c_value,
int m_value,
int y_value,
int k_value);
2575 #endif // FS_COMMON_H_
Definition: fs_common.h:2010
Font charset: ANSI (United States, Western Europe).
Definition: fs_common.h:1463
static RenderConfig GetRenderConfig()
Get the rendering configuration.
LineCapStyle
Enumeration for line cap style.
Definition: fs_common.h:1017
Standard font: Times-BoldItalic.
Definition: fs_common.h:1541
void Transform(const Matrix &matrix)
Transform all points in current path with a given matrix.
bool AppendRect(const RectF &rect)
Add a rectangle figure to the end of current path.
Position center left.
Definition: fs_common.h:136
Winding fill mode, in which the system uses a direction in which a figure is drawn to determine wheth...
Definition: fs_common.h:120
FileFormatType
Enumeration for file format type.
Definition: fs_common.h:264
PointType GetPointType(int index)
Get the type of a point specified by index.
bool LineTo(const PointF &point)
Add a point to the end of current figure, and a line is to be drawn from current point to the new poi...
Font & operator=(const Font &other)
Assign operator.
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:214
static void EnableThreadSafety(bool is_enable_thread_safety)
Enable thread safety.
bool CubicBezierTo(const PointF &point1, const PointF &point2, const PointF &point3)
Add a cubic bezier spline to the end of current figure, by three points: two control points and one t...
int GetAscent() const
Get the ascent value, in 1/1000 of em size (PDF units).
Font charset: Turkish.
Definition: fs_common.h:1485
String GetEncoding(const pdf::PDFDoc &document)
Get the current font encoding.
foxit::common::file::ReaderCallback * file_read
A common::file::ReaderCallback object which is implemented by user. Foxit PDF SDK will use this callb...
Definition: fs_common.h:1989
Definition: fs_actioncallback.h:2158
Font charset: Eastern European.
Definition: fs_common.h:1479
RenderConfig()
Constructor.
Definition: fs_common.h:443
Color space: Pattern.
Definition: fs_common.h:224
LineJoinStyle
Enumeration for line join style.
Definition: fs_common.h:1041
static bool RegisterSecurityCallback(const char *filter, pdf::SecurityCallback *callback)
Register a pdf::SecurityCallback object to Foxit PDF SDK for decryption of the PDFs with special encr...
bool operator==(const FontMapResult &other) const
Equal operator.
Definition: fs_common.h:1950
Definition: fs_common.h:2461
Definition: fs_common.h:2298
Color space: DeviceN.
Definition: fs_common.h:220
bool IsVertWriting(const pdf::PDFDoc &document)
Check whether current font is vertical writing.
bool IsEmbedded(const pdf::PDFDoc &document)
Judge whether current font is embedded in a specified PDF document or not.
bool operator!=(const Range &other) const
Not equal operator.
StandardID
Enumeration for standard font ID.
Definition: fs_common.h:1519
Fill mode: none.
Definition: fs_common.h:110
Font charset: Arabic.
Definition: fs_common.h:1489
Definition: fs_common.h:1204
Definition: fs_basictypes.h:230
Font charset: Russian.
Definition: fs_common.h:1481
LineCapStyle line_cap
Line cap style.
Definition: fs_common.h:1181
void AddSegment(int start_index, int end_index, Filter filter=e_All)
Add a new range segment. (Reverse ordering is legal.)
UInt32Array AddUnicodes(const pdf::PDFDoc &document, const UInt32Array &unicode_array)
Add unicodes to current embedded font.
Position
Enumeration for watermark position in a PDF page.
Definition: fs_common.h:128
File format type: XFD.
Definition: fs_common.h:276
Font charset: Traditional Chinese.
Definition: fs_common.h:1475
Name for module "TableMaker".
Definition: fs_common.h:178
FontTypes
Enumeration for font type.
Definition: fs_common.h:1555
bool IsEmpty() const
Check whether current object is empty or not.
static bool SetDocEventCallback(DocEventCallback *callback)
Set a DocEventCallback object to Foxit PDF SDK.
Rotate 90 degrees in clockwise direction.
Definition: fs_common.h:61
CFX_Object Object
Object type.
Definition: fs_basictypes.h:221
Font type: Type3.
Definition: fs_common.h:1561
Definition: fs_common.h:1009
Standard font: Courier-Bold.
Definition: fs_common.h:1523
No rotation.
Definition: fs_common.h:59
Definition: fs_common.h:373
Font style: small cap.
Definition: fs_common.h:1451
Position: bottom left.
Definition: fs_common.h:142
static void * Alloc(size_t size)
Allocate a memory block.
PointType
Enumeration for point type in path.
Definition: fs_common.h:2067
Standard font: Times-Italic.
Definition: fs_common.h:1543
bool CloseFigure()
Close current figure (which is also the last figure in current path).
GraphState & operator=(const GraphState &state)
Assign operator.
Definition: fs_common.h:1114
Font style: all cap.
Definition: fs_common.h:1449
static bool SetFontMapperCallback(FontMapperCallback *callback)
Set a FontMapperCallback object to Foxit PDF SDK.
Color space: CalRGB. (3 components, A, B, C)
Definition: fs_common.h:212
virtual void OnOutOfMemory()=0
A callback function used to notify application when Foxit PDF SDK runs out of memory.
Rotate the text block based on the left-bottom point of the rectangle.
Definition: fs_common.h:84
Definition: fs_common.h:2293
int GetRateOfProgress()
Get the rate of current progress.
Standard font: Courier-Oblique, Italic.
Definition: fs_common.h:1527
Definition: fs_common.h:526
Name for module "Accessibility".
Definition: fs_common.h:176
Definition: fs_common.h:342
bool IsItalic() const
Judge whether current font object is italic or not.
Right alignment.
Definition: fs_common.h:100
void Set(foxit::common::file::ReaderCallback *file_read, int face_index)
Set value.
Definition: fs_common.h:1980
CID Font charset: Adobe-Korea1.
Definition: fs_common.h:1509
PointF GetPoint(int index)
Get a point specified by index.
int graphics_objs_count_in_one_step
The count of graphics objects to be rendered in one step during progressive rendering process....
Definition: fs_common.h:507
void AddSingle(int index)
Add an index as a new range segment.
static String FlateDecompress(const void *compressed_data_buffer, size_t length)
Decompress the compressed data buffer by DEFLATE algorithm.
void SetValue(const FloatArray &component_array)
Set component value array.
File format type: XML.
Definition: fs_common.h:274
CID Font charset: Adobe-Japan1.
Definition: fs_common.h:1507
WString GetName()
Retrieve the postscript name.
virtual void OnDocOpened(const pdf::PDFDoc &document, ErrorCode error_code)
Triggered when a PDF document is opened.
Definition: fs_common.h:1230
ColorSpace GetColorSpace()
Get the color space that current color belongs to.
FontMapResult(const FontMapResult &other)
Constructor, with another font mapping result object.
Definition: fs_common.h:1925
Font Embed(pdf::PDFDoc document, bool is_add_all_unicodes=true)
Embed current font to the specified PDF document.
static String Base64Encode(const void *data_buffer, size_t length)
Encode the source data buffer by Base64 algorithm.
Color space: Invalid.
Definition: fs_common.h:202
Standard font: Helvetica-Oblique, Italic.
Definition: fs_common.h:1535
void RemoveAll()
Remove all range segments.
Name for module "Comparison".
Definition: fs_common.h:166
float miter_limit
The miter limit for line join.
Definition: fs_common.h:1173
bool IsEmpty() const
Check whether current object is empty or not.
Font(const wchar_t *name, uint32 styles, Charset charset, int weight)
Constructor, with given attribute.
Alignment
Enumeration for alignment (horizontal).
Definition: fs_common.h:94
virtual FontMapResult MapFont(const char *font_name, bool is_truetype, uint32 styles, int weight, int italic_angle, Font::Charset charset)=0
(This function will be deprecated in the future. It is recommended to use FontMapperCallback::MapFont...
GraphState(float line_width, LineJoinStyle line_join, float miter_limit, LineCapStyle line_cap, float dash_phase, const FloatArray &dashes)
Constructor, with parameters.
Definition: fs_common.h:1075
static void SetDefaultICCProfilesPath(const wchar_t *icc_profile_folder_path)
Set path of folder which contains default ICC profile files.
File reading interface.
Definition: fx_stream.h:570
Font style: force bold.
Definition: fs_common.h:1453
Font charset: Korean (Wansung).
Definition: fs_common.h:1471
static bool RegisterSignatureCallback(const char *filter, const char *sub_filter, pdf::SignatureCallback *signature_callback)
Register a third-party pdf::SignatureCallback object to Foxit PDF SDK for signing and verifying signa...
static ErrorCode Initialize(const char *sn, const char *key)
Initialize Foxit PDF SDK Library, with valid license information.
Rotate 270 degrees in clockwise direction.
Definition: fs_common.h:65
Header file for file operation related definitions and functions.
Font charset: Japanese (Shift-JIS).
Definition: fs_common.h:1469
Font charset: Simplified Chinese.
Definition: fs_common.h:1473
Font style: symbolic.
Definition: fs_common.h:1441
Color ConvertToRGB(ColorSpace::RenderingIntent intent=ColorSpace::e_RenderIntentRelColorimetric) const
Convert to a RGB color.
Name for module "Office2PDF".
Definition: fs_common.h:190
String GetBaseFontName(const pdf::PDFDoc &document)
Get base font name.
ErrorCode
Enumeration for error code.
Definition: fs_basictypes.h:237
Header file for basic types definitions.
bool operator==(const Path &other) const
Equal operator.
static void SetLogFile(const char *log_file_path)
Set the log file path.
Definition: fs_common.h:291
CID Font charset: Adobe-CNS1.
Definition: fs_common.h:1505
Name for module "Redaction".
Definition: fs_common.h:160
bool operator==(const RenderConfig &render_config) const
Equal operator.
Definition: fs_common.h:464
float dash_phase
Dash phase for dash pattern.
Definition: fs_common.h:1184
Left alignment.
Definition: fs_common.h:96
Progressive & operator=(const Progressive &other)
Assign operator.
bool IsSupportEmbedded(const pdf::PDFDoc &document)
Check whether current font is supported to be embedded to the specified PDF document or not.
static void SetRenderTextGamma(float gamma)
Set gamma value for text rendering.
Definition: fs_common.h:2060
Round line join type.
Definition: fs_common.h:1052
Center alignment.
Definition: fs_common.h:98
static bool SetCacheSize(uint32 size)
Set the upper limit of PDF library cache size.
Name for module "Print2PDF".
Definition: fs_common.h:192
virtual void Release()=0
A callback function used to release current callback object itself.
CIDCharset
Enumeration for CID font charset.
Definition: fs_common.h:1499
~Progressive()
Destructor.
Font style: italic.
Definition: fs_common.h:1447
float GetCharWidth(uint32 unicode) const
Get the width (in 1/1000 of em size (PDF units)) of a character specified by unicode.
Name for module "RMS".
Definition: fs_common.h:162
StandardID GetStandard14Font(const pdf::PDFDoc &document)
Get standard font ID.
int GetSegmentStart(int segment_index) const
Get the start index of a specified range segment.
RectI GetCharBBox(uint32 unicode) const
Get the bounding box of a character specified by unicode.
CID Font charset: Adobe-GB1.
Definition: fs_common.h:1503
Position: bottom right.
Definition: fs_common.h:146
Definition: fs_signature.h:1868
virtual void OnDocWillDestroy(const pdf::PDFDoc &document)
Triggered when a PDF document will be destroyed.
Definition: fs_common.h:1239
int GetSegmentEnd(int segment_index) const
Get the end index of a specified range segment.
Standard font: Times-Roman.
Definition: fs_common.h:1537
Position: center.
Definition: fs_common.h:138
bool operator==(const Range &other) const
Equal operator.
FontMapResult & operator=(const FontMapResult &other)
Assign operator.
Definition: fs_common.h:1937
Position: top left.
Definition: fs_common.h:130
bool SetPoint(int index, const PointF &point, PointType type)
Change the value and type of a point specified by index.
ColorSpaceType
Enumeration for color space.
Definition: fs_common.h:200
Only odd numbers in a range will be used (discards even numbers).
Definition: fs_common.h:1286
bool AppendEllipse(const RectF &rect)
Add an ellipse figure to the end of current path.
void Set(float line_width, LineJoinStyle line_join, float miter_limit, LineCapStyle line_cap, float dash_phase, const FloatArray &dashes)
Set value.
Definition: fs_common.h:1139
virtual void OnDocWillSave(const pdf::PDFDoc &document)
Triggered when a PDF document will be saved.
Definition: fs_common.h:1248
bool operator!=(const FontMapResult &other) const
Not equal operator.
Definition: fs_common.h:1963
Definition: fs_security.h:1211
int face_index
Face index. This is a zero-based index value:
Definition: fs_common.h:1999
Round cap. A semicircular arc with a diameter equal to the line width is drawn around the endpoint an...
Definition: fs_common.h:1027
Color space: Lab. (3 components, A, B, C)
Definition: fs_common.h:214
Charset
Enumeration for font charset.
Definition: fs_common.h:1461
Position: top center.
Definition: fs_common.h:132
Color & operator=(const Color &other)
Assign operator.
BYTE STRING CLASS.
Definition: fx_string.h:317
static WString ExecuteJavaScript(const wchar_t *java_script)
Execute javascript.
Definition: fs_common.h:1897
void Clear()
Clear all points.
Indicates that this point is a control point or ending point for a Bezier spline.
Definition: fs_common.h:2079
File format type: TXT.
Definition: fs_common.h:280
Color space: CalGray. (1 component, A)
Definition: fs_common.h:210
Font style: script.
Definition: fs_common.h:1443
Standard font: Helvetica.
Definition: fs_common.h:1529
Indicates that a line is drawn from the previous point to this point, and this point will also be con...
Definition: fs_common.h:2077
bool operator!=(const Color &other) const
Not equal operator.
Definition: fx_coordinates.h:30
Name for module "Optimizer".
Definition: fs_common.h:170
static void Release()
Release all resource allocated by Foxit PDF SDK Library.
Alternate fill mode, in which the system fills this area between odd-numbered and even-numbered polyg...
Definition: fs_common.h:115
Path & operator=(const Path &other)
Assign operator.
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
static String Base64Decode(const void *encoded_data_buffer, size_t length)
Decode the encoded data buffer by Base64 algorithm.
Rotate the text block based on the center point.
Definition: fs_common.h:78
Unknown rotation.
Definition: fs_common.h:67
int GetPointCount()
Get the count of points.
Rotate the text block based on the right-top point of the rectangle.
Definition: fs_common.h:82
Color space: ICCBased.
Definition: fs_common.h:216
Color()
Construct an empty color.
Indicates that a line is drawn from the previous point to this point.
Definition: fs_common.h:2071
Font style: fixed pitch.
Definition: fs_common.h:1437
Name for module "OCR".
Definition: fs_common.h:164
Rotate the text block based on the right-bottom point of the rectangle.
Definition: fs_common.h:86
Color space: Separation.
Definition: fs_common.h:218
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
FillMode
Enumeration for filling mode type, mainly for path graphics object.
Definition: fs_common.h:108
static void RegisterXFAAppProviderCallback(addon::xfa::AppProviderCallback *callback)
Register an addon::xfa::AppProviderCallback object to Foxit PDF SDK.
static bool EnableJavaScript(bool enable_javascript)
Enable or disable javascript for PDF.
Styles
Enumeration for font styles.
Definition: fs_common.h:1435
virtual void Release()=0
A callback function used to release current callback object itself.
Color space: DeviceRGB. (3 components, R, G, B)
Definition: fs_common.h:206
Font charset: Hebrew.
Definition: fs_common.h:1487
Locale ID for country: Korea.
Definition: fs_common.h:254
FloatArray dashes
A dash array that represents the dash patterns. Value of each element in this array should not be neg...
Definition: fs_common.h:1189
File format type: XFDF.
Definition: fs_common.h:268
bool SetEncoding(const pdf::PDFDoc &document, const char *value)
Set the current font encoding.
Name for module "PDF2Office".
Definition: fs_common.h:184
Font type: CID font.
Definition: fs_common.h:1563
Foxit namespace.
Definition: fs_taggedpdf.h:27
File format type: PDF.
Definition: fs_common.h:278
File format type: XDP.
Definition: fs_common.h:272
FontMapResult(foxit::common::file::ReaderCallback *file_read, int face_index)
Constructor, with parameters.
Definition: fs_common.h:1915
Range & operator=(const Range &other)
Assign operator.
Font style: serif.
Definition: fs_common.h:1439
Progress state: any error occurs.
Definition: fs_common.h:382
Font type: TrueType.
Definition: fs_common.h:1559
Font charset: Baltic.
Definition: fs_common.h:1491
Font charset: Greek.
Definition: fs_common.h:1483
void IncreasePointCount(int count)
Increase the point count and prepare adequate memory for these new points.
Standard font: Courier.
Definition: fs_common.h:1521
float line_width
Line width.
Definition: fs_common.h:1155
Locale ID for country: Netherlands.
Definition: fs_common.h:246
bool IsStandardFont(const pdf::PDFDoc &document)
Check whether current font is a standard font.
Definition: fx_basic.h:3758
File format type: FDF.
Definition: fs_common.h:266
Font style: non-symbolic.
Definition: fs_common.h:1445
foxit::uint32 GetStyles(const pdf::PDFDoc &document)
Get font styles.
Color space: DeviceCMYK. (4 components, C, M, Y, K)
Definition: fs_common.h:208
Color space: DeviceGray. (1 component, gray)
Definition: fs_common.h:204
bool operator!=(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are not equal.
Definition: fs_basictypes.h:140
Rotate the text block based on the left-top point of the rectangle.
Definition: fs_common.h:80
Locale ID for country: Japan.
Definition: fs_common.h:256
Name for module "DWG2PDF".
Definition: fs_common.h:180
Bevel line join type.
Definition: fs_common.h:1058
Standard font: Helvetica-Bold.
Definition: fs_common.h:1531
Locale ID for region: Taiwan.
Definition: fs_common.h:244
static void SetRenderConfig(const RenderConfig &render_config)
Set the rendering configuration.
Progressive(const Progressive &other)
Constructor, with another progressive object.
Color ConvertToCMYK(ColorSpace::RenderingIntent intent=ColorSpace::e_RenderIntentRelColorimetric) const
Convert to a CMYK color.
Standard font: ZapfDingbats.
Definition: fs_common.h:1547
static String FlateCompress(const void *data_buffer, size_t length)
Compress the source data buffer by DEFLATE algorithm.
static bool SetActionCallback(ActionCallback *action_callback)
Set a foxit::ActionCallback object to Foxit PDF SDK, in aid of performing PDF actions.
virtual void Release()=0
A callback function used to release current callback object itself.
GraphState()
Constructor.
Definition: fs_common.h:1086
All the indexes within a range will be used.
Definition: fs_common.h:1282
#define NULL
The null-pointer value.
Definition: fx_system.h:792
Position: bottom center.
Definition: fs_common.h:144
Butt cap. The stroke is squared off at the endpoint of a path. There is no projection beyond the end ...
Definition: fs_common.h:1022
Name for module "3D".
Definition: fs_common.h:186
Definition: fx_coordinates.h:771
Font charset: Thai.
Definition: fs_common.h:1477
Name for module "AdvEdit".
Definition: fs_common.h:182
Locale ID for region: HongKong.
Definition: fs_common.h:242
static String GetVersion()
Get the version of current Foxit PDF SDK library.
String GetFamilyName()
Retrieve the famliy name.
Definition: fs_pdfdoc.h:648
Projecting square cap. The stroke continues beyond the endpoint of the path for a distance equal to h...
Definition: fs_common.h:1032
bool operator==(const Color &other) const
Equal operator.
static bool UnregisterSecurityCallback(const char *filter)
Unregister a pdf::SecurityCallback object from Foxit PDF SDK.
Definition: fs_annot.h:1746
CID Font charset: Unicode.
Definition: fs_common.h:1511
Indicates that this point is the ending point for a Bezier spline, and this point will also be connec...
Definition: fs_common.h:2085
State
Enumeration for progress state.
Definition: fs_common.h:380
Position: top right.
Definition: fs_common.h:134
Miter line join type.
Definition: fs_common.h:1046
FontMapResult()
Constructor.
Definition: fs_common.h:1900
bool operator!=(const Font &other) const
Not equal operator.
Locale ID: Unspecified, used when locale is not specified.
Definition: fs_common.h:240
bool MoveTo(const PointF &point)
Add a point to the end of current path, to start a new figure.
static bool HasModuleLicenseRight(common::ModuleName module_name)
Check if user has right to use a specified module of Foxit PDF SDK in current used license informatio...
Only even numbers in a range will be used (discards odd numbers).
Definition: fs_common.h:1284
Name for module "Conversion".
Definition: fs_common.h:172
CIDCharset GetCIDCharset(const pdf::PDFDoc &document)
Get CID font charset.
ModuleName
Enumeration for module name which is used in license information.
Definition: fs_common.h:154
Standard font: Symbol.
Definition: fs_common.h:1545
Rotate 180 degrees in clockwise direction.
Definition: fs_common.h:63
State Continue()
Continue the progressive process.
File format type: HTML.
Definition: fs_common.h:270
Font charset: Standard symbols.
Definition: fs_common.h:1467
(Reserved, currently, this module is not provided) Name for module "ConnectedPDF".
Definition: fs_common.h:156
Progress state: progress needs to be continued.
Definition: fs_common.h:384
Definition: fx_coordinates.h:596
int GetDescent() const
Get the descent value, in 1/1000 of em size (PDF units).
Color space: Indexed.
Definition: fs_common.h:222
Font type: Type1.
Definition: fs_common.h:1557
Definition: fs_common.h:1428
static void * Realloc(void *ptr, size_t new_size)
Reallocate a memory block.
static bool SetNotifierCallback(NotifierCallback *notifier)
Set a NotifierCallback object to Foxit PDF SDK.
Name for module "Compliance".
Definition: fs_common.h:168
Definition: fx_coordinates.h:1076
static void Free(void *ptr)
Free a memory block.
RotationPointOptions
Enumeration for rotation point options.
Definition: fs_common.h:76
int GetSegmentCount() const
Get the count of range segments.
bool RemovePoint(int index)
Remove a point specified by index.
bool IsBold() const
Judge whether current font is bold or not.
Rendering intent: Relative Colorimetric.
Definition: fs_common.h:2312
FontTypes GetFontType(const pdf::PDFDoc &document)
Get font type.
static bool SetAnnotIconProviderCallback(pdf::annots::IconProviderCallback *annot_icon_provider)
Set a customized pdf::annots::IconProviderCallback object to Foxit PDF SDK.
Progress state: progress is finished.
Definition: fs_common.h:386
Font charset: System default, for unknown or mapping purpose.
Definition: fs_common.h:1465
Locale ID for country: Germany.
Definition: fs_common.h:250
static ErrorCode Reinitialize()
Re-initialize Foxit PDF SDK Library.
(Reserved, currently, this module is not provided) Name for module "LayoutRecognition".
Definition: fs_common.h:174
Definition: fs_signature.h:1453
WIDE STRING CLASS.
Definition: fx_string.h:1461
Position: center right.
Definition: fs_common.h:140
RenderingIntent
Enumeration for rendering intent.
Definition: fs_common.h:2308
RenderConfig(int graphics_objs_count_in_one_step)
Constructor, with parameter.
Definition: fs_common.h:440
Color space: ICCBased DeviceRGB. (3 components, R, G, B)
Definition: fs_common.h:228
Definition: fs_common.h:1273
FloatArray GetValue() const
Get component value array.
LocaleID
Enumeration for locale ID.
Definition: fs_common.h:238
bool operator!=(const RenderConfig &render_config) const
Not equal operator.
Definition: fs_common.h:477
Filter
Enumeration for range filter.
Definition: fs_common.h:1280
virtual void OnDocSaved(const pdf::PDFDoc &document, ErrorCode error_code)
Triggered when a PDF document is saved.
Definition: fs_common.h:1260
Color space: ICCBased DeviceGray. (1 component, gray)
Definition: fs_common.h:226
Locale ID for country: Italy.
Definition: fs_common.h:252
bool IsEmpty() const
Check whether current object is empty or not.
GraphState(const GraphState &state)
Constructor, with another graph state object.
Definition: fs_common.h:1098
Standard font: Times-Bold.
Definition: fs_common.h:1539
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:196
Standard font: Courier-BoldOblique, Bold italic.
Definition: fs_common.h:1525
bool operator!=(const Path &other) const
Not equal operator.
Definition: fs_basictypes.h:443
Standard font: Helvetica-BoldOblique, Bold italic.
Definition: fs_common.h:1533
Name for module "XFA".
Definition: fs_common.h:158
Locale ID for country: France.
Definition: fs_common.h:248
RenderConfig & operator=(const RenderConfig &render_config)
Assign operator.
Definition: fs_common.h:452
bool operator==(const Font &other) const
Equal operator.
void Set(int graphics_objs_count_in_one_step)
Set value.
Definition: fs_common.h:491
IFX_Pause PauseCallback
Definition: fs_common.h:1197
Color space: ICCBased DeviceCMYK. (4 components, C, M, Y, K)
Definition: fs_common.h:230
Definition: fs_common.h:432
CID Font charset: Unknown.
Definition: fs_common.h:1501
LineJoinStyle line_join
Line join style.
Definition: fs_common.h:1163
Name for module "OFD".
Definition: fs_common.h:188
bool IsEmpty() const
Check whether current object is empty or not.
Indicates that the point is the first point of a figure.
Definition: fs_common.h:2069
static bool SetTimeStampCallback(pdf::TimeStampCallback *timestamp_callback)
Set a pdf::TimeStampCallback object to Foxit PDF SDK, in aid of interacting with time stamp server.
virtual void OnDocWillOpen()
Triggered when the document will be opened.
Definition: fs_common.h:1218
@2024 Foxit Software Incorporated. All rights reserved.