|
| Screen (SDF::Obj d=0) |
|
| Screen (const Annot &ann) |
|
UString | GetTitle () const |
|
void | SetTitle (const UString &title) |
|
Action | GetAction () const |
|
void | SetAction (const Action &action) |
|
int | GetBorderColorCompNum () const |
|
ColorPt | GetBorderColor () const |
|
void | SetBorderColor (const ColorPt &col, int numcomp) |
|
int | GetBackgroundColorCompNum () const |
|
ColorPt | GetBackgroundColor () const |
|
void | SetBackgroundColor (const ColorPt &col, int numcomp) |
|
UString | GetStaticCaptionText () const |
|
void | SetStaticCaptionText (const UString &contents) |
|
UString | GetRolloverCaptionText () const |
|
void | SetRolloverCaptionText (const UString &contents) |
|
UString | GetMouseDownCaptionText () const |
|
void | SetMouseDownCaptionText (const UString &contents) |
|
SDF::Obj | GetStaticIcon () const |
|
void | SetStaticIcon (SDF::Obj icon) |
|
SDF::Obj | GetRolloverIcon () const |
|
void | SetRolloverIcon (SDF::Obj icon) |
|
SDF::Obj | GetMouseDownIcon () const |
|
void | SetMouseDownIcon (SDF::Obj icon) |
|
IconCaptionRelation | GetIconCaptionRelation () const |
|
void | SetIconCaptionRelation (IconCaptionRelation icr) |
|
ScaleCondition | GetScaleCondition () const |
|
void | SetScaleCondition (ScaleCondition sc) |
|
ScaleType | GetScaleType () const |
|
void | SetScaleType (ScaleType st) |
|
double | GetHIconLeftOver () const |
|
void | SetHIconLeftOver (double hl) |
|
double | GetVIconLeftOver () const |
|
void | SetVIconLeftOver (double vl) |
|
bool | GetFitFull () const |
|
void | SetFitFull (bool ff) |
|
| Annot (SDF::Obj d=0) |
|
| Annot (const Annot &d) |
|
Annot & | operator= (const Annot &d) |
|
bool | operator== (const Annot &d) |
|
bool | IsValid () const |
|
SDF::Obj | GetSDFObj () const |
|
Type | GetType () const |
|
Rect | GetRect () const |
|
Rect | GetVisibleContentBox () const |
|
bool | IsMarkup () const |
|
void | SetRect (const Rect &pos) |
|
Page | GetPage () const |
|
void | SetPage (const Page &page) |
|
SDF::Obj | GetUniqueID () const |
|
void | SetUniqueID (const char *id, int id_buf_sz=0) |
|
Date | GetDate () const |
|
void | SetDate (const Date &date) |
|
bool | GetFlag (Flag flag) const |
|
void | SetFlag (Flag flag, bool value) |
|
SDF::Obj | GetTriggerAction (Annot::ActionTriggerEvent trigger) |
|
BorderStyle | GetBorderStyle () const |
|
void | SetBorderStyle (const BorderStyle &bs, bool oldStyleOnly=false) |
|
SDF::Obj | GetAppearance (AnnotationState annot_state=e_normal, const char *app_state=0) |
|
void | SetAppearance (SDF::Obj app_stream, AnnotationState annot_state=e_normal, const char *app_state=0) |
|
void | RemoveAppearance (AnnotationState annot_state=e_normal, const char *app_state=0) |
|
void | Flatten (class Page page) |
|
const char * | GetActiveAppearanceState () const |
|
void | SetActiveAppearanceState (const char *astate) |
|
ColorPt | GetColorAsRGB () const |
|
ColorPt | GetColorAsCMYK () const |
|
ColorPt | GetColorAsGray () const |
|
int | GetColorCompNum () const |
|
void | SetColor (const ColorPt &col, int numcomp=3) |
|
int | GetStructParent () const |
|
void | SetStructParent (const int parkeyval) |
|
SDF::Obj | GetOptionalContent () const |
|
void | SetOptionalContent (SDF::Obj content) |
|
void | SetContents (const UString &contents) |
|
UString | GetContents () const |
|
int | GetRotation () const |
|
void | SetRotation (int angle) |
|
void | RefreshAppearance () |
|
void | RefreshAppearance (const RefreshOptions &options) |
|
UString | GetCustomData (const UString &key) const |
|
void | SetCustomData (const UString &key, const UString &value) |
|
void | DeleteCustomData (const UString &key) |
|
void | Resize (const Rect &newrect) |
|
ptrdiff_t | GetHandleInternal () |
|
A screen annotation (PDF 1.5) specifies a region of a page upon which media clips may be played. It also serves as an object from which actions can be triggered.
Definition at line 18 of file Screen.h.
This enum represents the scale type of the annotation.
e_Anamorphic - Scale the icon to fill the annotation rectangle exactly, without regard to its original aspect ratio (ratio of width to height). e_Proportional - Scale the icon to fit the width or height of the annotation rectangle while maintaining the icon's original aspect ratio. If the required horizontal and vertical scaling factors are different, use the smaller of the two, centering the icon within the annotation rectangle in the other dimension. Default value: e_Proportional.
Enumerator |
---|
e_Anamorphic |
|
e_Proportional |
|
Definition at line 363 of file Screen.h.