A class representing an annotation's border (described in the PDF Specification as BorderStyle). The meaning of a border style depends on the annotation type and not all annotation types will support all attributes of this class, and neither will all PDF versions support all attributes. Please refer to the PDF 1.7 specification for the required styles. JawsMako will only store the attributes that are valid for the given type, but will not signal errors for this case. More...
#include <interactive.h>
Public Types | |
enum | eBorderType { eBTSolid , eBTDashed , eBTBeveled , eBTInset , eBTUnderline } |
Types of border. More... | |
Public Member Functions | |
CAnnotationBorder (float inWidth=1.0f/72.0f *96.0f, const eBorderType &inType=eBTSolid, const CEDLVector< float > &inDash=CEDLVector< float >()) | |
Constructor. | |
Public Attributes | |
float | width |
eBorderType | type |
The type of border. | |
CEDLVector< float > | dash |
A class representing an annotation's border (described in the PDF Specification as BorderStyle). The meaning of a border style depends on the annotation type and not all annotation types will support all attributes of this class, and neither will all PDF versions support all attributes. Please refer to the PDF 1.7 specification for the required styles. JawsMako will only store the attributes that are valid for the given type, but will not signal errors for this case.
Types of border.
|
inline |
CEDLVector<float> JawsMako::CAnnotationBorder::dash |
If the border type is eBTDashed, this is the dash pattern, expressed in standard JawsMako units (96ths of an inch)
float JawsMako::CAnnotationBorder::width |
Width of the border in standard JawsMako units (96ths of an inch); a width of zero indicates that the border is not drawn.