Go to the documentation of this file.
38 class GraphicsObjects;
39 class PagingSealSignature;
42 class JavaScriptAction;
63 typedef enum _DefAPFlags {
217 typedef enum _CornerMarkStyle {
341 return !((*this) == style);
456 typedef enum _Style {
790 typedef enum _ScaleWayType {
794 e_ScaleWayAlways = 1,
796 e_ScaleWayBigger = 2,
798 e_ScaleWaySmaller = 3,
806 : scale_way_type(e_ScaleWayNone)
807 , is_proportional_scaling(false)
808 , horizontal_fraction(0)
809 , vertical_fraction(0)
810 , fit_bounds(false) {}
837 float vertical_fraction,
bool fit_bounds)
838 : scale_way_type(type)
839 , is_proportional_scaling(is_proportional_scaling)
840 , horizontal_fraction(horizontal_fraction)
841 , vertical_fraction(vertical_fraction)
842 , fit_bounds(fit_bounds) {}
850 : scale_way_type(icon_fit.scale_way_type)
851 , is_proportional_scaling(icon_fit.is_proportional_scaling)
852 , horizontal_fraction(icon_fit.horizontal_fraction)
853 , vertical_fraction(icon_fit.vertical_fraction)
854 , fit_bounds(icon_fit.fit_bounds) {}
930 float vertical_fraction,
bool fit_bounds) {
931 this->scale_way_type = type;
932 this->is_proportional_scaling = is_proportional_scaling;
933 this->horizontal_fraction = horizontal_fraction;
934 this->vertical_fraction = vertical_fraction;
935 this->fit_bounds = fit_bounds;
1013 typedef enum _Type {
1087 typedef enum _Flags {
1167 typedef enum _HighlightingMode {
1185 typedef enum _Property {
1212 typedef enum _MKEntry {
1268 typedef enum _MKIconCaptionRelation {
1290 typedef enum _AppearanceType {
1310 #ifndef __EMSCRIPTEN_RENDER__
1320 #ifndef __EMSCRIPTEN_RENDER__
1346 #ifndef __EMSCRIPTEN_RENDER__
1492 bool Move(
const RectF& rect,
bool is_reset_appearance);
1678 : first_color(firstcolor)
1679 , second_color(secondcolor) {}
1683 : first_color(0xFFFFFFFF)
1684 , second_color(0xFFFFFFFF) {}
1692 : first_color(shading_color.first_color)
1693 , second_color(shading_color.second_color) {}
1739 this->first_color = firstcolor;
1740 this->second_color = secondcolor;
1813 #ifndef __EMSCRIPTEN_RENDER__
1843 RGB referenced_color,
int shading_index,
ShadingColor& out_shading_color) {
1909 typedef enum _StateModel {
1911 e_StateModelMarked = 1,
1913 e_StateModelReview = 2
1921 typedef enum _State {
1936 e_StateUnmarked = 2,
1941 e_StateAccepted = 3,
1946 e_StateRejected = 4,
1951 e_StateCancelled = 5,
1956 e_StateCompleted = 6,
1961 e_StateDeferred = 7,
1974 typedef enum _EndingStyle {
1976 e_EndingStyleNone = 0,
1978 e_EndingStyleSquare = 1,
1980 e_EndingStyleCircle = 2,
1982 e_EndingStyleDiamond = 3,
1984 e_EndingStyleOpenArrow = 4,
1990 e_EndingStyleClosedArrow = 5,
1992 e_EndingStyleButt = 6,
1994 e_EndingStyleROpenArrow = 7,
1996 e_EndingStyleRClosedArrow = 8,
1998 e_EndingStyleSlash = 9
2006 typedef enum _MeasureType {
2070 void SetPopup(
const Popup& popup);
2098 void SetTitle(
const WString& title);
2114 void SetSubject(
const WString& subject);
2124 float GetOpacity()
const;
2138 void SetOpacity(
float opacity);
2161 String GetIntent()
const;
2199 void SetIntent(
const String& intent);
2207 DateTime GetCreationDateTime()
const;
2216 void SetCreationDateTime(
const DateTime& date_time);
2223 int GetReplyCount();
2233 Note GetReply(
int index)
const;
2252 bool RemoveReply(
int index);
2259 bool RemoveAllReplies();
2349 NoteArray GetStateAnnots(StateModel model);
2387 Note AddStateAnnot(
const WString& title, StateModel model, State state);
2398 bool RemoveAllStateAnnots();
2406 int32 GetRichTextCount();
2431 void SetRichTextContent(
int32 index,
const WString& content);
2502 void RemoveRichText(
int index);
2516 void SetBorderOpacity(
float opacity);
2524 float GetBorderOpacity()
const;
2538 void SetFillOpacity(
float opacity);
2546 float GetFillOpacity()
const;
3708 typedef enum _CapPos {
4254 #ifndef __EMSCRIPTEN_RENDER__
5137 #ifndef __FSDK_NO_PSINK__
5194 typedef enum _LineSpacingStyle {
5218 #ifndef __EMSCRIPTEN_RENDER__
5761 #ifdef _SUPPORTWEBSDK_
5796 #ifndef __EMSCRIPTEN_RENDER__
5998 typedef enum _SampleEncodingFormat {
6023 #ifndef __EMSCRIPTEN_RENDER__
6131 #endif // FS_ANNOT_H_
Annotation type: caret annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1046
QuadPointsArray GetQuadPoints() const
Get quadrilaterals.
Definition: fs_annot.h:4372
void SetMeasureUnit(MeasureType measure_type, const String &unit)
Set the label for displaying the units for measuring.
Annotation type: sound annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1054
~FileAttachment()
Destructor.
Definition: fs_annot.h:5026
Annotation type: strikeout annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1042
RGB GetFillColor() const
Get fill color.
Definition: fs_annot.h:1669
RGB GetStyleFillColor() const
Get fill color for some line ending styles.
Annotation type: watermark annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1069
void SetInnerRect(const RectF &inner_rect)
Set the inner rectangle.
EndingStyle GetLineEndStyle() const
Get line ending style of the end point.
void SetLeaderLineExtensionLength(float extension_length)
Set the length of leader line extension.
objects::PDFDictionary * GetDict() const
Get annotation's dictionary object.
Twos-complement values.
Definition: fs_annot.h:6002
Markup GetReplyTo()
Get the markup annotation, which current note annotation is in reply to.
~Note()
Destructor.
Definition: fs_annot.h:2584
Caption above the icon.
Definition: fs_annot.h:1276
FileAttachment()
Constructor.
Definition: fs_annot.h:5018
int GetSize() const
Get the number of elements in the array.
Definition: fx_basic.h:1360
Annotation type: redact annotation.
Definition: fs_annot.h:1075
ShadingColor()
Constructor.
Definition: fs_annot.h:1682
void * FS_HANDLE
Handle type.
Definition: fs_basictypes.h:213
int GetIndex() const
Get the index of current annotation in the page which current annotation belongs to.
String GetMeasureUnit(MeasureType measure_type)
Get the label for displaying the units for measuring.
Annotation type: square annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1028
RectF GetInnerRect() const
Get the inner rectangle.
void SetAction(const actions::Action &action)
Set action.
void SetMeasureRatio(const char *ratio)
Set the scale ratio string for measuring.
Definition: fs_filespec.h:38
void SetIconName(const char *icon_name)
Set icon name.
Definition: fs_annot.h:2571
Circle()
Constructor.
Definition: fs_annot.h:3209
Type GetType() const
Get actual annotation type of current annotation.
String GetMeasureUnit(MeasureType measure_type)
Get the label for displaying the units for measuring.
~Underline()
Destructor.
Definition: fs_annot.h:2833
String GetIconName() const
Get icon name.
String GetMeasureUnit(MeasureType measure_type)
Get the label for displaying the units for measuring.
Definition: fs_action.h:743
PointF third
Third point of quadrilateral, in PDF coordinate system.
Definition: fs_annot.h:772
void AllowTextOverflow(bool is_text_overflow)
Decide whether to allow the text of freetext to overflow or not.
void SetIconName(const char *icon_name)
Set icon name.
Background color entry. "BG" in MK dictionary.
Definition: fs_annot.h:1218
Definition: fs_action.h:418
void SetModifiedDateTime(const DateTime &date_time)
Set last modified date time.
Definition: fs_basictypes.h:484
Annotation type: 3D annotation. One of standard annotation in <PDF reference 1.7>.
Definition: fs_annot.h:1071
RectF GetRect() const
Get rectangle, in PDF coordinate system.
Annotation flag: locked contents.
Definition: fs_annot.h:1159
Definition: fs_annot.h:1006
Annotation flag: hidden.
Definition: fs_annot.h:1100
void SetInnerRect(const RectF &inner_rect)
Set the inner rectangle.
DefaultAppearance GetDefaultAppearance()
Get default appearance data.
No icon; captin only.
Definition: fs_annot.h:1270
void EnableUseBezier(bool use_bezier)
Enable to use bezier spline to generate ink path for ink annotation's appearance.
void SetState(State state)
Set the state.
void Set(float width, Style style, float intensity, float dash_phase, const FloatArray &dashes)
Set value.
Definition: fs_annot.h:619
void SetMeasureConversionFactor(MeasureType measure_type, float factor)
Set the conversion factor for measuring.
Annotation's rollover appearance.
Definition: fs_annot.h:1294
Definition: fs_annot.h:5991
WString GetMeasureUnitW(MeasureType measure_type)
Get the label (in Unicode string) for displaying the units for measuring.
Caption below the icon.
Definition: fs_annot.h:1274
void SetLeaderLineOffset(float offset)
Set the length of leader line offset.
bool is_bold
A boolean value which indicates whether to make text bold or not.
Definition: fs_annot.h:410
bool is_proportional_scaling
A boolean value which indicates whether use proportional scaling or not.
Definition: fs_annot.h:952
Unspecified or unsigned values in the range 0 to (2^B - 1).
Definition: fs_annot.h:6000
bool ResetAppearanceStream()
Reset appearance stream.
RGB GetFillColor() const
Get fill color.
CornerMarkStyle mark_style
Corner mark style. Corner mark style which can be used to make text as superscript or subscript or no...
Definition: fs_annot.h:431
~Highlight()
Destructor.
Definition: fs_annot.h:2803
PointFArray GetVertexes()
Get vertexes.
Highlighting mode: Push, which is to display the annotation's down appearance, if any.
Definition: fs_annot.h:1175
bool IsStateAnnot()
Check if current note annotation is used as a state annotation.
EndingStyle GetLineStartStyle() const
Get line ending style of the start point.
Definition: fs_annot.h:2792
CFX_Object Object
Object type.
Definition: fs_basictypes.h:220
bool IsMarkup() const
Check if current annotation is a markup annotation.
Annotation type: screen annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1063
void SetImage(const common::Image &image, int frame_index, int compress)
Set image to current screen annotation, with a specified frame index.
Definition: fs_annot.h:2909
String GetMeasureUnit(MeasureType measure_type)
Get the label for displaying the units for measuring.
WString GetOverlayText() const
Get the overlay text.
Style style
Border style. Please refer to values starting from BorderInfo::e_Solid and this should be one of thes...
Definition: fs_annot.h:638
bool is_italic
A boolean value which indicates whether to italicize text or not.
Definition: fs_annot.h:415
Highlight()
Constructor.
Definition: fs_annot.h:2795
Annotation property: fill color.
Definition: fs_annot.h:1204
void SetCalloutLineEndingStyle(EndingStyle ending_style)
Set line ending style of the start point in a callout line.
void SetUniqueID(const WString &unique_id)
Set unique ID.
Square()
Constructor.
Definition: fs_annot.h:3037
void SetMKDict(pdf::objects::PDFDictionary *dict)
Set the appearance characteristics dictionary (known as "MK" dictionary as well).
void SetFillColor(RGB fill_color)
Set fill color.
void SetEndPoint(const PointF &point)
Set the end point.
Caption to the left of the icon.
Definition: fs_annot.h:1280
BorderInfo & operator=(const BorderInfo &border_info)
Assign operator.
Definition: fs_annot.h:551
PagingSeal(const Annot &annot)
Constructor.
Annotation flag: toggle no view.
Definition: fs_annot.h:1152
bool operator!=(const QuadPoints &quad_points) const
Not equal operator.
Definition: fs_annot.h:745
void Rotate(common::Rotation rotation)
Rotate current annotation from current state with specified rotation value (in clockwise).
actions::Action GetAction()
Get action.
void SetLineStartStyle(EndingStyle ending_style)
Set line ending style of the start point.
virtual float GetDisplayWidth(Annot::Type annot_type, const char *icon_name)
A callback function used to get the width for display of a specified icon, in device size(pixel norma...
Definition: fs_annot.h:1856
virtual String GetProviderVersion()
A callback function used to get provider version.
Definition: fs_annot.h:1785
void SetAlignment(common::Alignment alignment)
Set alignment value.
WString GetMeasureRatioW()
Get the scale ratio Unicode string for measuring.
Corner mark style: superscript.
Definition: fs_annot.h:221
State
Enumeration for markup annotation's state.
Definition: fs_annot.h:1921
void SetOverlayTextAlignment(common::Alignment alignment)
Set alignment value of overlay text.
~PolyLine()
Destructor.
Definition: fs_annot.h:4753
IconFit(ScaleWayType type, bool is_proportional_scaling, float horizontal_fraction, float vertical_fraction, bool fit_bounds)
Constructor, with parameters.
Definition: fs_annot.h:836
void SetCaptionPositionType(CapPos cap_position)
Set the position type of caption.
Definition: fs_annot.h:2882
void SetContent(const WString &content)
Set content.
Annotation type: rich media annotation.
Definition: fs_annot.h:1077
pdf::objects::PDFDictionary * GetMKDict() const
Get the appearance characteristics dictionary (known as "MK" dictionary as well).
HighlightingMode GetHighlightingMode()
Get highlighting mode.
float text_size
Text size. It should not be negative value. 0 means text will not be shown.
Definition: fs_annot.h:394
Annotation flag: no zoom.
Definition: fs_annot.h:1115
Header file for common definitions and classes.
~TextMarkup()
Destructor.
Definition: fs_annot.h:2737
void SetBitmap(const common::Bitmap &bitmap)
Set bitmap to current stamp annotation.
virtual ~Annot()
Destructor.
EndingStyle GetCalloutLineEndingStyle() const
Get line ending style of the start point in a callout line.
Definition: fs_annot.h:3034
Screen()
Constructor.
Definition: fs_annot.h:4375
ARGB second_color
Second color used for shading. Format: 0xAARRGGBB.
Definition: fs_annot.h:1746
Border style: Cloudy.
Definition: fs_annot.h:492
Annotation type: pop-up annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1073
float GetLeaderLineExtensionLength() const
Get the length of leader line extension.
void EnableRepeatOverlayText(bool is_to_repeat_overlay_text)
Set the flag to decide whether to repeat the overlay text.
Annotation type: free text annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1024
Border style: Solid.
Definition: fs_annot.h:458
void SetMeasureConversionFactor(MeasureType measure_type, float factor)
Set the conversion factor for measuring.
bool fit_bounds
A boolean value that indicates whether to scale button appearance to fit fully within bounds or not.
Definition: fs_annot.h:971
Definition: fs_annot.h:2822
void SetMeasureUnit(MeasureType measure_type, const String &unit)
Set the label for displaying the units for measuring.
Alignment
Enumeration for alignment (horizontal).
Definition: fs_common.h:94
int GetChannelCount() const
Get the count of sound channels.
PolyLine()
Constructor.
Definition: fs_annot.h:4745
float GetLeaderLineOffset() const
Get the length of leader line offset.
Definition: fs_annot.h:4244
void Set(const PointF &first, const PointF &second, const PointF &third, const PointF &fourth)
Set value.
Definition: fs_annot.h:760
bool HasCaption() const
Check whether the content of current line annotation should be replicated as a caption in the appeara...
Highlighting mode: Invert, which is to invert the contents of the annotation rectangle.
Definition: fs_annot.h:1171
~Circle()
Destructor.
Definition: fs_annot.h:3217
Border color entry. "BC" in MK dictionary.
Definition: fs_annot.h:1216
uint32 GetFlags() const
Get annotation flags.
Header file for file operation related definitions and functions.
Indicates property font of pdf::DefaultAppearance is meaningful.
Definition: fs_annot.h:65
void SetQuadPoints(const QuadPointsArray &quad_points_array)
Set quadrilaterals.
bool RemoveAction()
Remove action.
ShadingColor(ARGB firstcolor, ARGB secondcolor)
Constructor, with parameters.
Definition: fs_annot.h:1677
void SetInnerRect(const RectF &inner_rect)
Set the inner rectangle.
void Set(ARGB firstcolor, ARGB secondcolor)
Set value.
Definition: fs_annot.h:1738
uint32 ARGB
ARGB color type, 32 bits, ((b) | ((g) << 8) | ((r) << 16)) | ((a) << 24)
Definition: fs_basictypes.h:209
WString GetUniqueID() const
Get unique ID.
Sound()
Constructor.
Definition: fs_annot.h:6011
objects::PDFStream * GetSoundStream() const
Get the stream of sound data.
String GetMeasureRatio()
Get the scale ratio string for measuring.
WString GetMeasureRatioW()
Get the scale ratio Unicode string for measuring.
IconFit()
Constructor.
Definition: fs_annot.h:805
Border style: Dashed.
Definition: fs_annot.h:465
void SetQuadPoints(const QuadPointsArray &quad_points_array)
Set quadrilaterals.
bool SetDefaultAppearance(const DefaultAppearance &default_ap)
Set default appearance data.
Annotation flag: print.
Definition: fs_annot.h:1108
void SetBorderColor(RGB color)
Set border color.
Annotation flag: no view.
Definition: fs_annot.h:1130
common::Alignment GetOverlayTextAlignment() const
Get alignment value of overlay text.
Matrix GetTextMatrix() const
Get matrix in default appearance data for text in current free text annotation.
Matrix GetDisplayMatrix(const Matrix &page_display_matrix)
Get the display matrix, from PDF coordinate system to targeted device coordinate system.
void EnableAutoFontSize()
Enable auto font size for the overlay text.
Offset GetCaptionOffset() const
Get caption offset values.
~PSInk()
Destructor.
Definition: fs_annot.h:5170
Definition: fs_annot.h:3712
PSInk()
Constructor.
Definition: fs_annot.h:5160
Markup()
Constructor.
Definition: fs_annot.h:2031
ARGB first_color
First color used for shading. Format: 0xAARRGGBB.
Definition: fs_annot.h:1744
Definition: fs_annot.h:1883
StateModel GetStateModel()
Get the state model.
No caption; icon only.
Definition: fs_annot.h:1272
Left alignment.
Definition: fs_common.h:96
Corner mark style: subscript.
Definition: fs_annot.h:223
Definition: fs_common.h:2173
Annotation type: file attachment annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1052
RectF GetInnerRect() const
Get the inner rectangle.
void SetRotation(common::Rotation rotation)
Set rotation value (in clockwise).
virtual ~Screen()
Destructor.
Definition: fs_annot.h:4383
Annotation type: note annotation, which is just "Text" annotation - one of standard annotation in <PD...
Definition: fs_annot.h:1020
float GetMeasureConversionFactor(MeasureType measure_type)
Get the conversion factor for measuring.
bool GetOpenStatus() const
Get open status.
Annotation type: unknown.
Definition: fs_annot.h:1015
Stamp()
Constructor.
Definition: fs_annot.h:4247
ShadingColor(const ShadingColor &shading_color)
Constructor, with another shading color object.
Definition: fs_annot.h:1691
Annotation flag: invisible.
Definition: fs_annot.h:1094
bool SetDefaultAppearance(const DefaultAppearance &default_ap)
Set default appearance data.
Definition: fs_annot.h:2852
Definition: fs_annot.h:3389
Definition: fs_annot.h:1902
Definition: fs_annot.h:4131
Caret()
Constructor.
Definition: fs_annot.h:4967
FloatArray dashes
A dash array that represents the dash patterns.
Definition: fs_annot.h:666
float GetMeasureConversionFactor(MeasureType measure_type)
Get the conversion factor for measuring.
μ-law-encoded samples
Definition: fs_annot.h:6004
Line()
Constructor.
Definition: fs_annot.h:3717
PointF GetEndPoint() const
Get the end point.
void SetMeasureRatio(const char *ratio)
Set the scale ratio string for measuring.
String GetMeasureRatio()
Get the scale ratio string for measuring.
DefaultAppearance(const DefaultAppearance &default_appearance)
Constructor, with another default appearance object.
Definition: fs_annot.h:104
Definition: fs_annot.h:3206
Icon and caption relation entry. "TP" in MK dictionary.
Definition: fs_annot.h:1260
DefAPFlags
Enumeration for default appearance flags.
Definition: fs_annot.h:63
void SetInkList(const common::Path &ink_list)
Set ink list data.
Definition: fs_annot.h:5784
Annotation flag: locked.
Definition: fs_annot.h:1146
ScaleWayType scale_way_type
The circumstances under which the icon should be scaled inside the annotation rectangle....
Definition: fs_annot.h:943
PagingSealSignature GetPagingSealSignature()
Get the associated paging seal signature.
void SetVertexes(const PointFArray &vertexes)
Set vertexes.
RectI GetDeviceRect(const Matrix &matrix)
Get annotation rectangle in device coordinate system.
PointF first
First point of quadrilateral, in PDF coordinate system.
Definition: fs_annot.h:768
Caption overlaid directly on the icon.
Definition: fs_annot.h:1282
Annotation property: modified date.
Definition: fs_annot.h:1187
Definition: fs_annot.h:210
virtual bool CanChangeColor(Annot::Type annot_type, const char *icon_name)
A callback function used to check if current icon provider supports to change color for a specified t...
Definition: fs_annot.h:1810
Normal icon entry. "I" in MK dictionary.
Definition: fs_annot.h:1238
void SetTitle(const WString &title)
Set title of current screen annotation.
RGB text_color
Text color. Format: 0xRRGGBB.
Definition: fs_annot.h:405
void SetLineEndStyle(EndingStyle ending_style)
Set line ending style of the end point.
BorderInfo(float width, Style style, float intensity, float dash_phase, const FloatArray &dashes)
Constructor, with parameters.
Definition: fs_annot.h:513
WString GetMeasureUnitW(MeasureType measure_type)
Get the label for displaying the units for measuring.
int GetRotation()
Get current rotation angle (in clockwise).
virtual PDFPage GetIcon(Annot::Type annot_type, const char *icon_name, ARGB color, foxit::pdf::objects::PDFDictionary *annot_dict)
A callback function used to get the icon as PDF page contents for a specified type.
AppearanceType
Enumeration for the type of annotation's appearance.
Definition: fs_annot.h:1290
Rollover icon entry. "RI" in MK dictionary.
Definition: fs_annot.h:1243
WString GetMeasureUnitW(MeasureType measure_type)
Get the label for displaying the units for measuring.
virtual bool GetShadingColor(Annot::Type annot_type, const char *icon_name, RGB referenced_color, int shading_index, ShadingColor &out_shading_color)
A callback function used to get the shading colors if current icon provider supports for a specified ...
Definition: fs_annot.h:1842
Highlighting mode: Toggle. This is only useful for widget annotation.
Definition: fs_annot.h:1177
bool ExecuteJavaScriptAction(const actions::JavaScriptAction &javascript_action=actions::JavaScriptAction((FS_HANDLE) 0))
Execute the JavaScript action associated with the link annotation.
void RemoveAction()
Remove action.
Link()
Constructor.
Definition: fs_annot.h:2912
bool operator!=(const DefaultAppearance &default_appearance) const
Not equal operator.
Definition: fs_annot.h:145
Highlighting mode: No highlighting.
Definition: fs_annot.h:1169
Annotation flag: no rotate.
Definition: fs_annot.h:1122
String GetMeasureRatio()
Get the scale ratio string for measuring.
BYTE STRING CLASS.
Definition: fx_string.h:317
Header file for destination and action related definitions and classes.
void SetLineStartStyle(EndingStyle starting_style)
Set line ending style of the start point.
String GetMeasureRatio()
Get the scale ratio string for measuring.
RectF GetInnerRect() const
Get the inner rectangle.
Definition: fs_annot.h:1666
void SetBorderInfo(const BorderInfo &border)
Set border information.
Property
Enumeration for some PDF annotation property.
Definition: fs_annot.h:1185
void SetVertexes(const PointFArray &vertexes)
Set vertexes.
DefaultAppearance()
Constructor.
Definition: fs_annot.h:94
PDFPage GetPage() const
Get the related PDF page.
QuadPoints(const QuadPoints &quad_points)
Constructor, with another quadrilateral points object.
Definition: fs_annot.h:704
PointF fourth
Fourth point of quadrilateral, in PDF coordinate system.
Definition: fs_annot.h:774
DefaultAppearance(uint32 flags, const common::Font &font, float text_size, RGB text_color)
Constructor, with parameters.
Definition: fs_annot.h:87
Annotation's normal appearance.
Definition: fs_annot.h:1292
Annotation type: highlight annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1036
Border style: Underline.
Definition: fs_annot.h:471
void SetLineEndStyle(EndingStyle ending_style)
Set line ending style of the end point.
common::Font font
A font used in rich text style. It should be a valid font object.
Definition: fs_annot.h:389
void SetRotation(common::Rotation rotate)
Set the rotation of the image used for the appearance of current screen annotation.
Polygon()
Constructor.
Definition: fs_annot.h:4563
WString GetMeasureRatioW()
Get the scale ratio string for measuring.
void SetMeasureConversionFactor(MeasureType measure_type, float factor)
Set the conversion factor for measuring.
Definition: fs_annot.h:6108
BorderInfo()
Constructor.
Definition: fs_annot.h:522
StateModel
Enumeration for markup annotation's state model.
Definition: fs_annot.h:1909
bool SetFileSpec(const FileSpec &file_spec)
Set a file specification, which should specify an embedded file.
Definition: fx_coordinates.h:30
FileSpec GetFileSpec()
Get the file specification.
RGB GetBorderColor() const
Get border color.
String GetMeasureUnit(MeasureType measure_type)
Get the label for displaying the units for measuring.
Annotation type: movie annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1056
float GetSamplingRate() const
Get the sampling rate, in samples per second.
FileSpec GetFileSpec() const
Get the file specification object which represents an external sound file.
void SetOverlayText(const WString &overlay_text)
Set the overlay text.
float char_space
The char space. It should not be negative value for table generator. It is only used in pdf::PDFPage:...
Definition: fs_annot.h:436
Rotation
Enumeration for rotation.
Definition: fs_common.h:57
Annotation type: underline annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1038
CornerMarkStyle
Enumeration for corner mark style.
Definition: fs_annot.h:217
QuadPointsArray GetQuadPoints() const
Get quadrilaterals.
EndingStyle
Enumeration for line ending style.
Definition: fs_annot.h:1974
Definition: fs_annot.h:449
float GetOpacity() const
Get opacity value.
void SetMeasureUnit(MeasureType measure_type, const char *unit)
Set the label for displaying the units for measuring.
~Caret()
Destructor.
Definition: fs_annot.h:4975
void SetFillColor(RGB fill_color)
Set fill color.
MKEntry
Enumeration for annotation's MK dictionary (an appearance characteristics) entry.
Definition: fs_annot.h:1212
bool operator!=(const RichTextStyle &style) const
Not equal operator.
Definition: fs_annot.h:340
bool operator==(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are equal.
Definition: fs_basictypes.h:128
WString GetMeasureUnitW(MeasureType measure_type)
Get the label for displaying the units for measuring.
RGB GetStyleFillColor() const
Get fill color for ending styles.
BorderInfo GetBorderInfo() const
Get border information.
void SetApplyFillColor(RGB fill_color)
Set the filling color which is used for rollover appearance and will be used after redaction is appli...
objects::PDFDictionary * GetOptionalContent() const
Get the PDF dictionary of annotation's optional content.
~Squiggly()
Destructor.
Definition: fs_annot.h:2893
bool IsEmpty() const
Check whether current object is empty or not.
SampleEncodingFormat
Enumeration for encoding format of sound sample data.
Definition: fs_annot.h:5998
Header file for PDF object related definitions and classes.
uint32 flags
Flags to indicate which properties of default appearance are meaningful.
Definition: fs_annot.h:182
void SetCalloutLinePoints(const PointFArray &point_array)
Set points for callout line.
Annotation type: polygon annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1032
Annotation property: border color.
Definition: fs_annot.h:1198
bool RemoveProperty(Property property)
Remove a specified annotation's property.
StrikeOut()
Constructor.
Definition: fs_annot.h:2855
Foxit namespace.
Definition: fs_taggedpdf.h:27
void SetImage(const common::Image &image, int frame_index, int compress)
Set image to current stamp annotation, with a specified frame index.
Highlighting mode: Outline, which is to invert the annotation's border.
Definition: fs_annot.h:1173
Underline()
Constructor.
Definition: fs_annot.h:2825
void SetOpacity(float opacity)
Set opacity value.
WString GetTitle() const
Get title of current screen annotation.
Indicates property text size of pdf::DefaultAppearance is meaningful.
Definition: fs_annot.h:69
common::Font font
A font for default appearance. It should be a valid font object when it is useful.
Definition: fs_annot.h:189
FreeText()
Constructor.
Definition: fs_annot.h:3392
void SetStartPoint(const PointF &point)
Set the start point.
DefaultAppearance GetDefaultAppearance()
Get default appearance data.
common::Alignment text_alignment
Alignment value. Please refer to values starting from common::e_AlignmentLeft and this should be one ...
Definition: fs_annot.h:400
bool operator==(const QuadPoints &quad_points) const
Equal operator.
Definition: fs_annot.h:733
WString GetMeasureRatioW()
Get the scale ratio Unicode string for measuring.
Icon fit information entry. "IF" in MK dictionary.
Definition: fs_annot.h:1253
void SetMeasureUnit(MeasureType measure_type, const String &unit)
Set the label for displaying the units for measuring.
~StrikeOut()
Destructor.
Definition: fs_annot.h:2863
RGB GetFillColor() const
Get fill color.
RGB GetFillColor() const
Get fill color.
virtual String GetProviderID()
A callback function used to get provider ID.
Definition: fs_annot.h:1774
ScaleWayType
Enumeration for the type of icon scaling way.
Definition: fs_annot.h:790
Corner mark style: none.
Definition: fs_annot.h:219
Rotation entry. "R" in MK dictionary.
Definition: fs_annot.h:1214
Definition: fs_annot.h:679
Header file for image and bitmap related definitions and classes.
virtual float GetDisplayHeight(Annot::Type annot_type, const char *icon_name)
A callback function used to get the height for display of a specified icon, in device size(pixel norm...
Definition: fs_annot.h:1869
DateTime GetModifiedDateTime() const
Get last modified date time.
PointF second
Second point of quadrilateral, in PDF coordinate system.
Definition: fs_annot.h:770
Definition: fs_annot.h:5157
void Set(ScaleWayType type, bool is_proportional_scaling, float horizontal_fraction, float vertical_fraction, bool fit_bounds)
Set value.
Definition: fs_annot.h:929
bool operator!=(const BorderInfo &border_info) const
Not equal operator.
Definition: fs_annot.h:587
Indicates property text color of pdf::DefaultAppearance is meaningful.
Definition: fs_annot.h:67
Definition: fs_annot.h:4964
RectF GetInnerRect() const
Get the inner rectangle.
int GetBits() const
Get the number of bits per sample value per channel.
void SetStyleFillColor(RGB color)
Set fill color for ending styles.
Definition: fs_pdfobject.h:850
Annotation type: circle annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1030
Annotation type: line annotation. One of standard annotation in <PDF reference 1.7>.
Definition: fs_annot.h:1026
float GetMeasureConversionFactor(MeasureType measure_type)
Get the conversion factor for measuring.
bool operator!=(const char *str1, const CFX_ByteString &str2)
Check if two byte strings are not equal.
Definition: fs_basictypes.h:140
Annotation's down appearance.
Definition: fs_annot.h:1296
MKIconCaptionRelation
Enumeration for icon and caption relative position in annotation's MK dictionary.
Definition: fs_annot.h:1268
float vertical_fraction
The vertical fraction of left-over space to allocate at the left and bottom of the icon.
Definition: fs_annot.h:964
Down caption (or alternate caption) entry. "AC" in MK dictionary.
Definition: fs_annot.h:1233
void SetLeaderLineLength(float length)
Set the length of leader line.
Normal caption entry. "CA" in MK dictionary.
Definition: fs_annot.h:1223
Annotation type: ink annotation. One of standard annotation in <PDF reference 1.7>.
Definition: fs_annot.h:1048
IconFit(const IconFit &icon_fit)
Constructor, with another icon fit object.
Definition: fs_annot.h:849
Definition: fs_annot.h:2726
bool operator==(const BorderInfo &border_info) const
Equal operator.
Definition: fs_annot.h:567
common::Rotation GetRotation()
Get current rotation value (in clockwise).
WString GetContent() const
Get content.
RichTextStyle(const common::Font &font, float text_size, common::Alignment text_alignment, RGB text_color, bool is_bold, bool is_italic, bool is_underline, bool is_strikethrough, CornerMarkStyle mark_style, float char_space, float word_space)
Constructor, with parameters.
Definition: fs_annot.h:245
float GetMeasureConversionFactor(MeasureType measure_type)
Get the conversion factor for measuring.
~FreeText()
Destructor.
Definition: fs_annot.h:3401
Annotation type: stamp annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1044
RGB GetFillColor() const
Get fill color.
Definition: fs_signature.h:2091
common::Bitmap GetBitmap()
Get the bitmap from current screen annotation.
EndingStyle GetLineEndStyle() const
Get line ending style of the end point.
void SetHighlightingMode(HighlightingMode mode)
Set highlighting mode.
#define NULL
The null-pointer value.
Definition: fx_system.h:792
bool Move(const RectF &rect)
Move current annotation to a new position, specified by a new rectangle in PDF coordinate system.
void Set(uint32 flags, const common::Font &font, float text_size, RGB text_color)
Set value.
Definition: fs_annot.h:168
RichTextStyle(const RichTextStyle &style)
Constructor, with another style object.
Definition: fs_annot.h:277
PointFArray GetCalloutLinePoints() const
Get a point of callout line points.
Definition: fx_coordinates.h:771
float cloud_intensity
Intensity of the cloudy effect.
Definition: fs_annot.h:651
float text_size
Text size for default appearance.
Definition: fs_annot.h:199
RGB text_color
Text color for default appearance. Format: 0xRRGGBB.
Definition: fs_annot.h:206
bool operator==(const RichTextStyle &style) const
Equal operator.
Definition: fs_annot.h:319
void SetMeasureRatio(const String &ratio)
Set the scale ratio string for measuring.
void SetFillColor(RGB fill_color)
Set fill color.
uint32 RGB
RGB color type, 24 bits, ((b) | ((g) << 8) | ((r) << 16)))
Definition: fs_basictypes.h:211
Annotation flag: read only.
Definition: fs_annot.h:1139
void SetMeasureRatio(const String &ratio)
Set the scale ratio string for measuring.
Definition: fs_annot.h:1758
Border style: Beveled.
Definition: fs_annot.h:478
String GetMeasureRatio()
Get the scale ratio string for measuring.
Annotation type: widget annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1061
virtual bool HasIcon(Annot::Type annot_type, const char *icon_name)
A callback function used to check if current icon provider supports icon for a specified type.
Definition: fs_annot.h:1797
Definition: fs_pdfpage.h:412
QuadPointsArray GetQuadPoints() const
Get quadrilaterals.
~Markup()
Destructor.
Definition: fs_annot.h:2034
void SetStyleFillColor(RGB fill_color)
Set fill color for some line ending styles.
EndingStyle GetLineStartStyle() const
Get line ending style of the start point.
void SetInnerRect(const RectF &inner_rect)
Set the inner rectangle.
virtual void Release()=0
A callback function used to release current callback object itself.
RGB GetApplyFillColor() const
Get the filling color which is used for rollover appearance and will be used after redaction is appli...
TextMarkup()
Constructor.
Definition: fs_annot.h:2729
FX_INT32 int32
32-bit signed integer.
Definition: fs_basictypes.h:193
bool is_strikethrough
A boolean value which indicates whether to cross text out with strike through or not.
Definition: fs_annot.h:425
String GetIconName() const
Get icon name.
WString GetMeasureRatioW()
Get the scale ratio Unicode string for measuring.
CapPos
Enumeration for the position type of caption.
Definition: fs_annot.h:3708
bool operator!=(const Annot &other) const
Not equal operator.
Annotation type: link annotation. One of standard annotation in <PDF reference 1.7>.
Definition: fs_annot.h:1022
void SetOpenStatus(bool status)
Set open status.
Annotation type: trap network annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1067
void SetMeasureRatio(const String &ratio)
Set the scale ratio string for measuring.
void SetCaptionOffset(const Offset &offset)
Set caption offset values.
Annot & operator=(const Annot &annot)
Assign operator.
A-law-encoded samples.
Definition: fs_annot.h:6006
Definition: fs_image.h:459
PointF GetStartPoint() const
Get the start point.
void Set(const common::Font &font, float text_size, common::Alignment text_alignment, RGB text_color, bool is_bold, bool is_italic, bool is_underline, bool is_strikethrough, CornerMarkStyle mark_style, float char_space, float word_space)
Set value.
Definition: fs_annot.h:364
void SetRotation(int angle)
Set rotation angle (in clockwise).
Definition: fs_annot.h:1879
Annotation type: squiggly annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1040
Type
Enumeration for PDF annotation type.
Definition: fs_annot.h:1013
void SetFillColor(RGB fill_color)
Set fill color.
Annotation type: paging seal annotation. A Foxit PDF SDK custom annotation type (not a standard annot...
Definition: fs_annot.h:1079
QuadPoints(const PointF &first, const PointF &second, const PointF &third, const PointF &fourth)
Constructor, with parameters.
Definition: fs_annot.h:689
void SetFlags(uint32 flags)
Set annotation flags.
objects::PDFStream * GetAppearanceStream(AppearanceType type, const char *appearance_state="") const
Get annotation's appearance stream with specified type and state.
Annotation type: pressure sensitive ink annotation.
Definition: fs_annot.h:1050
void SetMeasureUnit(MeasureType measure_type, const char *unit)
Set the label for displaying the units for measuring.
void SetAction(const actions::Action &action)
Set action.
Definition: fx_coordinates.h:596
Annot()
Constructor.
Definition: fs_annot.h:1319
Definition: fs_common.h:1523
Down icon (or alternate icon) entry. "IX" in MK dictionary.
Definition: fs_annot.h:1248
Annotation type: printer's mark annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1065
float dash_phase
Dash phase.
Definition: fs_annot.h:658
QuadPoints & operator=(const QuadPoints &quad_points)
Assign operator.
Definition: fs_annot.h:718
Definition: fx_coordinates.h:1076
Caption to the right of the icon.
Definition: fs_annot.h:1278
Rollover caption entry. "RC" in MK dictionary.
Definition: fs_annot.h:1228
bool operator==(const Annot &other) const
Equal operator.
void SetMeasureConversionFactor(MeasureType measure_type, float factor)
Set the conversion factor for measuring.
DefaultAppearance & operator=(const DefaultAppearance &default_appearance)
Assign operator.
Definition: fs_annot.h:117
PointFArray GetVertexes()
Get vertexes.
QuadPoints()
Constructor.
Definition: fs_annot.h:697
void SetFillColor(RGB fill_color)
Set fill color.
Squiggly()
Constructor.
Definition: fs_annot.h:2885
void SetTextMatrix(const Matrix &text_matrix)
Set matrix in default appearance data for text in current free text annotation.
RichTextStyle()
Constructor.
Definition: fs_annot.h:260
~Polygon()
Destructor.
Definition: fs_annot.h:4571
Definition: fs_annot.h:4742
Definition: fs_annot.h:56
WString GetMeasureUnitW(MeasureType measure_type)
Get the label (in Unicode string) for displaying the units for measuring.
Definition: fs_pdfobject.h:448
Border style: Inset.
Definition: fs_annot.h:485
WIDE STRING CLASS.
Definition: fx_string.h:1461
void EnableCaption(bool cap)
Set the flag which is used to decide whether the content of current line annotation should be replica...
CFX_ByteString String
Byte string.
Definition: fs_basictypes.h:224
Definition: fs_annot.h:3701
bool HasProperty(Property property) const
Whether current annotation has the specified annotation's property.
Definition: fs_image.h:36
actions::Action GetAction()
Get action.
float GetMeasureConversionFactor(MeasureType measure_type)
Get the conversion factor for measuring.
float width
Border width, in points.
Definition: fs_annot.h:632
Annotation type: polyline annotation. One of standard annotation in <PDF reference 1....
Definition: fs_annot.h:1034
bool is_underline
A boolean value which indicates whether to underline text or not.
Definition: fs_annot.h:420
~BorderInfo()
Destructor.
Definition: fs_annot.h:529
~Ink()
Destructor.
Definition: fs_annot.h:4142
void SetMeasureConversionFactor(MeasureType measure_type, float factor)
Set the conversion factor for measuring.
BorderInfo(const BorderInfo &border_info)
Constructor, with another border information object.
Definition: fs_annot.h:536
Definition: fs_annot.h:4560
Style
Enumeration for PDF annotation border style.
Definition: fs_annot.h:456
float GetLeaderLineLength() const
Get the length of leader line.
MeasureType
Enumeration for annotation's measure type.
Definition: fs_annot.h:2006
FX_UINT32 uint32
32-bit unsigned integer.
Definition: fs_basictypes.h:195
common::Alignment GetAlignment() const
Get alignment value.
String GetCompressionFormat() const
Get the name of the sound compression format used on the sample data.
~Link()
Destructor.
Definition: fs_annot.h:2922
void SetQuadPoints(const QuadPointsArray &quad_points_array)
Set quadrilaterals.
common::Rotation GetRotation()
Get the rotation of the image used for the appearance of current screen annotation.
Definition: fs_annot.h:778
String GetIconName() const
Get icon name.
Definition: fs_basictypes.h:451
Flags
Enumeration for PDF annotation flags.
Definition: fs_annot.h:1087
~Line()
Destructor.
Definition: fs_annot.h:3725
void Rotate(int angle)
Rotate current annotation from current state with specified angle degree in clockwise.
State GetState()
Get the state.
void SetIconName(const char *icon_name)
Set icon name.
Definition: fs_annot.h:784
bool operator==(const DefaultAppearance &default_appearance) const
Equal operator.
Definition: fs_annot.h:132
Note()
Constructor.
Definition: fs_annot.h:2574
Ink()
Constructor.
Definition: fs_annot.h:4134
HighlightingMode
Enumeration for PDF annotation highlighting mode.
Definition: fs_annot.h:1167
SampleEncodingFormat GetSampleEncodingFormat() const
Get the encoding format for the sample data.
CapPos GetCaptionPositionType() const
Get the position type of caption.
Definition: fs_annot.h:3710
Annotation property: creation date.
Definition: fs_annot.h:1192
Definition: fs_annot.h:5015
bool Apply()
Apply current redact annotation: remove the text, graphics and annotations under annotation rectangle...
float word_space
The word space. It should not be negative value for table generator. It is only used in pdf::PDFPage:...
Definition: fs_annot.h:441
bool IsOverlayTextRepeated()
Check whether the overlay text is repeated or not.
Redact()
Constructor.
Definition: fs_annot.h:5787
RichTextStyle & operator=(const RichTextStyle &style)
Assign operator.
Definition: fs_annot.h:297
float horizontal_fraction
The horizontal fraction of left-over space to allocate at the left and bottom of the icon.
Definition: fs_annot.h:958
common::Path GetInkList()
Get ink list data.
~Square()
Destructor.
Definition: fs_annot.h:3045
@2026 Foxit Software Incorporated. All rights reserved.