5#ifndef JAWSMAKO_INTERACTIVE_H
6#define JAWSMAKO_INTERACTIVE_H
93 virtual bool equals(
const IAnnotationReferencePtr &other)
const = 0;
174 return ! (*
this == other);
214 virtual IFormFieldPtr
clone()
const = 0;
225 %apply uint32_t &OUTPUT {
uint32 &flags };
339 virtual bool widgetInSubtree(
const IAnnotationReferencePtr &widgetReference)
const = 0;
496 return ! (*
this == other);
548 virtual void addField(
const IFormFieldPtr &field) = 0;
567 virtual void addWidget(
const IWidgetAnnotationPtr &widget) = 0;
575 virtual void addWidget(
const IAnnotationReferencePtr &widgetReference) = 0;
587 virtual void removeWidget(
const IAnnotationReferencePtr &widgetReference) = 0;
624 virtual bool widgetInTree(
const IWidgetAnnotationPtr &widget)
const = 0;
632 virtual bool widgetInTree(
const IAnnotationReferencePtr &widgetReference)
const = 0;
814 virtual IAnnotationAppearancePtr
clone()
const = 0;
985 virtual void setColor(
const IDOMColorPtr &color) = 0;
1104 virtual IAnnotationPtr
clone()
const = 0;
1185 virtual void setPopup(
const IAnnotationReferencePtr &popupReference) = 0;
1193 virtual void setPopup(
const IPopupAnnotationPtr &popup) = 0;
1215 #define obj2IMarkupAnnotation(obj) IMarkupAnnotationPtr(dynamic_cast<IMarkupAnnotation *>((IRCObject *) obj), true)
1240 return (other.
p1 ==
p1)
1243 && (other.
p4 ==
p4);
1248 return ! (*
this == other);
1264 CRectInset(
double _left = 0.0,
double _top = 0.0,
double _right = 0.0,
double _bottom = 0.0)
1298 const IDOMColorPtr &borderColor = IDOMColorPtr(),
1299 const IDOMColorPtr &backgroundColor = IDOMColorPtr(),
1439 const IDOMFontPtr &font = IDOMFontPtr(),
1441 float captionSize = 10.0f) = 0;
1465 const IFormPtr &form,
1466 const IPagePtr &page,
1471 const IDOMFontOpenTypePtr &font,
1474 const IDOMColorPtr &color = IDOMColorPtr(),
1475 bool multiLine =
false,
1494 const IFormPtr &form,
1495 const IPagePtr &page,
1520 return ! (*
this == other);
1541 const IFormPtr &form,
1542 const IPagePtr &page,
1573 const IFormPtr &form,
1574 const IPagePtr &page,
1583 const IDOMFontOpenTypePtr &font,
1586 const IDOMColorPtr &color = IDOMColorPtr(),
1613 const IFormPtr &form,
1614 const IPagePtr &page,
1619 const IDOMFontOpenTypePtr &font,
1622 const IDOMColorPtr &color = IDOMColorPtr(),
1623 const IDOMColorPtr &backgroundColor = IDOMColorPtr(),
1624 const IPDFDictionaryPtr &actions = IPDFDictionaryPtr(),
1659 %apply uint32_t &OUTPUT {
uint32 &flags };
1875 #define obj2IWidgetAnnotation(obj) IWidgetAnnotationPtr(dynamic_cast<IWidgetAnnotation *>((IRCObject *) obj), true)
1900 #define obj2ITextMarkupAnnotation(obj) ITextMarkupAnnotationPtr(dynamic_cast<ITextMarkupAnnotation *>((IRCObject *) obj), true)
1926 const IDOMColorPtr &color,
1927 const IPDFObjectPtr &actionOrDest = IPDFObjectPtr (),
1928 const IPDFNamePtr &highlightMode = IPDFNamePtr (),
1929 const IPDFDictionaryPtr &pa = IPDFDictionaryPtr ()
1976 virtual void setPA (
const IPDFDictionaryPtr &pa) = 0;
1982 virtual IPDFDictionaryPtr
getPA ()
const = 0;
1985 #define obj2ILinkAnnotation(obj) ILinkAnnotationPtr(dynamic_cast<ILinkAnnotation *>((IRCObject *) obj), true)
2012 #define obj2IFreeTextAnnotation(obj) IFreeTextAnnotationPtr(dynamic_cast<IFreeTextAnnotation *>((IRCObject *) obj), true)
2032 #define obj2ICaretAnnotation(obj) ICaretAnnotationPtr(dynamic_cast<ICaretAnnotation *>((IRCObject *) obj), true)
2062 const IDOMColorPtr &color = IDOMColorPtr(),
2064 const IDOMColorPtr &interior = IDOMColorPtr(),
2086 #define obj2IShapeAnnotation(obj) IShapeAnnotationPtr(dynamic_cast<IShapeAnnotation *>((IRCObject *) obj), true)
2113 #define obj2IPolyAnnotation(obj) IPolyAnnotationPtr(dynamic_cast<IPolyAnnotation *>((IRCObject *) obj), true)
2161 %apply
float &OUTPUT {
float &xOffset };
2162 %apply
float &OUTPUT {
float &yOffset };
2171 %clear
float &xOffset;
2172 %clear
float &yOffset;
2188 #define obj2ILineAnnotation(obj) ILineAnnotationPtr(dynamic_cast<ILineAnnotation *>((IRCObject *) obj), true)
2211 const IDOMColorPtr &color = IDOMColorPtr(),
2228 #define obj2IInkAnnotation(obj) IInkAnnotationPtr(dynamic_cast<IInkAnnotation *>((IRCObject *) obj), true)
2265 #define obj2IPopupAnnotation(obj) IPopupAnnotationPtr(dynamic_cast<IPopupAnnotation *>((IRCObject *) obj), true)
2285 #define obj2ISoundAnnotation(obj) ISoundAnnotationPtr(dynamic_cast<ISoundAnnotation *>((IRCObject *) obj), true)
2310 const U8String &contents,
bool open =
false,
2312 const IPopupAnnotationPtr &popup = IPopupAnnotationPtr());
2339 #define obj2ITextAnnotation(obj) ITextAnnotationPtr(dynamic_cast<ITextAnnotation *>((IRCObject *) obj), true)
2366 const IDOMColorPtr &color = IDOMColorPtr(),
2367 const IDOMColorPtr &interiorColor = IDOMColorPtr());
2394 #define obj2IRedactionAnnotation(obj) IRedactionAnnotationPtr(dynamic_cast<IRedactionAnnotation *>((IRCObject *) obj), true)
2444#define obj2IStampAnnotation(obj) IStampAnnotationPtr(dynamic_cast<IStampAnnotation *>((IRCObject *) obj), true)
2490 return ! (*
this == other);
2539 virtual INamedDestinationPtr
clone()
const = 0;
Definition edlvector.h:30
Base class Interface for all Reference Counted objects.
Definition ircobject.h:35
A class representing an annotation's border (described in the PDF Specification as BorderStyle)....
Definition interactive.h:860
float width
Definition interactive.h:887
eBorderType
Types of border.
Definition interactive.h:866
@ eBTSolid
A solid rectangle surrounding the annotation.
Definition interactive.h:867
@ eBTBeveled
A simulated embossed rectangle that appears to be raised above the surface of the page.
Definition interactive.h:869
@ eBTDashed
A dashed rectangle surrounding the annotation.
Definition interactive.h:868
@ eBTInset
A simulated engraved rectangle that appears to be recessed below the surface of the page.
Definition interactive.h:870
@ eBTUnderline
A single line along the bottom of the annotation rectangle.
Definition interactive.h:871
CAnnotationBorder(float inWidth=1.0f/72.0f *96.0f, const eBorderType &inType=eBTSolid, const CEDLVector< float > &inDash=CEDLVector< float >())
Constructor.
Definition interactive.h:880
eBorderType type
The type of border.
Definition interactive.h:889
CEDLVector< float > dash
Definition interactive.h:890
bool operator==(const CFieldOption &other) const
Definition interactive.h:166
CFieldOption(const U8String &_label, const U8String &_exportValue=U8String())
Definition interactive.h:158
CFieldOption()
Definition interactive.h:157
U8String exportValue
Definition interactive.h:164
bool operator!=(const CFieldOption &other) const
Definition interactive.h:172
U8String label
Definition interactive.h:163
FPoint p1
Definition interactive.h:1233
FPoint p4
Definition interactive.h:1236
FPoint p2
Definition interactive.h:1234
bool operator==(const CQuadPoint &other) const
Definition interactive.h:1238
CQuadPoint(const FPoint &inP1, const FPoint &inP2, const FPoint &inP3, const FPoint &inP4)
Definition interactive.h:1226
FPoint p3
Definition interactive.h:1235
CQuadPoint()
Definition interactive.h:1225
bool operator!=(const CQuadPoint &other) const
Definition interactive.h:1246
A class which specifies an inset from a rectangle.
Definition interactive.h:1262
double left
Definition interactive.h:1271
double right
Definition interactive.h:1273
double top
Definition interactive.h:1272
CRectInset(double _left=0.0, double _top=0.0, double _right=0.0, double _bottom=0.0)
Definition interactive.h:1264
double bottom
Definition interactive.h:1274
A class encapsulating an entry in an XFA array.
Definition interactive.h:483
IInputStreamPtr stream
The stream containing the XFA packet.
Definition interactive.h:486
bool operator!=(const CXFAPacket &other) const
Definition interactive.h:494
U8String name
If empty and this is the only packet in the array, it represents the entire XFA package.
Definition interactive.h:485
bool operator==(const CXFAPacket &other) const
Definition interactive.h:488
An interface class for an annotation appearance, describing the graphical. content of an annotation i...
Definition interactive.h:796
virtual eAppearanceUsage getUsage() const =0
Get the usage for this appearance.
virtual IDOMFormPtr getForm() const =0
Get the graphical contents as an IDOMForm. Do not edit this form.
virtual U8String getState() const =0
Get the appearance state for this appearance. Will return an empty string if there is no state associ...
static JAWSMAKO_API IAnnotationAppearancePtr create(const IJawsMakoPtr &jawsMako, const IDOMFormPtr &form, eAppearanceUsage usage, const U8String &state=U8String())
Create a new annotation appearance.
virtual ~IAnnotationAppearance()
Definition interactive.h:798
virtual IAnnotationAppearancePtr clone() const =0
Clone the appearance. This is a deep clone.
virtual IDOMNodePtr getScaledAppearance(const FRect &annotRect) const =0
Get DOM for the annotation scaled appropriately to the given rect. Useful for preparing an annotation...
An interface class for an annotation.
Definition interactive.h:900
virtual uint32 getFlags() const =0
Get the annotation flags. To interpret these flags please see section 8.4.2 "Annotation Flags" in the...
virtual CAnnotationAppearanceVect getAppearances() const =0
Return all the annotation appearances in a vector.
virtual void addAppearance(const IAnnotationAppearancePtr &appearance)=0
Add or replace an appearance.
virtual void setModificationTime(const IEDLTimePtr &modificationTime)=0
Set the Modification date and time of the annotation.
virtual void setBorder(const CAnnotationBorder &border)=0
Set the annotation's border.
virtual void setContents(const U8String &contents)=0
Set the Contents entry in UTF-8.
virtual U8String getContents() const =0
Get the Contents entry in UTF-8.
virtual IAnnotationPtr clone() const =0
Clone the annotation. This is a deep clone. The annotation reference will remain the same.
virtual U8String getState() const =0
Get the current annotation state.
eAnnotationType
Types of annotations, listed with the earliest version of PDF that supported them.
Definition interactive.h:908
@ eATFreeText
(PDF 1.3) Free text annotation
Definition interactive.h:913
@ eATCaret
(PDF 1.5) Caret annotation
Definition interactive.h:910
@ eATWidget
(PDF 1.2) Widget annotation
Definition interactive.h:936
@ eATLink
(PDF 1.2) Link annotation
Definition interactive.h:917
@ eATHighlight
(PDF 1.3) Highlight annotation
Definition interactive.h:914
@ eATInk
(PDF 1.3) Ink annotation
Definition interactive.h:915
@ eATMovie
(PDF 1.2) Movie annotation
Definition interactive.h:918
@ eATProjection
(PDF 1.7) Projection annotation
Definition interactive.h:923
@ eATLine
(PDF 1.3) Line annotation
Definition interactive.h:916
@ eATStamp
(PDF 1.3) Stamp annotation
Definition interactive.h:930
@ eATUnderline
(PDF 1.3) Underline annotation
Definition interactive.h:934
@ eATStrikeOut
(PDF 1.3) Strikeout annotation
Definition interactive.h:931
@ eATFileAttachment
(PDF 1.3) File attachment annotation
Definition interactive.h:912
@ eATText
(PDF 1.2) Text annotation
Definition interactive.h:932
@ eATSound
(PDF 1.2) Sound annotation
Definition interactive.h:927
@ eATOther
Other annotation.
Definition interactive.h:937
@ eATCircle
(PDF 1.3) Circle annotation
Definition interactive.h:911
@ eATRedact
(PDF 1.7) Redact annotation
Definition interactive.h:924
@ eATSquiggly
(PDF 1.4) Squiggly underline annotation
Definition interactive.h:929
@ eATSquare
(PDF 1.3) Square annotation
Definition interactive.h:928
@ eATPolygon
(PDF 1.5) Polygon annotation
Definition interactive.h:919
@ eATTrapNet
(PDF 1.3) Trap network annotation
Definition interactive.h:933
@ eATRichMedia
(PDF 1.7) RichMedia annotation
Definition interactive.h:925
@ eATPolyLine
(PDF 1.5) PolyLine annotation
Definition interactive.h:920
@ eATPrinterMark
(PDF 1.4) Printer's mark annotation
Definition interactive.h:922
@ eATPopup
(PDF 1.3) Popup annotation
Definition interactive.h:921
@ eAT3D
(PDF 1.6) 3D annotation
Definition interactive.h:909
@ eATWatermark
(PDF 1.6) Watermark annotation
Definition interactive.h:935
@ eATScreen
(PDF 1.5) Screen annotation
Definition interactive.h:926
virtual bool matchesReference(const IAnnotationReferencePtr &reference) const =0
Does this annotation match the given IAnnotationReference?
virtual void setState(const U8String &state)=0
Set the current annotation state.
virtual IDOMColorPtr getColor() const =0
Get the color. The use of this color depends on the annotation type. See the PDF 1....
virtual void setRect(const FRect &rect)=0
Set the rect in which the appearances should be displayed.
virtual const FRect & getRect() const =0
Get the rect in which the appearances should be displayed.
virtual IAnnotationReferencePtr getReference() const =0
Get a reference that can be used to refer to this annotation.
virtual void setColor(const IDOMColorPtr &color)=0
Set the color. The use of this color depends on the annotation type. See the PDF 1....
virtual CAnnotationBorder getBorder() const =0
Get the annotation's border. See CAnnotationBorder for details.
virtual IAnnotationAppearancePtr getAppearance(eAppearanceUsage usage, const U8String &state=U8String()) const =0
Fetch the annotation appearance that should be used for the given annotation usage and state accordin...
virtual IEDLTimePtr getModificationTime() const =0
Get the Modification date and time of the annotation, if present.
virtual void rotate(uint16 rotate, double pageWidth, double pageHeight)=0
Rotate the annotation clockwise as if the page was rotated by the same amount.
virtual void removeAppearances()=0
Remove all annotation appearances.
virtual ~IAnnotation()
Definition interactive.h:902
virtual void setFlags(uint32 flags)=0
Set the annotation flags. Please see section 8.4.2 "Annotation Flags" for details about these flags.
virtual bool hasNormalAppearance() const =0
Does the annotation have a normal appearance? Convenience utility function.
virtual eAnnotationType getType() const =0
Get the type of the annotation.
A generic reference to an annotation. The target annotation might not be loaded. Chiefly used to refe...
Definition interactive.h:84
virtual ~IAnnotationReference()
Definition interactive.h:86
virtual bool equals(const IAnnotationReferencePtr &other) const =0
Determine if another annotation reference refers to the same annotation.
Simple class for tracking streams associated with XML generated by generateXMLForDocument().
Definition interactive.h:2475
U8String name
Definition interactive.h:2477
bool operator==(const CXMLResource &other) const
Definition interactive.h:2481
bool operator!=(const CXMLResource &other) const
Definition interactive.h:2488
IInputStreamPtr resource
Definition interactive.h:2479
U8String mimeType
Definition interactive.h:2478
Definition interactive.h:2467
CEDLVector< CXMLResource > CXMLResourceVect
Definition interactive.h:2493
static JAWSMAKO_API IAnnotationReferencePtr createAnnotationReferenceFromTag(const U8String &tag)
Generate an IAnnotationReference from an Annotation Tag attribute found in the XML.
static JAWSMAKO_API IRAInputStreamPtr generateXMLForDocument(const IJawsMakoPtr &jawsMako, const IDocumentPtr &document, CXMLResourceVect &resources)
Generate an XML version of the Annotations and Forms content in the given IDocument.
A generic interface class for a caret annotation. It is intended that future releases of JawsMako wil...
Definition interactive.h:2021
virtual CRectInset getRectInset() const =0
Get the rect inset describing, relative to the annotation rect, the caret area within the annotation.
virtual ~ICaretAnnotation()
Definition interactive.h:2023
A generic interface class for a free text annotation. It is intended that future releases of JawsMako...
Definition interactive.h:1994
virtual CRectInset getRectInset() const =0
Get the rect inset describing, relative to the annotation rect, the free text area within the annotat...
virtual CFPointVect getCalloutLine() const =0
Get the points that comprise the callout line of the free text annotation.
virtual ~IFreeTextAnnotation()
Definition interactive.h:1996
A generic interface class for a ink annotation. It is intended that future releases of JawsMako will ...
Definition interactive.h:2197
virtual ~IInkAnnotation()
Definition interactive.h:2199
static JAWSMAKO_API IInkAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, const IDOMColorPtr &color=IDOMColorPtr(), const CFPointVectVect &inkList=CFPointVectVect())
Create an ink annotation.
virtual void setInkList(const CFPointVectVect &inkList)=0
Get the annotation's ink list. All coordinates are relative to the annotation rectangle.
virtual CFPointVectVect getInkList() const =0
Get the annotation's ink list. All coordinates are relative to the annotation rectangle.
An interface class for a line annotation. It is intended that future releases of JawsMako will extend...
Definition interactive.h:2122
virtual void getCaptionOffset(float &xOffset, float &yOffset) const =0
Get the caption offset.
virtual float getLeaderLineOffset() const =0
Get the leader line offset.
virtual float getLeaderLineLength() const =0
Get the length of the leader line.
virtual IDOMColorPtr getInteriorColor() const =0
Get the interior color of the fill used for the line endings.
virtual ~ILineAnnotation()
Definition interactive.h:2124
virtual void setLineEndpoints(const FPoint &start, const FPoint &end)=0
Set the line end points. The points are relative to the annotation rect.
virtual void setInteriorColor(const IDOMColorPtr &color)=0
Set the interior color to be used to fill the line endings.
virtual void getLineEndpoints(FPoint &start, FPoint &end) const =0
Get the line end points. The points are relative to the annotation rect.
virtual float getLeaderLineExtensionsLength() const =0
Get the length of the leader line extensions.
A generic interface class for a link annotation. It is intended that future releases of JawsMako will...
Definition interactive.h:1909
virtual void setHighlightMode(const IPDFNamePtr &highlightMode)=0
Set the Highlight mode for this annotation.
static JAWSMAKO_API ILinkAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, const IDOMColorPtr &color, const IPDFObjectPtr &actionOrDest=IPDFObjectPtr(), const IPDFNamePtr &highlightMode=IPDFNamePtr(), const IPDFDictionaryPtr &pa=IPDFDictionaryPtr())
Create a link annotation with the given parameters.
virtual CQuadPointVect getQuadPoints() const =0
Get the link annotation's quad points if present. The points are relative to the annotation rect.
virtual IPDFObjectPtr getActionOrDest() const =0
Get the link annotation's Action or Dest object. An Action will be an IPDFDictionary object while a D...
virtual IPDFNamePtr getHighlightMode() const =0
Get the link annotation's Highlight mode object.
virtual void setPA(const IPDFDictionaryPtr &pa)=0
Set the previous Action object for this annotation.
virtual void setQuadPoints(const CQuadPointVect &quadPoints)=0
Set the link annotation's quad points.
virtual void setActionOrDest(const IPDFObjectPtr &actionOrDest)=0
Set the Action dictionary or Dest object for this annotation.
virtual ~ILinkAnnotation()
Definition interactive.h:1911
virtual IPDFDictionaryPtr getPA() const =0
Get the link annotation's previous Action object.
An interface class for markup annotations. It is intended that future releases of JawsMako will exten...
Definition interactive.h:1128
virtual ~IMarkupAnnotation()
Definition interactive.h:1130
virtual float getOpacity() const =0
Get the opacity of the markup annotation.
virtual void setAuthor(const U8String &author)=0
Set the Author of the markup annotation. This is the "T" entry in the annotation, which by convention...
virtual void setPopup(const IPopupAnnotationPtr &popup)=0
Set a reference to a popup, if present.
virtual IAnnotationReferencePtr getPopupReference() const =0
Get a reference to the popup, if present.
virtual void setCreationTime(const IEDLTimePtr &creationTime)=0
Set the creation date and time of the annotation.
virtual U8String getAuthor() const =0
Get the Author of the markup annotation. This is the "T" entry in the annotation, which by convention...
virtual void setOpacity(float opacity)=0
Set the opacity of the markup annotation.
virtual IEDLTimePtr getCreationTime() const =0
Get the creation date and time of the annotation, if present.
virtual void setPopup(const IAnnotationReferencePtr &popupReference)=0
Set or clear the popup, by reference.
virtual IAnnotationAppearancePtr createNormalAppearance() const =0
Create a basic appearance given the current annotation's parameters. This can then be installed by us...
A named destination in a PDF Document.
Definition interactive.h:2522
virtual IDOMPageRectTargetPtr getTarget() const =0
Get the destination.
static JAWSMAKO_API INamedDestinationPtr create(const IJawsMakoPtr &jawsMako, const U8String &name, const IDOMPageRectTargetPtr &target)
Create a named destination with the given name to the given target.
virtual ~INamedDestination()
Definition interactive.h:2524
virtual INamedDestinationPtr clone() const =0
Clone the named destination.
virtual const U8String & getName() const =0
Get the name of this named destination.
An interface class for a polygon or polyline annotation. It is intended that future releases of JawsM...
Definition interactive.h:2095
virtual ~IPolyAnnotation()
Definition interactive.h:2097
virtual CFPointVect getPoints() const =0
Get the points comprising the vertices of the polygon. The points are relative to the annotation rect...
virtual void setPoints(const CFPointVect &points)=0
Set the points comprising the vertices of the polygon. The points are relative to the annotation rect...
A generic interface class for a redaction annotation.
Definition interactive.h:2347
virtual IDOMColorPtr getInteriorColor() const =0
Get the interior color of the fill used for the shape.
virtual void setQuadPoints(const CQuadPointVect &quadPoints)=0
Set the redaction annotation's quad points.
virtual CQuadPointVect getQuadPoints() const =0
Get the redaction annotation's quad points if present. The points are relative to the annotation rect...
static JAWSMAKO_API IRedactionAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, const CQuadPointVect &quadPoints=CQuadPointVect(), const IDOMColorPtr &color=IDOMColorPtr(), const IDOMColorPtr &interiorColor=IDOMColorPtr())
Create a redaction annotation.
virtual void setInteriorColor(const IDOMColorPtr &color)=0
Set the interior color to be used to fill the line endings.
virtual ~IRedactionAnnotation()
Definition interactive.h:2349
A generic interface class for circle and square annotations. It is intended that future releases of J...
Definition interactive.h:2041
virtual IDOMColorPtr getInteriorColor() const =0
Get the interior color of the fill used for the shape.
static JAWSMAKO_API IShapeAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, IAnnotation::eAnnotationType type, const IDOMColorPtr &color=IDOMColorPtr(), const CAnnotationBorder &border=CAnnotationBorder(), const IDOMColorPtr &interior=IDOMColorPtr(), const CRectInset &inset=CRectInset())
Create a shape (Rectangle or Circle) annotation with the given parameters. An appearance for the new ...
virtual void setInteriorColor(const IDOMColorPtr &color)=0
Set the interior color to be used to fill the shapes.
virtual ~IShapeAnnotation()
Definition interactive.h:2043
virtual CRectInset getRectInset() const =0
Get the rect inset describing, relative to the annotation rect, the shape area within the annotation.
An interface class for a sound annotation. Allows access to the sound as a WAV stream if the stream i...
Definition interactive.h:2275
virtual IInputStreamPtr getSoundAsWav() const =0
Get the embedded sound (if present) as a WAV stream.
virtual ~ISoundAnnotation()
Definition interactive.h:2277
A generic interface class for a stamp annotation.
Definition interactive.h:2402
virtual U8String getName() const =0
Get the stamp annotation's name.
virtual void setIntent(const U8String &intent)=0
Set the stamp annotation's intent. Note: This is a PDF 2.0 feature. If intent is set to anything othe...
static JAWSMAKO_API IStampAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, const U8String &name=U8String("Draft"))
Create a stamp annotation.
virtual ~IStampAnnotation()
Definition interactive.h:2404
virtual void setName(const U8String &name)=0
Set the stamp annotation's name.
virtual U8String getIntent() const =0
Get the stamp annotation's intent.
A generic interface class for a text (sticky note) annotation.
Definition interactive.h:2293
virtual void setOpen(bool open)=0
Set the annotation's open status.
virtual bool getOpen() const =0
Get the annotation's open status.
static JAWSMAKO_API ITextAnnotationPtr create(const IJawsMakoPtr &jawsMako, const FRect &rect, const U8String &contents, bool open=false, const U8String &iconName=U8String("Note"), const IPopupAnnotationPtr &popup=IPopupAnnotationPtr())
Create a text annotation.
virtual void setIconName(const U8String &iconName)=0
Set the annotation's icon name.
virtual U8String getIconName() const =0
Get the annotation's icon name. Must not be empty.
virtual ~ITextAnnotation()
Definition interactive.h:2295
A generic interface class for a text markup annotation. It is intended that future releases of JawsMa...
Definition interactive.h:1884
virtual void setQuadPoints(const CQuadPointVect &quadPoints)=0
Set the markup annotation's quad points.
virtual ~ITextMarkupAnnotation()
Definition interactive.h:1886
virtual CQuadPointVect getQuadPoints() const =0
Get the markup annotation's quad points if present.
An interface class for document threads, Currently a stub interface.
Definition interactive.h:2453
virtual ~IThreads()
Definition interactive.h:2455
virtual IThreadsPtr clone() const =0
PointTmpl< double > FPoint
Definition edlgeom.h:102
RectTmpl< double > FRect
Definition edlgeom.h:338
CEDLVector< FPoint > CFPointVect
Definition edlgeom.h:106
unsigned short uint16
Definition edltypes.h:33
unsigned int uint32
Definition edltypes.h:34
signed int int32
Definition edltypes.h:29
eAppearanceUsage
The usage scenario for an annotation appearance.
Definition interactive.h:782
@ eAUDown
The down appearance is used when the mouse button is pressed or held down within the annotation’s act...
Definition interactive.h:785
@ eAURollover
The rollover appearance is used when the user moves the cursor into the annotation’s active area with...
Definition interactive.h:784
@ eAUNormal
The normal appearance is used when the annotation is not interacting with the user....
Definition interactive.h:783
EDL::uint64 DOMid
Type used to uniquely idenitify a DOM node.
Definition idomid.h:17
EDLSysString U8String
A UTF-8 String.
Definition types.h:144
An abstract interface for an object that can be hashed.
Definition apexcustompostprocess.h:17
CEDLVector< uint32 > CUInt32Vect
Definition types.h:178
CEDLSysStringVect CU8StringVect
Definition types.h:167
CEDLVector< CXFAPacket > CXFAPacketVect
Definition interactive.h:499
CEDLVector< IAnnotationReferencePtr > CAnnotationReferenceVect
Definition interactive.h:57
CEDLVector< CFPointVect > CFPointVectVect
Definition interactive.h:1253
CEDLVector< CQuadPoint > CQuadPointVect
Definition interactive.h:1251
CEDLVector< IAnnotationPtr > CAnnotationVect
Definition interactive.h:70
CEDLVector< CFieldOption > CFieldOptionVect
Definition interactive.h:178
CEDLVector< IFormFieldPtr > CFormFieldVect
Definition interactive.h:60
CEDLVector< IAnnotationAppearancePtr > CAnnotationAppearanceVect
Definition interactive.h:65
#define DECL_SMART_PTR(cls)
Definition smartptr.h:211
#define JAWSMAKO_API
Definition types.h:29