Documentation
¶
Overview ¶
Package pdfkit provides a fluent Go API over the macOS PDFKit framework.
Construction ¶
New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.
Lifecycle ¶
A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.
Main-thread requirements ¶
Methods, setters, and constructors of classes Apple isolates to the main thread run there automatically; callers never need to arrange main-thread dispatch for the generated API.
Delegates ¶
A …Delegate interface is implemented by a plain Go value and installed with the matching With… setter; the package builds the Objective-C delegate object behind the scenes. Optional protocol methods are separate one-method …Handler interfaces — implement the ones you need on the same value and the framework calls them too.
Types ¶
Each base type below lists the concrete types you construct and pass where the base is accepted:
- Action: ActionGoTo, ActionNamed, ActionRemoteGoTo, ActionResetForm, ActionURL
- Annotation: AnnotationButtonWidget, AnnotationChoiceWidget, AnnotationCircle, AnnotationFreeText, AnnotationInk, AnnotationLine, AnnotationLink, AnnotationMarkup, AnnotationPopup, AnnotationSquare, AnnotationStamp, AnnotationText, AnnotationTextWidget
Index ¶
- func KPDFAnnotationKey_Action() obj.Object
- func KPDFAnnotationKey_AdditionalActions() obj.Object
- func KPDFAnnotationKey_AppearanceDictionary() obj.Object
- func KPDFAnnotationKey_AppearanceState() obj.Object
- func KPDFAnnotationKey_Border() obj.Object
- func KPDFAnnotationKey_BorderStyle() obj.Object
- func KPDFAnnotationKey_Color() obj.Object
- func KPDFAnnotationKey_Contents() obj.Object
- func KPDFAnnotationKey_Date() obj.Object
- func KPDFAnnotationKey_DefaultAppearance() obj.Object
- func KPDFAnnotationKey_Destination() obj.Object
- func KPDFAnnotationKey_Flags() obj.Object
- func KPDFAnnotationKey_HighlightingMode() obj.Object
- func KPDFAnnotationKey_IconName() obj.Object
- func KPDFAnnotationKey_Inklist() obj.Object
- func KPDFAnnotationKey_InteriorColor() obj.Object
- func KPDFAnnotationKey_LineEndingStyles() obj.Object
- func KPDFAnnotationKey_LinePoints() obj.Object
- func KPDFAnnotationKey_Name() obj.Object
- func KPDFAnnotationKey_Open() obj.Object
- func KPDFAnnotationKey_Page() obj.Object
- func KPDFAnnotationKey_Parent() obj.Object
- func KPDFAnnotationKey_Popup() obj.Object
- func KPDFAnnotationKey_QuadPoints() obj.Object
- func KPDFAnnotationKey_Quadding() obj.Object
- func KPDFAnnotationKey_Rect() obj.Object
- func KPDFAnnotationKey_Subtype() obj.Object
- func KPDFAnnotationKey_TextLabel() obj.Object
- func KPDFAnnotationKey_WidgetAppearanceDictionary() obj.Object
- func KPDFAnnotationKey_WidgetDefaultValue() obj.Object
- func KPDFAnnotationKey_WidgetFieldFlags() obj.Object
- func KPDFAnnotationKey_WidgetFieldType() obj.Object
- func KPDFAnnotationKey_WidgetMaxLen() obj.Object
- func KPDFAnnotationKey_WidgetOptions() obj.Object
- func KPDFAnnotationKey_WidgetTextLabelUI() obj.Object
- func KPDFAnnotationKey_WidgetValue() obj.Object
- func KPDFDestinationUnspecifiedValue() float64
- func NameForLineStyle(style LineStyle) string
- func PDFAnnotationHighlightingModeInvert() obj.Object
- func PDFAnnotationHighlightingModeNone() obj.Object
- func PDFAnnotationHighlightingModeOutline() obj.Object
- func PDFAnnotationHighlightingModePush() obj.Object
- func PDFAnnotationKeyAction() obj.Object
- func PDFAnnotationKeyAdditionalActions() obj.Object
- func PDFAnnotationKeyAppearanceDictionary() obj.Object
- func PDFAnnotationKeyAppearanceState() obj.Object
- func PDFAnnotationKeyBorder() obj.Object
- func PDFAnnotationKeyBorderStyle() obj.Object
- func PDFAnnotationKeyColor() obj.Object
- func PDFAnnotationKeyContents() obj.Object
- func PDFAnnotationKeyDate() obj.Object
- func PDFAnnotationKeyDefaultAppearance() obj.Object
- func PDFAnnotationKeyDestination() obj.Object
- func PDFAnnotationKeyFlags() obj.Object
- func PDFAnnotationKeyHighlightingMode() obj.Object
- func PDFAnnotationKeyIconName() obj.Object
- func PDFAnnotationKeyInklist() obj.Object
- func PDFAnnotationKeyInteriorColor() obj.Object
- func PDFAnnotationKeyLineEndingStyles() obj.Object
- func PDFAnnotationKeyLinePoints() obj.Object
- func PDFAnnotationKeyName() obj.Object
- func PDFAnnotationKeyOpen() obj.Object
- func PDFAnnotationKeyPage() obj.Object
- func PDFAnnotationKeyParent() obj.Object
- func PDFAnnotationKeyPopup() obj.Object
- func PDFAnnotationKeyQuadPoints() obj.Object
- func PDFAnnotationKeyQuadding() obj.Object
- func PDFAnnotationKeyRect() obj.Object
- func PDFAnnotationKeySubtype() obj.Object
- func PDFAnnotationKeyTextLabel() obj.Object
- func PDFAnnotationKeyWidgetAppearanceDictionary() obj.Object
- func PDFAnnotationKeyWidgetBackgroundColor() obj.Object
- func PDFAnnotationKeyWidgetBorderColor() obj.Object
- func PDFAnnotationKeyWidgetCaption() obj.Object
- func PDFAnnotationKeyWidgetDefaultValue() obj.Object
- func PDFAnnotationKeyWidgetDownCaption() obj.Object
- func PDFAnnotationKeyWidgetFieldFlags() obj.Object
- func PDFAnnotationKeyWidgetFieldType() obj.Object
- func PDFAnnotationKeyWidgetMaxLen() obj.Object
- func PDFAnnotationKeyWidgetOptions() obj.Object
- func PDFAnnotationKeyWidgetRolloverCaption() obj.Object
- func PDFAnnotationKeyWidgetRotation() obj.Object
- func PDFAnnotationKeyWidgetTextLabelUI() obj.Object
- func PDFAnnotationKeyWidgetValue() obj.Object
- func PDFAnnotationLineEndingStyleCircle() obj.Object
- func PDFAnnotationLineEndingStyleClosedArrow() obj.Object
- func PDFAnnotationLineEndingStyleDiamond() obj.Object
- func PDFAnnotationLineEndingStyleNone() obj.Object
- func PDFAnnotationLineEndingStyleOpenArrow() obj.Object
- func PDFAnnotationLineEndingStyleSquare() obj.Object
- func PDFAnnotationSubtypeCircle() obj.Object
- func PDFAnnotationSubtypeFreeText() obj.Object
- func PDFAnnotationSubtypeHighlight() obj.Object
- func PDFAnnotationSubtypeInk() obj.Object
- func PDFAnnotationSubtypeLine() obj.Object
- func PDFAnnotationSubtypeLink() obj.Object
- func PDFAnnotationSubtypePopup() obj.Object
- func PDFAnnotationSubtypeSquare() obj.Object
- func PDFAnnotationSubtypeStamp() obj.Object
- func PDFAnnotationSubtypeStrikeOut() obj.Object
- func PDFAnnotationSubtypeText() obj.Object
- func PDFAnnotationSubtypeUnderline() obj.Object
- func PDFAnnotationSubtypeWidget() obj.Object
- func PDFAnnotationTextIconTypeComment() obj.Object
- func PDFAnnotationTextIconTypeHelp() obj.Object
- func PDFAnnotationTextIconTypeInsert() obj.Object
- func PDFAnnotationTextIconTypeKey() obj.Object
- func PDFAnnotationTextIconTypeNewParagraph() obj.Object
- func PDFAnnotationTextIconTypeNote() obj.Object
- func PDFAnnotationTextIconTypeParagraph() obj.Object
- func PDFAnnotationWidgetSubtypeButton() obj.Object
- func PDFAnnotationWidgetSubtypeChoice() obj.Object
- func PDFAnnotationWidgetSubtypeSignature() obj.Object
- func PDFAnnotationWidgetSubtypeText() obj.Object
- func PDFAppearanceCharacteristicsKeyBackgroundColor() obj.Object
- func PDFAppearanceCharacteristicsKeyBorderColor() obj.Object
- func PDFAppearanceCharacteristicsKeyCaption() obj.Object
- func PDFAppearanceCharacteristicsKeyDownCaption() obj.Object
- func PDFAppearanceCharacteristicsKeyRolloverCaption() obj.Object
- func PDFAppearanceCharacteristicsKeyRotation() obj.Object
- func PDFBorderKeyDashPattern() obj.Object
- func PDFBorderKeyLineWidth() obj.Object
- func PDFBorderKeyStyle() obj.Object
- func PDFDocumentAccessPermissionsOption() obj.Object
- func PDFDocumentAuthorAttribute() obj.Object
- func PDFDocumentBurnInAnnotationsOption() obj.Object
- func PDFDocumentCreationDateAttribute() obj.Object
- func PDFDocumentCreatorAttribute() obj.Object
- func PDFDocumentDidBeginFindNotification() uintptr
- func PDFDocumentDidBeginPageFindNotification() uintptr
- func PDFDocumentDidBeginPageWriteNotification() uintptr
- func PDFDocumentDidBeginWriteNotification() uintptr
- func PDFDocumentDidEndFindNotification() uintptr
- func PDFDocumentDidEndPageFindNotification() uintptr
- func PDFDocumentDidEndPageWriteNotification() uintptr
- func PDFDocumentDidEndWriteNotification() uintptr
- func PDFDocumentDidFindMatchNotification() uintptr
- func PDFDocumentDidUnlockNotification() uintptr
- func PDFDocumentFoundSelectionKey() obj.Object
- func PDFDocumentKeywordsAttribute() obj.Object
- func PDFDocumentModificationDateAttribute() obj.Object
- func PDFDocumentOptimizeImagesForScreenOption() obj.Object
- func PDFDocumentOwnerPasswordOption() obj.Object
- func PDFDocumentPageIndexKey() obj.Object
- func PDFDocumentProducerAttribute() obj.Object
- func PDFDocumentSaveImagesAsJPEGOption() obj.Object
- func PDFDocumentSaveTextFromOCROption() obj.Object
- func PDFDocumentSubjectAttribute() obj.Object
- func PDFDocumentTitleAttribute() obj.Object
- func PDFDocumentUserPasswordOption() obj.Object
- func PDFPageImageInitializationOptionCompressionQuality() obj.Object
- func PDFPageImageInitializationOptionMediaBox() obj.Object
- func PDFPageImageInitializationOptionRotation() obj.Object
- func PDFPageImageInitializationOptionUpscaleIfSmaller() obj.Object
- func PDFThumbnailViewDocumentEditedNotification() obj.Object
- func PDFViewAnnotationHitNotification() uintptr
- func PDFViewAnnotationWillHitNotification() uintptr
- func PDFViewChangedHistoryNotification() uintptr
- func PDFViewCopyPermissionNotification() uintptr
- func PDFViewDisplayBoxChangedNotification() uintptr
- func PDFViewDisplayModeChangedNotification() uintptr
- func PDFViewDocumentChangedNotification() uintptr
- func PDFViewPageChangedNotification() uintptr
- func PDFViewPrintPermissionNotification() uintptr
- func PDFViewScaleChangedNotification() uintptr
- func PDFViewSelectionChangedNotification() uintptr
- func PDFViewVisiblePagesChangedNotification() uintptr
- type AccessPermissions
- type Action
- type ActionGoTo
- type ActionNamed
- type ActionNamedName
- type ActionProvider
- type ActionRemoteGoTo
- func (argt *ActionRemoteGoTo) PageIndex() int
- func (argt *ActionRemoteGoTo) Point() corefoundation.CGPoint
- func (argt *ActionRemoteGoTo) URL() string
- func (argt *ActionRemoteGoTo) WithPageIndex(pageIndex int) *ActionRemoteGoTo
- func (argt *ActionRemoteGoTo) WithPoint(point corefoundation.CGPoint) *ActionRemoteGoTo
- func (argt *ActionRemoteGoTo) WithURL(url string) *ActionRemoteGoTo
- type ActionResetForm
- type ActionURL
- type Annotation
- func AnnotationFromID(id objc.ID) *Annotation
- func NewAnnotationWithBounds(bounds corefoundation.CGRect) *Annotation
- func NewAnnotationWithBoundsForTypeWithProperties(bounds corefoundation.CGRect, annotationType obj.Object, properties obj.Object) *Annotation
- func NewAnnotationWithDictionaryForPage(dictionary obj.Object, page *Page) *Annotation
- func (a *Annotation) Action() unsafe.Pointer
- func (a *Annotation) AddBezierPath(path obj.Object)
- func (a *Annotation) AllowsToggleToOff() bool
- func (a *Annotation) AnnotationKeyValues() unsafe.Pointer
- func (a *Annotation) BackgroundColor() obj.Object
- func (a *Annotation) Border() unsafe.Pointer
- func (a *Annotation) Bounds() corefoundation.CGRect
- func (a *Annotation) ButtonWidgetState() WidgetCellState
- func (a *Annotation) ButtonWidgetStateString() string
- func (a *Annotation) Caption() string
- func (a *Annotation) Choices() []string
- func (a *Annotation) Color() unsafe.Pointer
- func (a *Annotation) Contents() unsafe.Pointer
- func (a *Annotation) Description() string
- func (a *Annotation) Destination() *Destination
- func (a *Annotation) DrawWithBox(box DisplayBox)
- func (a *Annotation) DrawWithBoxInContext(box DisplayBox, context_ coregraphics.CGContextRef)
- func (a *Annotation) EndLineStyle() LineStyle
- func (a *Annotation) EndPoint() corefoundation.CGPoint
- func (a *Annotation) FieldName() string
- func (a *Annotation) Font() obj.Object
- func (a *Annotation) FontColor() obj.Object
- func (a *Annotation) HasAppearanceStream() bool
- func (a *Annotation) HasComb() bool
- func (a *Annotation) IconType() TextAnnotationIconType
- func (a *Annotation) InteriorColor() obj.Object
- func (a *Annotation) IsActivatableTextField() bool
- func (a *Annotation) IsEqual(other obj.Object) bool
- func (a *Annotation) IsHighlighted() bool
- func (a *Annotation) IsKind(className string) bool
- func (a *Annotation) IsListChoice() bool
- func (a *Annotation) IsMultiline() bool
- func (a *Annotation) IsOpen() bool
- func (a *Annotation) IsPasswordField() bool
- func (a *Annotation) IsReadOnly() bool
- func (a *Annotation) MarkupType() MarkupType
- func (a *Annotation) MaximumLength() int
- func (a *Annotation) ModificationDate() unsafe.Pointer
- func (a *Annotation) MouseUpAction() unsafe.Pointer
- func (a *Annotation) Page() *Page
- func (a *Annotation) Paths() []obj.Object
- func (a *Annotation) Popup() unsafe.Pointer
- func (a *Annotation) QuadrilateralPoints() []obj.Object
- func (a *Annotation) RadiosInUnison() bool
- func (a *Annotation) RemoveAllAppearanceStreams()
- func (a *Annotation) RemoveBezierPath(path obj.Object)
- func (a *Annotation) RemoveValueForAnnotationKey(key obj.Object)
- func (a *Annotation) SetBooleanForAnnotationKey(value bool, key obj.Object) bool
- func (a *Annotation) SetRectForAnnotationKey(value corefoundation.CGRect, key obj.Object) bool
- func (a *Annotation) SetValueForAnnotationKey(value obj.Object, key obj.Object) bool
- func (a *Annotation) ShouldDisplay() bool
- func (a *Annotation) ShouldPrint() bool
- func (a *Annotation) StampName() string
- func (a *Annotation) StartLineStyle() LineStyle
- func (a *Annotation) StartPoint() corefoundation.CGPoint
- func (a *Annotation) String() string
- func (a *Annotation) ToolTip() unsafe.Pointer
- func (a *Annotation) Type() string
- func (a *Annotation) URL() string
- func (a *Annotation) UserName() unsafe.Pointer
- func (a *Annotation) ValueForAnnotationKey(key obj.Object) obj.Object
- func (a *Annotation) Values() []string
- func (a *Annotation) WidgetControlType() WidgetControlType
- func (a *Annotation) WidgetDefaultStringValue() string
- func (a *Annotation) WidgetFieldType() string
- func (a *Annotation) WidgetStringValue() string
- func (a *Annotation) WithAction(action unsafe.Pointer) *Annotation
- func (a *Annotation) WithAllowsToggleToOff(allowsToggleToOff bool) *Annotation
- func (a *Annotation) WithBackgroundColor(backgroundColor obj.Object) *Annotation
- func (a *Annotation) WithBorder(border unsafe.Pointer) *Annotation
- func (a *Annotation) WithBounds(bounds corefoundation.CGRect) *Annotation
- func (a *Annotation) WithButtonWidgetState(buttonWidgetState WidgetCellState) *Annotation
- func (a *Annotation) WithButtonWidgetStateString(buttonWidgetStateString string) *Annotation
- func (a *Annotation) WithCaption(caption string) *Annotation
- func (a *Annotation) WithChoices(items ...obj.Object) *Annotation
- func (a *Annotation) WithColor(color unsafe.Pointer) *Annotation
- func (a *Annotation) WithComb(comb bool) *Annotation
- func (a *Annotation) WithContents(contents unsafe.Pointer) *Annotation
- func (a *Annotation) WithDestination(destination *Destination) *Annotation
- func (a *Annotation) WithEndLineStyle(endLineStyle LineStyle) *Annotation
- func (a *Annotation) WithEndPoint(endPoint corefoundation.CGPoint) *Annotation
- func (a *Annotation) WithFieldName(fieldName string) *Annotation
- func (a *Annotation) WithFont(font obj.Object) *Annotation
- func (a *Annotation) WithFontColor(fontColor obj.Object) *Annotation
- func (a *Annotation) WithHighlighted(highlighted bool) *Annotation
- func (a *Annotation) WithIconType(iconType TextAnnotationIconType) *Annotation
- func (a *Annotation) WithInteriorColor(interiorColor obj.Object) *Annotation
- func (a *Annotation) WithListChoice(listChoice bool) *Annotation
- func (a *Annotation) WithMarkupType(markupType MarkupType) *Annotation
- func (a *Annotation) WithMaximumLength(maximumLength int) *Annotation
- func (a *Annotation) WithModificationDate(modificationDate unsafe.Pointer) *Annotation
- func (a *Annotation) WithMouseUpAction(mouseUpAction unsafe.Pointer) *Annotation
- func (a *Annotation) WithMultiline(multiline bool) *Annotation
- func (a *Annotation) WithOpen(open bool) *Annotation
- func (a *Annotation) WithPage(page *Page) *Annotation
- func (a *Annotation) WithPopup(popup unsafe.Pointer) *Annotation
- func (a *Annotation) WithQuadrilateralPoints(items ...obj.Object) *Annotation
- func (a *Annotation) WithRadiosInUnison(radiosInUnison bool) *Annotation
- func (a *Annotation) WithReadOnly(readOnly bool) *Annotation
- func (a *Annotation) WithShouldDisplay(shouldDisplay bool) *Annotation
- func (a *Annotation) WithShouldPrint(shouldPrint bool) *Annotation
- func (a *Annotation) WithStampName(stampName string) *Annotation
- func (a *Annotation) WithStartLineStyle(startLineStyle LineStyle) *Annotation
- func (a *Annotation) WithStartPoint(startPoint corefoundation.CGPoint) *Annotation
- func (a *Annotation) WithType(type_ string) *Annotation
- func (a *Annotation) WithURL(url string) *Annotation
- func (a *Annotation) WithUserName(userName unsafe.Pointer) *Annotation
- func (a *Annotation) WithValues(items ...obj.Object) *Annotation
- func (a *Annotation) WithWidgetControlType(widgetControlType WidgetControlType) *Annotation
- func (a *Annotation) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *Annotation
- func (a *Annotation) WithWidgetFieldType(widgetFieldType obj.Object) *Annotation
- func (a *Annotation) WithWidgetStringValue(widgetStringValue string) *Annotation
- type AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) ControlType() WidgetControlType
- func (abw *AnnotationButtonWidget) OnStateValue() string
- func (abw *AnnotationButtonWidget) SetControlType(type_ WidgetControlType)
- func (abw *AnnotationButtonWidget) SetOnStateValue(name string)
- func (abw *AnnotationButtonWidget) SetState(value int)
- func (abw *AnnotationButtonWidget) State() int
- func (abw *AnnotationButtonWidget) WithAction(action unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithBorder(border unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithCaption(caption string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithChoices(items ...obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithColor(color unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithComb(comb bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithContents(contents unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithDestination(destination *Destination) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithFieldName(fieldName string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithFont(font obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithFontColor(fontColor obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithHighlighted(highlighted bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithListChoice(listChoice bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithMarkupType(markupType MarkupType) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithMaximumLength(maximumLength int) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithMultiline(multiline bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithOpen(open bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithPage(page *Page) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithPopup(popup unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithReadOnly(readOnly bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithShouldPrint(shouldPrint bool) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithStampName(stampName string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithType(type_ string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithURL(url string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithUserName(userName unsafe.Pointer) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithValues(items ...obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationButtonWidget
- func (abw *AnnotationButtonWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationButtonWidget
- type AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) SetIsListChoice(isList bool)
- func (acw *AnnotationChoiceWidget) SetStringValue(value string)
- func (acw *AnnotationChoiceWidget) StringValue() string
- func (acw *AnnotationChoiceWidget) WithAction(action unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithBorder(border unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithCaption(caption string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithChoices(items ...obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithColor(color unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithComb(comb bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithContents(contents unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithDestination(destination *Destination) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithFieldName(fieldName string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithFont(font obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithFontColor(fontColor obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithHighlighted(highlighted bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithListChoice(listChoice bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithMarkupType(markupType MarkupType) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithMaximumLength(maximumLength int) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithMultiline(multiline bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithOpen(open bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithPage(page *Page) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithPopup(popup unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithReadOnly(readOnly bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithShouldPrint(shouldPrint bool) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithStampName(stampName string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithType(type_ string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithURL(url string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithUserName(userName unsafe.Pointer) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithValues(items ...obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationChoiceWidget
- func (acw *AnnotationChoiceWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationChoiceWidget
- type AnnotationCircle
- func (ac *AnnotationCircle) WithAction(action unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithBackgroundColor(backgroundColor obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithBorder(border unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithBounds(bounds corefoundation.CGRect) *AnnotationCircle
- func (ac *AnnotationCircle) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationCircle
- func (ac *AnnotationCircle) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationCircle
- func (ac *AnnotationCircle) WithCaption(caption string) *AnnotationCircle
- func (ac *AnnotationCircle) WithChoices(items ...obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithColor(color unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithComb(comb bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithContents(contents unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithDestination(destination *Destination) *AnnotationCircle
- func (ac *AnnotationCircle) WithEndLineStyle(endLineStyle LineStyle) *AnnotationCircle
- func (ac *AnnotationCircle) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationCircle
- func (ac *AnnotationCircle) WithFieldName(fieldName string) *AnnotationCircle
- func (ac *AnnotationCircle) WithFont(font obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithFontColor(fontColor obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithHighlighted(highlighted bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithIconType(iconType TextAnnotationIconType) *AnnotationCircle
- func (ac *AnnotationCircle) WithInteriorColor(interiorColor obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithListChoice(listChoice bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithMarkupType(markupType MarkupType) *AnnotationCircle
- func (ac *AnnotationCircle) WithMaximumLength(maximumLength int) *AnnotationCircle
- func (ac *AnnotationCircle) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithMultiline(multiline bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithOpen(open bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithPage(page *Page) *AnnotationCircle
- func (ac *AnnotationCircle) WithPopup(popup unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithQuadrilateralPoints(items ...obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithRadiosInUnison(radiosInUnison bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithReadOnly(readOnly bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithShouldDisplay(shouldDisplay bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithShouldPrint(shouldPrint bool) *AnnotationCircle
- func (ac *AnnotationCircle) WithStampName(stampName string) *AnnotationCircle
- func (ac *AnnotationCircle) WithStartLineStyle(startLineStyle LineStyle) *AnnotationCircle
- func (ac *AnnotationCircle) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationCircle
- func (ac *AnnotationCircle) WithType(type_ string) *AnnotationCircle
- func (ac *AnnotationCircle) WithURL(url string) *AnnotationCircle
- func (ac *AnnotationCircle) WithUserName(userName unsafe.Pointer) *AnnotationCircle
- func (ac *AnnotationCircle) WithValues(items ...obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationCircle
- func (ac *AnnotationCircle) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationCircle
- func (ac *AnnotationCircle) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationCircle
- func (ac *AnnotationCircle) WithWidgetStringValue(widgetStringValue string) *AnnotationCircle
- type AnnotationFreeText
- func (aft *AnnotationFreeText) WithAction(action unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithBackgroundColor(backgroundColor obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithBorder(border unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithBounds(bounds corefoundation.CGRect) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithCaption(caption string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithChoices(items ...obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithColor(color unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithComb(comb bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithContents(contents unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithDestination(destination *Destination) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithEndLineStyle(endLineStyle LineStyle) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithFieldName(fieldName string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithFont(font obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithFontColor(fontColor obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithHighlighted(highlighted bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithIconType(iconType TextAnnotationIconType) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithInteriorColor(interiorColor obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithListChoice(listChoice bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithMarkupType(markupType MarkupType) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithMaximumLength(maximumLength int) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithMultiline(multiline bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithOpen(open bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithPage(page *Page) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithPopup(popup unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithQuadrilateralPoints(items ...obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithRadiosInUnison(radiosInUnison bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithReadOnly(readOnly bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithShouldDisplay(shouldDisplay bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithShouldPrint(shouldPrint bool) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithStampName(stampName string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithStartLineStyle(startLineStyle LineStyle) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithType(type_ string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithURL(url string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithUserName(userName unsafe.Pointer) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithValues(items ...obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationFreeText
- func (aft *AnnotationFreeText) WithWidgetStringValue(widgetStringValue string) *AnnotationFreeText
- type AnnotationInk
- func (ai *AnnotationInk) WithAction(action unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationInk
- func (ai *AnnotationInk) WithBackgroundColor(backgroundColor obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithBorder(border unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithBounds(bounds corefoundation.CGRect) *AnnotationInk
- func (ai *AnnotationInk) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationInk
- func (ai *AnnotationInk) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationInk
- func (ai *AnnotationInk) WithCaption(caption string) *AnnotationInk
- func (ai *AnnotationInk) WithChoices(items ...obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithColor(color unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithComb(comb bool) *AnnotationInk
- func (ai *AnnotationInk) WithContents(contents unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithDestination(destination *Destination) *AnnotationInk
- func (ai *AnnotationInk) WithEndLineStyle(endLineStyle LineStyle) *AnnotationInk
- func (ai *AnnotationInk) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationInk
- func (ai *AnnotationInk) WithFieldName(fieldName string) *AnnotationInk
- func (ai *AnnotationInk) WithFont(font obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithFontColor(fontColor obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithHighlighted(highlighted bool) *AnnotationInk
- func (ai *AnnotationInk) WithIconType(iconType TextAnnotationIconType) *AnnotationInk
- func (ai *AnnotationInk) WithInteriorColor(interiorColor obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithListChoice(listChoice bool) *AnnotationInk
- func (ai *AnnotationInk) WithMarkupType(markupType MarkupType) *AnnotationInk
- func (ai *AnnotationInk) WithMaximumLength(maximumLength int) *AnnotationInk
- func (ai *AnnotationInk) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithMultiline(multiline bool) *AnnotationInk
- func (ai *AnnotationInk) WithOpen(open bool) *AnnotationInk
- func (ai *AnnotationInk) WithPage(page *Page) *AnnotationInk
- func (ai *AnnotationInk) WithPopup(popup unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithQuadrilateralPoints(items ...obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithRadiosInUnison(radiosInUnison bool) *AnnotationInk
- func (ai *AnnotationInk) WithReadOnly(readOnly bool) *AnnotationInk
- func (ai *AnnotationInk) WithShouldDisplay(shouldDisplay bool) *AnnotationInk
- func (ai *AnnotationInk) WithShouldPrint(shouldPrint bool) *AnnotationInk
- func (ai *AnnotationInk) WithStampName(stampName string) *AnnotationInk
- func (ai *AnnotationInk) WithStartLineStyle(startLineStyle LineStyle) *AnnotationInk
- func (ai *AnnotationInk) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationInk
- func (ai *AnnotationInk) WithType(type_ string) *AnnotationInk
- func (ai *AnnotationInk) WithURL(url string) *AnnotationInk
- func (ai *AnnotationInk) WithUserName(userName unsafe.Pointer) *AnnotationInk
- func (ai *AnnotationInk) WithValues(items ...obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationInk
- func (ai *AnnotationInk) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationInk
- func (ai *AnnotationInk) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationInk
- func (ai *AnnotationInk) WithWidgetStringValue(widgetStringValue string) *AnnotationInk
- type AnnotationLine
- func (al *AnnotationLine) WithAction(action unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationLine
- func (al *AnnotationLine) WithBackgroundColor(backgroundColor obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithBorder(border unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithBounds(bounds corefoundation.CGRect) *AnnotationLine
- func (al *AnnotationLine) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationLine
- func (al *AnnotationLine) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationLine
- func (al *AnnotationLine) WithCaption(caption string) *AnnotationLine
- func (al *AnnotationLine) WithChoices(items ...obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithColor(color unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithComb(comb bool) *AnnotationLine
- func (al *AnnotationLine) WithContents(contents unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithDestination(destination *Destination) *AnnotationLine
- func (al *AnnotationLine) WithEndLineStyle(endLineStyle LineStyle) *AnnotationLine
- func (al *AnnotationLine) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationLine
- func (al *AnnotationLine) WithFieldName(fieldName string) *AnnotationLine
- func (al *AnnotationLine) WithFont(font obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithFontColor(fontColor obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithHighlighted(highlighted bool) *AnnotationLine
- func (al *AnnotationLine) WithIconType(iconType TextAnnotationIconType) *AnnotationLine
- func (al *AnnotationLine) WithInteriorColor(interiorColor obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithListChoice(listChoice bool) *AnnotationLine
- func (al *AnnotationLine) WithMarkupType(markupType MarkupType) *AnnotationLine
- func (al *AnnotationLine) WithMaximumLength(maximumLength int) *AnnotationLine
- func (al *AnnotationLine) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithMultiline(multiline bool) *AnnotationLine
- func (al *AnnotationLine) WithOpen(open bool) *AnnotationLine
- func (al *AnnotationLine) WithPage(page *Page) *AnnotationLine
- func (al *AnnotationLine) WithPopup(popup unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithQuadrilateralPoints(items ...obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithRadiosInUnison(radiosInUnison bool) *AnnotationLine
- func (al *AnnotationLine) WithReadOnly(readOnly bool) *AnnotationLine
- func (al *AnnotationLine) WithShouldDisplay(shouldDisplay bool) *AnnotationLine
- func (al *AnnotationLine) WithShouldPrint(shouldPrint bool) *AnnotationLine
- func (al *AnnotationLine) WithStampName(stampName string) *AnnotationLine
- func (al *AnnotationLine) WithStartLineStyle(startLineStyle LineStyle) *AnnotationLine
- func (al *AnnotationLine) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationLine
- func (al *AnnotationLine) WithType(type_ string) *AnnotationLine
- func (al *AnnotationLine) WithURL(url string) *AnnotationLine
- func (al *AnnotationLine) WithUserName(userName unsafe.Pointer) *AnnotationLine
- func (al *AnnotationLine) WithValues(items ...obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationLine
- func (al *AnnotationLine) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationLine
- func (al *AnnotationLine) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationLine
- func (al *AnnotationLine) WithWidgetStringValue(widgetStringValue string) *AnnotationLine
- type AnnotationLink
- func (al *AnnotationLink) WithAction(action unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationLink
- func (al *AnnotationLink) WithBackgroundColor(backgroundColor obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithBorder(border unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithBounds(bounds corefoundation.CGRect) *AnnotationLink
- func (al *AnnotationLink) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationLink
- func (al *AnnotationLink) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationLink
- func (al *AnnotationLink) WithCaption(caption string) *AnnotationLink
- func (al *AnnotationLink) WithChoices(items ...obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithColor(color unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithComb(comb bool) *AnnotationLink
- func (al *AnnotationLink) WithContents(contents unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithDestination(destination *Destination) *AnnotationLink
- func (al *AnnotationLink) WithEndLineStyle(endLineStyle LineStyle) *AnnotationLink
- func (al *AnnotationLink) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationLink
- func (al *AnnotationLink) WithFieldName(fieldName string) *AnnotationLink
- func (al *AnnotationLink) WithFont(font obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithFontColor(fontColor obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithHighlighted(highlighted bool) *AnnotationLink
- func (al *AnnotationLink) WithIconType(iconType TextAnnotationIconType) *AnnotationLink
- func (al *AnnotationLink) WithInteriorColor(interiorColor obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithListChoice(listChoice bool) *AnnotationLink
- func (al *AnnotationLink) WithMarkupType(markupType MarkupType) *AnnotationLink
- func (al *AnnotationLink) WithMaximumLength(maximumLength int) *AnnotationLink
- func (al *AnnotationLink) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithMultiline(multiline bool) *AnnotationLink
- func (al *AnnotationLink) WithOpen(open bool) *AnnotationLink
- func (al *AnnotationLink) WithPage(page *Page) *AnnotationLink
- func (al *AnnotationLink) WithPopup(popup unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithQuadrilateralPoints(items ...obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithRadiosInUnison(radiosInUnison bool) *AnnotationLink
- func (al *AnnotationLink) WithReadOnly(readOnly bool) *AnnotationLink
- func (al *AnnotationLink) WithShouldDisplay(shouldDisplay bool) *AnnotationLink
- func (al *AnnotationLink) WithShouldPrint(shouldPrint bool) *AnnotationLink
- func (al *AnnotationLink) WithStampName(stampName string) *AnnotationLink
- func (al *AnnotationLink) WithStartLineStyle(startLineStyle LineStyle) *AnnotationLink
- func (al *AnnotationLink) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationLink
- func (al *AnnotationLink) WithType(type_ string) *AnnotationLink
- func (al *AnnotationLink) WithURL(url string) *AnnotationLink
- func (al *AnnotationLink) WithUserName(userName unsafe.Pointer) *AnnotationLink
- func (al *AnnotationLink) WithValues(items ...obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationLink
- func (al *AnnotationLink) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationLink
- func (al *AnnotationLink) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationLink
- func (al *AnnotationLink) WithWidgetStringValue(widgetStringValue string) *AnnotationLink
- type AnnotationMarkup
- func (am *AnnotationMarkup) WithAction(action unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithBackgroundColor(backgroundColor obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithBorder(border unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithBounds(bounds corefoundation.CGRect) *AnnotationMarkup
- func (am *AnnotationMarkup) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationMarkup
- func (am *AnnotationMarkup) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithCaption(caption string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithChoices(items ...obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithColor(color unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithComb(comb bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithContents(contents unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithDestination(destination *Destination) *AnnotationMarkup
- func (am *AnnotationMarkup) WithEndLineStyle(endLineStyle LineStyle) *AnnotationMarkup
- func (am *AnnotationMarkup) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationMarkup
- func (am *AnnotationMarkup) WithFieldName(fieldName string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithFont(font obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithFontColor(fontColor obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithHighlighted(highlighted bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithIconType(iconType TextAnnotationIconType) *AnnotationMarkup
- func (am *AnnotationMarkup) WithInteriorColor(interiorColor obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithListChoice(listChoice bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithMarkupType(markupType MarkupType) *AnnotationMarkup
- func (am *AnnotationMarkup) WithMaximumLength(maximumLength int) *AnnotationMarkup
- func (am *AnnotationMarkup) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithMultiline(multiline bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithOpen(open bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithPage(page *Page) *AnnotationMarkup
- func (am *AnnotationMarkup) WithPopup(popup unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithQuadrilateralPoints(items ...obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithRadiosInUnison(radiosInUnison bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithReadOnly(readOnly bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithShouldDisplay(shouldDisplay bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithShouldPrint(shouldPrint bool) *AnnotationMarkup
- func (am *AnnotationMarkup) WithStampName(stampName string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithStartLineStyle(startLineStyle LineStyle) *AnnotationMarkup
- func (am *AnnotationMarkup) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationMarkup
- func (am *AnnotationMarkup) WithType(type_ string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithURL(url string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithUserName(userName unsafe.Pointer) *AnnotationMarkup
- func (am *AnnotationMarkup) WithValues(items ...obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationMarkup
- func (am *AnnotationMarkup) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationMarkup
- func (am *AnnotationMarkup) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationMarkup
- func (am *AnnotationMarkup) WithWidgetStringValue(widgetStringValue string) *AnnotationMarkup
- type AnnotationPopup
- func (ap *AnnotationPopup) SetIsOpen(isOpen bool)
- func (ap *AnnotationPopup) WithAction(action unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithBackgroundColor(backgroundColor obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithBorder(border unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithBounds(bounds corefoundation.CGRect) *AnnotationPopup
- func (ap *AnnotationPopup) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationPopup
- func (ap *AnnotationPopup) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationPopup
- func (ap *AnnotationPopup) WithCaption(caption string) *AnnotationPopup
- func (ap *AnnotationPopup) WithChoices(items ...obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithColor(color unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithComb(comb bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithContents(contents unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithDestination(destination *Destination) *AnnotationPopup
- func (ap *AnnotationPopup) WithEndLineStyle(endLineStyle LineStyle) *AnnotationPopup
- func (ap *AnnotationPopup) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationPopup
- func (ap *AnnotationPopup) WithFieldName(fieldName string) *AnnotationPopup
- func (ap *AnnotationPopup) WithFont(font obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithFontColor(fontColor obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithHighlighted(highlighted bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithIconType(iconType TextAnnotationIconType) *AnnotationPopup
- func (ap *AnnotationPopup) WithInteriorColor(interiorColor obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithListChoice(listChoice bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithMarkupType(markupType MarkupType) *AnnotationPopup
- func (ap *AnnotationPopup) WithMaximumLength(maximumLength int) *AnnotationPopup
- func (ap *AnnotationPopup) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithMultiline(multiline bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithOpen(open bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithPage(page *Page) *AnnotationPopup
- func (ap *AnnotationPopup) WithPopup(popup unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithQuadrilateralPoints(items ...obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithRadiosInUnison(radiosInUnison bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithReadOnly(readOnly bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithShouldDisplay(shouldDisplay bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithShouldPrint(shouldPrint bool) *AnnotationPopup
- func (ap *AnnotationPopup) WithStampName(stampName string) *AnnotationPopup
- func (ap *AnnotationPopup) WithStartLineStyle(startLineStyle LineStyle) *AnnotationPopup
- func (ap *AnnotationPopup) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationPopup
- func (ap *AnnotationPopup) WithType(type_ string) *AnnotationPopup
- func (ap *AnnotationPopup) WithURL(url string) *AnnotationPopup
- func (ap *AnnotationPopup) WithUserName(userName unsafe.Pointer) *AnnotationPopup
- func (ap *AnnotationPopup) WithValues(items ...obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationPopup
- func (ap *AnnotationPopup) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationPopup
- func (ap *AnnotationPopup) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationPopup
- func (ap *AnnotationPopup) WithWidgetStringValue(widgetStringValue string) *AnnotationPopup
- type AnnotationProvider
- type AnnotationSquare
- func (as *AnnotationSquare) WithAction(action unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationSquare
- func (as *AnnotationSquare) WithBackgroundColor(backgroundColor obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithBorder(border unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithBounds(bounds corefoundation.CGRect) *AnnotationSquare
- func (as *AnnotationSquare) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationSquare
- func (as *AnnotationSquare) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationSquare
- func (as *AnnotationSquare) WithCaption(caption string) *AnnotationSquare
- func (as *AnnotationSquare) WithChoices(items ...obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithColor(color unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithComb(comb bool) *AnnotationSquare
- func (as *AnnotationSquare) WithContents(contents unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithDestination(destination *Destination) *AnnotationSquare
- func (as *AnnotationSquare) WithEndLineStyle(endLineStyle LineStyle) *AnnotationSquare
- func (as *AnnotationSquare) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationSquare
- func (as *AnnotationSquare) WithFieldName(fieldName string) *AnnotationSquare
- func (as *AnnotationSquare) WithFont(font obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithFontColor(fontColor obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithHighlighted(highlighted bool) *AnnotationSquare
- func (as *AnnotationSquare) WithIconType(iconType TextAnnotationIconType) *AnnotationSquare
- func (as *AnnotationSquare) WithInteriorColor(interiorColor obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithListChoice(listChoice bool) *AnnotationSquare
- func (as *AnnotationSquare) WithMarkupType(markupType MarkupType) *AnnotationSquare
- func (as *AnnotationSquare) WithMaximumLength(maximumLength int) *AnnotationSquare
- func (as *AnnotationSquare) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithMultiline(multiline bool) *AnnotationSquare
- func (as *AnnotationSquare) WithOpen(open bool) *AnnotationSquare
- func (as *AnnotationSquare) WithPage(page *Page) *AnnotationSquare
- func (as *AnnotationSquare) WithPopup(popup unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithQuadrilateralPoints(items ...obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithRadiosInUnison(radiosInUnison bool) *AnnotationSquare
- func (as *AnnotationSquare) WithReadOnly(readOnly bool) *AnnotationSquare
- func (as *AnnotationSquare) WithShouldDisplay(shouldDisplay bool) *AnnotationSquare
- func (as *AnnotationSquare) WithShouldPrint(shouldPrint bool) *AnnotationSquare
- func (as *AnnotationSquare) WithStampName(stampName string) *AnnotationSquare
- func (as *AnnotationSquare) WithStartLineStyle(startLineStyle LineStyle) *AnnotationSquare
- func (as *AnnotationSquare) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationSquare
- func (as *AnnotationSquare) WithType(type_ string) *AnnotationSquare
- func (as *AnnotationSquare) WithURL(url string) *AnnotationSquare
- func (as *AnnotationSquare) WithUserName(userName unsafe.Pointer) *AnnotationSquare
- func (as *AnnotationSquare) WithValues(items ...obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationSquare
- func (as *AnnotationSquare) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationSquare
- func (as *AnnotationSquare) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationSquare
- func (as *AnnotationSquare) WithWidgetStringValue(widgetStringValue string) *AnnotationSquare
- type AnnotationStamp
- func (as *AnnotationStamp) Name() string
- func (as *AnnotationStamp) SetName(name string)
- func (as *AnnotationStamp) WithAction(action unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationStamp
- func (as *AnnotationStamp) WithBackgroundColor(backgroundColor obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithBorder(border unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithBounds(bounds corefoundation.CGRect) *AnnotationStamp
- func (as *AnnotationStamp) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationStamp
- func (as *AnnotationStamp) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationStamp
- func (as *AnnotationStamp) WithCaption(caption string) *AnnotationStamp
- func (as *AnnotationStamp) WithChoices(items ...obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithColor(color unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithComb(comb bool) *AnnotationStamp
- func (as *AnnotationStamp) WithContents(contents unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithDestination(destination *Destination) *AnnotationStamp
- func (as *AnnotationStamp) WithEndLineStyle(endLineStyle LineStyle) *AnnotationStamp
- func (as *AnnotationStamp) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationStamp
- func (as *AnnotationStamp) WithFieldName(fieldName string) *AnnotationStamp
- func (as *AnnotationStamp) WithFont(font obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithFontColor(fontColor obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithHighlighted(highlighted bool) *AnnotationStamp
- func (as *AnnotationStamp) WithIconType(iconType TextAnnotationIconType) *AnnotationStamp
- func (as *AnnotationStamp) WithInteriorColor(interiorColor obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithListChoice(listChoice bool) *AnnotationStamp
- func (as *AnnotationStamp) WithMarkupType(markupType MarkupType) *AnnotationStamp
- func (as *AnnotationStamp) WithMaximumLength(maximumLength int) *AnnotationStamp
- func (as *AnnotationStamp) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithMultiline(multiline bool) *AnnotationStamp
- func (as *AnnotationStamp) WithOpen(open bool) *AnnotationStamp
- func (as *AnnotationStamp) WithPage(page *Page) *AnnotationStamp
- func (as *AnnotationStamp) WithPopup(popup unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithQuadrilateralPoints(items ...obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithRadiosInUnison(radiosInUnison bool) *AnnotationStamp
- func (as *AnnotationStamp) WithReadOnly(readOnly bool) *AnnotationStamp
- func (as *AnnotationStamp) WithShouldDisplay(shouldDisplay bool) *AnnotationStamp
- func (as *AnnotationStamp) WithShouldPrint(shouldPrint bool) *AnnotationStamp
- func (as *AnnotationStamp) WithStampName(stampName string) *AnnotationStamp
- func (as *AnnotationStamp) WithStartLineStyle(startLineStyle LineStyle) *AnnotationStamp
- func (as *AnnotationStamp) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationStamp
- func (as *AnnotationStamp) WithType(type_ string) *AnnotationStamp
- func (as *AnnotationStamp) WithURL(url string) *AnnotationStamp
- func (as *AnnotationStamp) WithUserName(userName unsafe.Pointer) *AnnotationStamp
- func (as *AnnotationStamp) WithValues(items ...obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationStamp
- func (as *AnnotationStamp) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationStamp
- func (as *AnnotationStamp) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationStamp
- func (as *AnnotationStamp) WithWidgetStringValue(widgetStringValue string) *AnnotationStamp
- type AnnotationText
- func (at *AnnotationText) WithAction(action unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationText
- func (at *AnnotationText) WithBackgroundColor(backgroundColor obj.Object) *AnnotationText
- func (at *AnnotationText) WithBorder(border unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithBounds(bounds corefoundation.CGRect) *AnnotationText
- func (at *AnnotationText) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationText
- func (at *AnnotationText) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationText
- func (at *AnnotationText) WithCaption(caption string) *AnnotationText
- func (at *AnnotationText) WithChoices(items ...obj.Object) *AnnotationText
- func (at *AnnotationText) WithColor(color unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithComb(comb bool) *AnnotationText
- func (at *AnnotationText) WithContents(contents unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithDestination(destination *Destination) *AnnotationText
- func (at *AnnotationText) WithEndLineStyle(endLineStyle LineStyle) *AnnotationText
- func (at *AnnotationText) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationText
- func (at *AnnotationText) WithFieldName(fieldName string) *AnnotationText
- func (at *AnnotationText) WithFont(font obj.Object) *AnnotationText
- func (at *AnnotationText) WithFontColor(fontColor obj.Object) *AnnotationText
- func (at *AnnotationText) WithHighlighted(highlighted bool) *AnnotationText
- func (at *AnnotationText) WithIconType(iconType TextAnnotationIconType) *AnnotationText
- func (at *AnnotationText) WithInteriorColor(interiorColor obj.Object) *AnnotationText
- func (at *AnnotationText) WithListChoice(listChoice bool) *AnnotationText
- func (at *AnnotationText) WithMarkupType(markupType MarkupType) *AnnotationText
- func (at *AnnotationText) WithMaximumLength(maximumLength int) *AnnotationText
- func (at *AnnotationText) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithMultiline(multiline bool) *AnnotationText
- func (at *AnnotationText) WithOpen(open bool) *AnnotationText
- func (at *AnnotationText) WithPage(page *Page) *AnnotationText
- func (at *AnnotationText) WithPopup(popup unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithQuadrilateralPoints(items ...obj.Object) *AnnotationText
- func (at *AnnotationText) WithRadiosInUnison(radiosInUnison bool) *AnnotationText
- func (at *AnnotationText) WithReadOnly(readOnly bool) *AnnotationText
- func (at *AnnotationText) WithShouldDisplay(shouldDisplay bool) *AnnotationText
- func (at *AnnotationText) WithShouldPrint(shouldPrint bool) *AnnotationText
- func (at *AnnotationText) WithStampName(stampName string) *AnnotationText
- func (at *AnnotationText) WithStartLineStyle(startLineStyle LineStyle) *AnnotationText
- func (at *AnnotationText) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationText
- func (at *AnnotationText) WithType(type_ string) *AnnotationText
- func (at *AnnotationText) WithURL(url string) *AnnotationText
- func (at *AnnotationText) WithUserName(userName unsafe.Pointer) *AnnotationText
- func (at *AnnotationText) WithValues(items ...obj.Object) *AnnotationText
- func (at *AnnotationText) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationText
- func (at *AnnotationText) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationText
- func (at *AnnotationText) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationText
- func (at *AnnotationText) WithWidgetStringValue(widgetStringValue string) *AnnotationText
- type AnnotationTextWidget
- func (atw *AnnotationTextWidget) AttributedStringValue() *foundation.AttributedString
- func (atw *AnnotationTextWidget) Rotation() int
- func (atw *AnnotationTextWidget) SetAttributedStringValue(value obj.Object)
- func (atw *AnnotationTextWidget) SetIsMultiline(multiline bool)
- func (atw *AnnotationTextWidget) SetRotation(rotation int)
- func (atw *AnnotationTextWidget) SetStringValue(value string)
- func (atw *AnnotationTextWidget) StringValue() string
- func (atw *AnnotationTextWidget) WithAction(action unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithBorder(border unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithCaption(caption string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithChoices(items ...obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithColor(color unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithComb(comb bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithContents(contents unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithDestination(destination *Destination) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithFieldName(fieldName string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithFont(font obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithFontColor(fontColor obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithHighlighted(highlighted bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithListChoice(listChoice bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithMarkupType(markupType MarkupType) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithMaximumLength(maximumLength int) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithMultiline(multiline bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithOpen(open bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithPage(page *Page) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithPopup(popup unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithReadOnly(readOnly bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithShouldPrint(shouldPrint bool) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithStampName(stampName string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithType(type_ string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithURL(url string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithUserName(userName unsafe.Pointer) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithValues(items ...obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationTextWidget
- func (atw *AnnotationTextWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationTextWidget
- type AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) AppearanceCharacteristicsKeyValues() obj.Object
- func (ac *AppearanceCharacteristics) BackgroundColor() obj.Object
- func (ac *AppearanceCharacteristics) BorderColor() obj.Object
- func (ac *AppearanceCharacteristics) Caption() string
- func (ac *AppearanceCharacteristics) ControlType() WidgetControlType
- func (ac *AppearanceCharacteristics) Description() string
- func (ac *AppearanceCharacteristics) DownCaption() string
- func (ac *AppearanceCharacteristics) IsEqual(other obj.Object) bool
- func (ac *AppearanceCharacteristics) IsKind(className string) bool
- func (ac *AppearanceCharacteristics) RolloverCaption() string
- func (ac *AppearanceCharacteristics) Rotation() int
- func (ac *AppearanceCharacteristics) String() string
- func (ac *AppearanceCharacteristics) WithBackgroundColor(backgroundColor obj.Object) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithBorderColor(borderColor obj.Object) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithCaption(caption string) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithControlType(controlType WidgetControlType) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithDownCaption(downCaption string) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithRolloverCaption(rolloverCaption string) *AppearanceCharacteristics
- func (ac *AppearanceCharacteristics) WithRotation(rotation int) *AppearanceCharacteristics
- type AreaOfInterest
- type Border
- func (b *Border) BorderKeyValues() obj.Object
- func (b *Border) DashPattern() obj.Object
- func (b *Border) Description() string
- func (b *Border) DrawInRect(rect corefoundation.CGRect)
- func (b *Border) IsEqual(other obj.Object) bool
- func (b *Border) IsKind(className string) bool
- func (b *Border) LineWidth() float64
- func (b *Border) SetDashPattern(dashPattern obj.Object)
- func (b *Border) String() string
- func (b *Border) Style() BorderStyle
- func (b *Border) WithLineWidth(lineWidth float64) *Border
- func (b *Border) WithStyle(style BorderStyle) *Border
- type BorderStyle
- type CGLCPContextPriorityRequest
- type Clockid
- type Destination
- func (d *Destination) Description() string
- func (d *Destination) IsEqual(other obj.Object) bool
- func (d *Destination) IsKind(className string) bool
- func (d *Destination) Page() *Page
- func (d *Destination) Point() corefoundation.CGPoint
- func (d *Destination) String() string
- func (d *Destination) WithZoom(zoom float64) *Destination
- func (d *Destination) Zoom() float64
- type DispatchAutoreleaseFrequency
- type DispatchBlockFlags
- type DisplayBox
- type DisplayDirection
- type DisplayMode
- type Document
- func (d *Document) AccessPermissions() AccessPermissions
- func (d *Document) AllowsCommenting() bool
- func (d *Document) AllowsContentAccessibility() bool
- func (d *Document) AllowsCopying() bool
- func (d *Document) AllowsDocumentAssembly() bool
- func (d *Document) AllowsDocumentChanges() bool
- func (d *Document) AllowsFormFieldEntry() bool
- func (d *Document) AllowsPrinting() bool
- func (d *Document) CancelFindString()
- func (d *Document) DataRepresentation() []byte
- func (d *Document) DataRepresentationWithOptions(options obj.Object) []byte
- func (d *Document) Description() string
- func (d *Document) DocumentAttributes() obj.Object
- func (d *Document) DocumentRef() coregraphics.CGPDFDocumentRef
- func (d *Document) DocumentURL() string
- func (d *Document) ExchangePageAtIndexWithPageAtIndex(indexA int, indexB int)
- func (d *Document) IndexForPage(page *Page) int
- func (d *Document) InsertPageAtIndex(page *Page, index int)
- func (d *Document) IsEncrypted() bool
- func (d *Document) IsEqual(other obj.Object) bool
- func (d *Document) IsFinding() bool
- func (d *Document) IsKind(className string) bool
- func (d *Document) IsLocked() bool
- func (d *Document) MajorVersion() int
- func (d *Document) MinorVersion() int
- func (d *Document) OutlineItemForSelection(selection *Selection) *Outline
- func (d *Document) OutlineRoot() unsafe.Pointer
- func (d *Document) PageAtIndex(index int) *Page
- func (d *Document) PageCount() int
- func (d *Document) PermissionsStatus() DocumentPermissions
- func (d *Document) PrintOperationForPrintInfoScalingModeAutoRotate(printInfo obj.Object, scaleMode PrintScalingMode, doRotate bool) obj.Object
- func (d *Document) RemovePageAtIndex(index int)
- func (d *Document) SelectionForEntireDocument() *Selection
- func (d *Document) SelectionFromPageAtCharacterIndexToPageAtCharacterIndex(startPage *Page, startCharacter int, endPage *Page, endCharacter int) *Selection
- func (d *Document) SelectionFromPageAtPointToPageAtPoint(startPage *Page, startPoint corefoundation.CGPoint, endPage *Page, ...) *Selection
- func (d *Document) SelectionFromPageAtPointToPageAtPointWithGranularity(startPage *Page, startPoint corefoundation.CGPoint, endPage *Page, ...) *Selection
- func (d *Document) String() string
- func (d *Document) UnlockWithPassword(password string) bool
- func (d *Document) WithDelegate(delegate DocumentDelegate) *Document
- func (d *Document) WithDocumentAttributes(documentAttributes obj.Object) *Document
- func (d *Document) WithOutlineRoot(outlineRoot unsafe.Pointer) *Document
- func (d *Document) WriteToFile(path string) bool
- func (d *Document) WriteToFileWithOptions(path string, options obj.Object) bool
- func (d *Document) WriteToURL(url string) bool
- func (d *Document) WriteToURLWithOptions(url string, options obj.Object) bool
- type DocumentDelegate
- type DocumentDelegateDidMatchStringHandler
- type DocumentDelegateDocumentDidBeginDocumentFindHandler
- type DocumentDelegateDocumentDidBeginPageFindHandler
- type DocumentDelegateDocumentDidEndDocumentFindHandler
- type DocumentDelegateDocumentDidEndPageFindHandler
- type DocumentDelegateDocumentDidFindMatchHandler
- type DocumentDelegateDocumentDidUnlockHandler
- type DocumentPermissions
- type EntryID
- type EvCmd
- type FilesecProperty
- type Flag
- type Idtype
- type InterpolationQuality
- type IpcInfoObjectType
- type LaunchDataType
- type LineStyle
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type MachVMRangeFlags
- type MachVMRangeFlavor
- type MachVMRangeTag
- type MarkupType
- type MpoFlags
- type NXMouseButton
- type OSClockid
- type OSUnfairLockFlags
- type Outline
- func (o *Outline) Action() unsafe.Pointer
- func (o *Outline) ChildAtIndex(index int) *Outline
- func (o *Outline) Description() string
- func (o *Outline) Destination() *Destination
- func (o *Outline) Document() *Document
- func (o *Outline) Index() int
- func (o *Outline) InsertChildAtIndex(child *Outline, index int)
- func (o *Outline) IsEqual(other obj.Object) bool
- func (o *Outline) IsKind(className string) bool
- func (o *Outline) IsOpen() bool
- func (o *Outline) Label() string
- func (o *Outline) NumberOfChildren() int
- func (o *Outline) Parent() unsafe.Pointer
- func (o *Outline) RemoveFromParent()
- func (o *Outline) String() string
- func (o *Outline) WithAction(action unsafe.Pointer) *Outline
- func (o *Outline) WithDestination(destination *Destination) *Outline
- func (o *Outline) WithIsOpen(isOpen bool) *Outline
- func (o *Outline) WithLabel(label string) *Outline
- type PMPageToPaperMappingType
- type Page
- func (p *Page) AddAnnotation(annotation *Annotation)
- func (p *Page) AnnotationAtPoint(point corefoundation.CGPoint) *Annotation
- func (p *Page) Annotations() []*Annotation
- func (p *Page) AttributedString() *foundation.AttributedString
- func (p *Page) BoundsForBox(box DisplayBox) corefoundation.CGRect
- func (p *Page) CharacterBoundsAtIndex(index int) corefoundation.CGRect
- func (p *Page) CharacterIndexAtPoint(point corefoundation.CGPoint) int
- func (p *Page) DataRepresentation() []byte
- func (p *Page) Description() string
- func (p *Page) DisplaysAnnotations() bool
- func (p *Page) Document() *Document
- func (p *Page) DrawWithBox(box DisplayBox)
- func (p *Page) DrawWithBoxToContext(box DisplayBox, context_ coregraphics.CGContextRef)
- func (p *Page) IsEqual(other obj.Object) bool
- func (p *Page) IsKind(className string) bool
- func (p *Page) Label() string
- func (p *Page) NumberOfCharacters() int
- func (p *Page) PageRef() coregraphics.CGPDFPageRef
- func (p *Page) RemoveAnnotation(annotation *Annotation)
- func (p *Page) Rotation() int
- func (p *Page) SelectionForLineAtPoint(point corefoundation.CGPoint) *Selection
- func (p *Page) SelectionForRange(range_ foundation.NSRange) *Selection
- func (p *Page) SelectionForRect(rect corefoundation.CGRect) *Selection
- func (p *Page) SelectionForWordAtPoint(point corefoundation.CGPoint) *Selection
- func (p *Page) SelectionFromPointToPoint(startPoint corefoundation.CGPoint, endPoint corefoundation.CGPoint) *Selection
- func (p *Page) SetBoundsForBox(bounds corefoundation.CGRect, box DisplayBox)
- func (p *Page) String() string
- func (p *Page) ThumbnailOfSizeForBox(size corefoundation.CGSize, box DisplayBox) obj.Object
- func (p *Page) TransformContextForBox(context_ coregraphics.CGContextRef, box DisplayBox)
- func (p *Page) TransformContextForBox2(box DisplayBox)
- func (p *Page) TransformForBox(box DisplayBox) corefoundation.CGAffineTransform
- func (p *Page) WithDisplaysAnnotations(displaysAnnotations bool) *Page
- func (p *Page) WithRotation(rotation int) *Page
- type PageOverlayViewProvider
- type Perm
- type PrintScalingMode
- type PtrauthKey
- type QosClass
- type Selection
- func (s *Selection) AddSelection(selection *Selection)
- func (s *Selection) AddSelections(selections []*Selection)
- func (s *Selection) AttributedString() *foundation.AttributedString
- func (s *Selection) BoundsForPage(page *Page) corefoundation.CGRect
- func (s *Selection) Color() unsafe.Pointer
- func (s *Selection) Description() string
- func (s *Selection) DrawForPageActive(page *Page, active bool)
- func (s *Selection) DrawForPageWithBoxActive(page *Page, box DisplayBox, active bool)
- func (s *Selection) ExtendSelectionAtEnd(succeed int)
- func (s *Selection) ExtendSelectionAtStart(precede int)
- func (s *Selection) ExtendSelectionForLineBoundaries()
- func (s *Selection) IsEqual(other obj.Object) bool
- func (s *Selection) IsKind(className string) bool
- func (s *Selection) NumberOfTextRangesOnPage(page *Page) int
- func (s *Selection) Pages() []*Page
- func (s *Selection) RangeAtIndexOnPage(index int, page *Page) foundation.NSRange
- func (s *Selection) SelectionsByLine() []*Selection
- func (s *Selection) String() string
- func (s *Selection) WithColor(color unsafe.Pointer) *Selection
- type SelectionGranularity
- type Tag
- type TextAnnotationIconType
- type ThumbnailView
- func (tv *ThumbnailView) AllowsDragging() bool
- func (tv *ThumbnailView) AllowsMultipleSelection() bool
- func (tv *ThumbnailView) BackgroundColor() obj.Object
- func (tv *ThumbnailView) Description() string
- func (tv *ThumbnailView) IsEqual(other obj.Object) bool
- func (tv *ThumbnailView) IsKind(className string) bool
- func (tv *ThumbnailView) LabelFont() obj.Object
- func (tv *ThumbnailView) MaximumNumberOfColumns() int
- func (tv *ThumbnailView) PDFView() *View
- func (tv *ThumbnailView) SelectedPages() []*Page
- func (tv *ThumbnailView) String() string
- func (tv *ThumbnailView) ThumbnailSize() corefoundation.CGSize
- func (tv *ThumbnailView) WithAllowsDragging(allowsDragging bool) *ThumbnailView
- func (tv *ThumbnailView) WithAllowsMultipleSelection(allowsMultipleSelection bool) *ThumbnailView
- func (tv *ThumbnailView) WithBackgroundColor(backgroundColor obj.Object) *ThumbnailView
- func (tv *ThumbnailView) WithLabelFont(labelFont obj.Object) *ThumbnailView
- func (tv *ThumbnailView) WithMaximumNumberOfColumns(maximumNumberOfColumns int) *ThumbnailView
- func (tv *ThumbnailView) WithPDFView(pdfView *View) *ThumbnailView
- func (tv *ThumbnailView) WithThumbnailSize(thumbnailSize corefoundation.CGSize) *ThumbnailView
- type Type
- type View
- func (v_ *View) AcceptsDraggedFiles() bool
- func (v_ *View) AllowsDragging() bool
- func (v_ *View) AnnotationsChangedOnPage(page *Page)
- func (v_ *View) AreaOfInterestForMouse(event obj.Object) AreaOfInterest
- func (v_ *View) AreaOfInterestForPoint(cursorLocation corefoundation.CGPoint) AreaOfInterest
- func (v_ *View) AutoScales() bool
- func (v_ *View) BackgroundColor() obj.Object
- func (v_ *View) CanGoBack() bool
- func (v_ *View) CanGoForward() bool
- func (v_ *View) CanGoToFirstPage() bool
- func (v_ *View) CanGoToLastPage() bool
- func (v_ *View) CanGoToNextPage() bool
- func (v_ *View) CanGoToPreviousPage() bool
- func (v_ *View) CanZoomIn() bool
- func (v_ *View) CanZoomOut() bool
- func (v_ *View) ClearSelection()
- func (v_ *View) ConvertPointFromPage(point corefoundation.CGPoint, page *Page) corefoundation.CGPoint
- func (v_ *View) ConvertPointToPage(point corefoundation.CGPoint, page *Page) corefoundation.CGPoint
- func (v_ *View) ConvertRectFromPage(rect corefoundation.CGRect, page *Page) corefoundation.CGRect
- func (v_ *View) ConvertRectToPage(rect corefoundation.CGRect, page *Page) corefoundation.CGRect
- func (v_ *View) Copy(sender obj.Object)
- func (v_ *View) CurrentDestination() *Destination
- func (v_ *View) CurrentPage() *Page
- func (v_ *View) CurrentSelection() *Selection
- func (v_ *View) Description() string
- func (v_ *View) DisplayBox() DisplayBox
- func (v_ *View) DisplayDirection() DisplayDirection
- func (v_ *View) DisplayMode() DisplayMode
- func (v_ *View) DisplaysAsBook() bool
- func (v_ *View) DisplaysPageBreaks() bool
- func (v_ *View) DisplaysRTL() bool
- func (v_ *View) Document() *Document
- func (v_ *View) DocumentView() obj.Object
- func (v_ *View) DrawPage(page *Page)
- func (v_ *View) DrawPagePost(page *Page)
- func (v_ *View) DrawPagePostToContext(page *Page, context_ coregraphics.CGContextRef)
- func (v_ *View) DrawPageToContext(page *Page, context_ coregraphics.CGContextRef)
- func (v_ *View) EnableDataDetectors() bool
- func (v_ *View) GoBack(sender obj.Object)
- func (v_ *View) GoForward(sender obj.Object)
- func (v_ *View) GoToDestination(destination *Destination)
- func (v_ *View) GoToFirstPage(sender obj.Object)
- func (v_ *View) GoToLastPage(sender obj.Object)
- func (v_ *View) GoToNextPage(sender obj.Object)
- func (v_ *View) GoToPage(page *Page)
- func (v_ *View) GoToPreviousPage(sender obj.Object)
- func (v_ *View) GoToRectOnPage(rect corefoundation.CGRect, page *Page)
- func (v_ *View) GoToSelection(selection *Selection)
- func (v_ *View) GreekingThreshold() float64
- func (v_ *View) HighlightedSelections() unsafe.Pointer
- func (v_ *View) InterpolationQuality() InterpolationQuality
- func (v_ *View) IsEqual(other obj.Object) bool
- func (v_ *View) IsInMarkupMode() bool
- func (v_ *View) IsKind(className string) bool
- func (v_ *View) LayoutDocumentView()
- func (v_ *View) MaxScaleFactor() float64
- func (v_ *View) MinScaleFactor() float64
- func (v_ *View) PageBreakMargins() foundation.NSEdgeInsets
- func (v_ *View) PageForPointNearest(point corefoundation.CGPoint, nearest bool) *Page
- func (v_ *View) PageOverlayViewProvider() unsafe.Pointer
- func (v_ *View) PageShadowsEnabled() bool
- func (v_ *View) PerformAction(action *Action)
- func (v_ *View) PrintWithInfoAutoRotate(printInfo obj.Object, doRotate bool)
- func (v_ *View) PrintWithInfoAutoRotatePageScaling(printInfo obj.Object, doRotate bool, scale PrintScalingMode)
- func (v_ *View) RowSizeForPage(page *Page) corefoundation.CGSize
- func (v_ *View) ScaleFactor() float64
- func (v_ *View) ScaleFactorForSizeToFit() float64
- func (v_ *View) ScrollSelectionToVisible(sender obj.Object)
- func (v_ *View) SelectAll(sender obj.Object)
- func (v_ *View) SetCurrentSelectionAnimate(selection *Selection, animate bool)
- func (v_ *View) SetCursorForAreaOfInterest(area AreaOfInterest)
- func (v_ *View) ShouldAntiAlias() bool
- func (v_ *View) String() string
- func (v_ *View) TakeBackgroundColorFrom(sender obj.Object)
- func (v_ *View) TakePasswordFrom(sender obj.Object)
- func (v_ *View) VisiblePages() unsafe.Pointer
- func (v_ *View) WithAcceptsDraggedFiles(acceptsDraggedFiles bool) *View
- func (v_ *View) WithAllowsDragging(allowsDragging bool) *View
- func (v_ *View) WithAutoScales(autoScales bool) *View
- func (v_ *View) WithBackgroundColor(backgroundColor obj.Object) *View
- func (v_ *View) WithCurrentSelection(currentSelection *Selection) *View
- func (v_ *View) WithDelegate(delegate ViewDelegate) *View
- func (v_ *View) WithDisplayBox(displayBox DisplayBox) *View
- func (v_ *View) WithDisplayDirection(displayDirection DisplayDirection) *View
- func (v_ *View) WithDisplayMode(displayMode DisplayMode) *View
- func (v_ *View) WithDisplaysAsBook(displaysAsBook bool) *View
- func (v_ *View) WithDisplaysPageBreaks(displaysPageBreaks bool) *View
- func (v_ *View) WithDisplaysRTL(displaysRTL bool) *View
- func (v_ *View) WithDocument(document *Document) *View
- func (v_ *View) WithEnableDataDetectors(enableDataDetectors bool) *View
- func (v_ *View) WithGreekingThreshold(greekingThreshold float64) *View
- func (v_ *View) WithHighlightedSelections(highlightedSelections unsafe.Pointer) *View
- func (v_ *View) WithInMarkupMode(inMarkupMode bool) *View
- func (v_ *View) WithInterpolationQuality(interpolationQuality InterpolationQuality) *View
- func (v_ *View) WithMaxScaleFactor(maxScaleFactor float64) *View
- func (v_ *View) WithMinScaleFactor(minScaleFactor float64) *View
- func (v_ *View) WithPageBreakMargins(pageBreakMargins foundation.NSEdgeInsets) *View
- func (v_ *View) WithPageOverlayViewProvider(pageOverlayViewProvider unsafe.Pointer) *View
- func (v_ *View) WithPageShadowsEnabled(pageShadowsEnabled bool) *View
- func (v_ *View) WithScaleFactor(scaleFactor float64) *View
- func (v_ *View) WithShouldAntiAlias(shouldAntiAlias bool) *View
- func (v_ *View) ZoomIn(sender obj.Object)
- func (v_ *View) ZoomOut(sender obj.Object)
- type ViewDelegate
- type ViewDelegatePDFViewOpenPDFForRemoteGoToActionHandler
- type ViewDelegatePDFViewPerformFindHandler
- type ViewDelegatePDFViewPerformGoToPageHandler
- type ViewDelegatePDFViewPerformPrintHandler
- type ViewDelegatePDFViewPrintJobTitleHandler
- type ViewDelegatePDFViewWillChangeScaleFactorToScaleHandler
- type ViewDelegatePDFViewWillClickOnLinkWithURLHandler
- type VirtualMemoryGuardExceptionCode
- type WidgetCellState
- type WidgetControlType
- type XpcListenerCreateFlags
- type XpcSessionCreateFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KPDFAnnotationKey_Action ¶
KPDFAnnotationKey_Action returns the string constant kPDFAnnotationKey_Action, for use as a dictionary key or argument.
func KPDFAnnotationKey_AdditionalActions ¶
KPDFAnnotationKey_AdditionalActions returns the string constant kPDFAnnotationKey_AdditionalActions, for use as a dictionary key or argument.
func KPDFAnnotationKey_AppearanceDictionary ¶
KPDFAnnotationKey_AppearanceDictionary returns the string constant kPDFAnnotationKey_AppearanceDictionary, for use as a dictionary key or argument.
func KPDFAnnotationKey_AppearanceState ¶
KPDFAnnotationKey_AppearanceState returns the string constant kPDFAnnotationKey_AppearanceState, for use as a dictionary key or argument.
func KPDFAnnotationKey_Border ¶
KPDFAnnotationKey_Border returns the string constant kPDFAnnotationKey_Border, for use as a dictionary key or argument.
func KPDFAnnotationKey_BorderStyle ¶
KPDFAnnotationKey_BorderStyle returns the string constant kPDFAnnotationKey_BorderStyle, for use as a dictionary key or argument.
func KPDFAnnotationKey_Color ¶
KPDFAnnotationKey_Color returns the string constant kPDFAnnotationKey_Color, for use as a dictionary key or argument.
func KPDFAnnotationKey_Contents ¶
KPDFAnnotationKey_Contents returns the string constant kPDFAnnotationKey_Contents, for use as a dictionary key or argument.
func KPDFAnnotationKey_Date ¶
KPDFAnnotationKey_Date returns the string constant kPDFAnnotationKey_Date, for use as a dictionary key or argument.
func KPDFAnnotationKey_DefaultAppearance ¶
KPDFAnnotationKey_DefaultAppearance returns the string constant kPDFAnnotationKey_DefaultAppearance, for use as a dictionary key or argument.
func KPDFAnnotationKey_Destination ¶
KPDFAnnotationKey_Destination returns the string constant kPDFAnnotationKey_Destination, for use as a dictionary key or argument.
func KPDFAnnotationKey_Flags ¶
KPDFAnnotationKey_Flags returns the string constant kPDFAnnotationKey_Flags, for use as a dictionary key or argument.
func KPDFAnnotationKey_HighlightingMode ¶
KPDFAnnotationKey_HighlightingMode returns the string constant kPDFAnnotationKey_HighlightingMode, for use as a dictionary key or argument.
func KPDFAnnotationKey_IconName ¶
KPDFAnnotationKey_IconName returns the string constant kPDFAnnotationKey_IconName, for use as a dictionary key or argument.
func KPDFAnnotationKey_Inklist ¶
KPDFAnnotationKey_Inklist returns the string constant kPDFAnnotationKey_Inklist, for use as a dictionary key or argument.
func KPDFAnnotationKey_InteriorColor ¶
KPDFAnnotationKey_InteriorColor returns the string constant kPDFAnnotationKey_InteriorColor, for use as a dictionary key or argument.
func KPDFAnnotationKey_LineEndingStyles ¶
KPDFAnnotationKey_LineEndingStyles returns the string constant kPDFAnnotationKey_LineEndingStyles, for use as a dictionary key or argument.
func KPDFAnnotationKey_LinePoints ¶
KPDFAnnotationKey_LinePoints returns the string constant kPDFAnnotationKey_LinePoints, for use as a dictionary key or argument.
func KPDFAnnotationKey_Name ¶
KPDFAnnotationKey_Name returns the string constant kPDFAnnotationKey_Name, for use as a dictionary key or argument.
func KPDFAnnotationKey_Open ¶
KPDFAnnotationKey_Open returns the string constant kPDFAnnotationKey_Open, for use as a dictionary key or argument.
func KPDFAnnotationKey_Page ¶
KPDFAnnotationKey_Page returns the string constant kPDFAnnotationKey_Page, for use as a dictionary key or argument.
func KPDFAnnotationKey_Parent ¶
KPDFAnnotationKey_Parent returns the string constant kPDFAnnotationKey_Parent, for use as a dictionary key or argument.
func KPDFAnnotationKey_Popup ¶
KPDFAnnotationKey_Popup returns the string constant kPDFAnnotationKey_Popup, for use as a dictionary key or argument.
func KPDFAnnotationKey_QuadPoints ¶
KPDFAnnotationKey_QuadPoints returns the string constant kPDFAnnotationKey_QuadPoints, for use as a dictionary key or argument.
func KPDFAnnotationKey_Quadding ¶
KPDFAnnotationKey_Quadding returns the string constant kPDFAnnotationKey_Quadding, for use as a dictionary key or argument.
func KPDFAnnotationKey_Rect ¶
KPDFAnnotationKey_Rect returns the string constant kPDFAnnotationKey_Rect, for use as a dictionary key or argument.
func KPDFAnnotationKey_Subtype ¶
KPDFAnnotationKey_Subtype returns the string constant kPDFAnnotationKey_Subtype, for use as a dictionary key or argument.
func KPDFAnnotationKey_TextLabel ¶
KPDFAnnotationKey_TextLabel returns the string constant kPDFAnnotationKey_TextLabel, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetAppearanceDictionary ¶
KPDFAnnotationKey_WidgetAppearanceDictionary returns the string constant kPDFAnnotationKey_WidgetAppearanceDictionary, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetDefaultValue ¶
KPDFAnnotationKey_WidgetDefaultValue returns the string constant kPDFAnnotationKey_WidgetDefaultValue, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetFieldFlags ¶
KPDFAnnotationKey_WidgetFieldFlags returns the string constant kPDFAnnotationKey_WidgetFieldFlags, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetFieldType ¶
KPDFAnnotationKey_WidgetFieldType returns the string constant kPDFAnnotationKey_WidgetFieldType, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetMaxLen ¶
KPDFAnnotationKey_WidgetMaxLen returns the string constant kPDFAnnotationKey_WidgetMaxLen, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetOptions ¶
KPDFAnnotationKey_WidgetOptions returns the string constant kPDFAnnotationKey_WidgetOptions, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetTextLabelUI ¶
KPDFAnnotationKey_WidgetTextLabelUI returns the string constant kPDFAnnotationKey_WidgetTextLabelUI, for use as a dictionary key or argument.
func KPDFAnnotationKey_WidgetValue ¶
KPDFAnnotationKey_WidgetValue returns the string constant kPDFAnnotationKey_WidgetValue, for use as a dictionary key or argument.
func KPDFDestinationUnspecifiedValue ¶
func KPDFDestinationUnspecifiedValue() float64
KPDFDestinationUnspecifiedValue returns the value of the constant kPDFDestinationUnspecifiedValue.
func NameForLineStyle ¶ added in v0.17.0
NameForLineStyle returns the name of the line style, which matches the definition in the Adobe PDF Specification.
func PDFAnnotationHighlightingModeInvert ¶
PDFAnnotationHighlightingModeInvert returns the string constant PDFAnnotationHighlightingModeInvert, for use as a dictionary key or argument.
func PDFAnnotationHighlightingModeNone ¶
PDFAnnotationHighlightingModeNone returns the string constant PDFAnnotationHighlightingModeNone, for use as a dictionary key or argument.
func PDFAnnotationHighlightingModeOutline ¶
PDFAnnotationHighlightingModeOutline returns the string constant PDFAnnotationHighlightingModeOutline, for use as a dictionary key or argument.
func PDFAnnotationHighlightingModePush ¶
PDFAnnotationHighlightingModePush returns the string constant PDFAnnotationHighlightingModePush, for use as a dictionary key or argument.
func PDFAnnotationKeyAction ¶
PDFAnnotationKeyAction returns the string constant PDFAnnotationKeyAction, for use as a dictionary key or argument.
func PDFAnnotationKeyAdditionalActions ¶
PDFAnnotationKeyAdditionalActions returns the string constant PDFAnnotationKeyAdditionalActions, for use as a dictionary key or argument.
func PDFAnnotationKeyAppearanceDictionary ¶
PDFAnnotationKeyAppearanceDictionary returns the string constant PDFAnnotationKeyAppearanceDictionary, for use as a dictionary key or argument.
func PDFAnnotationKeyAppearanceState ¶
PDFAnnotationKeyAppearanceState returns the string constant PDFAnnotationKeyAppearanceState, for use as a dictionary key or argument.
func PDFAnnotationKeyBorder ¶
PDFAnnotationKeyBorder returns the string constant PDFAnnotationKeyBorder, for use as a dictionary key or argument.
func PDFAnnotationKeyBorderStyle ¶
PDFAnnotationKeyBorderStyle returns the string constant PDFAnnotationKeyBorderStyle, for use as a dictionary key or argument.
func PDFAnnotationKeyColor ¶
PDFAnnotationKeyColor returns the string constant PDFAnnotationKeyColor, for use as a dictionary key or argument.
func PDFAnnotationKeyContents ¶
PDFAnnotationKeyContents returns the string constant PDFAnnotationKeyContents, for use as a dictionary key or argument.
func PDFAnnotationKeyDate ¶
PDFAnnotationKeyDate returns the string constant PDFAnnotationKeyDate, for use as a dictionary key or argument.
func PDFAnnotationKeyDefaultAppearance ¶
PDFAnnotationKeyDefaultAppearance returns the string constant PDFAnnotationKeyDefaultAppearance, for use as a dictionary key or argument.
func PDFAnnotationKeyDestination ¶
PDFAnnotationKeyDestination returns the string constant PDFAnnotationKeyDestination, for use as a dictionary key or argument.
func PDFAnnotationKeyFlags ¶
PDFAnnotationKeyFlags returns the string constant PDFAnnotationKeyFlags, for use as a dictionary key or argument.
func PDFAnnotationKeyHighlightingMode ¶
PDFAnnotationKeyHighlightingMode returns the string constant PDFAnnotationKeyHighlightingMode, for use as a dictionary key or argument.
func PDFAnnotationKeyIconName ¶
PDFAnnotationKeyIconName returns the string constant PDFAnnotationKeyIconName, for use as a dictionary key or argument.
func PDFAnnotationKeyInklist ¶
PDFAnnotationKeyInklist returns the string constant PDFAnnotationKeyInklist, for use as a dictionary key or argument.
func PDFAnnotationKeyInteriorColor ¶
PDFAnnotationKeyInteriorColor returns the string constant PDFAnnotationKeyInteriorColor, for use as a dictionary key or argument.
func PDFAnnotationKeyLineEndingStyles ¶
PDFAnnotationKeyLineEndingStyles returns the string constant PDFAnnotationKeyLineEndingStyles, for use as a dictionary key or argument.
func PDFAnnotationKeyLinePoints ¶
PDFAnnotationKeyLinePoints returns the string constant PDFAnnotationKeyLinePoints, for use as a dictionary key or argument.
func PDFAnnotationKeyName ¶
PDFAnnotationKeyName returns the string constant PDFAnnotationKeyName, for use as a dictionary key or argument.
func PDFAnnotationKeyOpen ¶
PDFAnnotationKeyOpen returns the string constant PDFAnnotationKeyOpen, for use as a dictionary key or argument.
func PDFAnnotationKeyPage ¶
PDFAnnotationKeyPage returns the string constant PDFAnnotationKeyPage, for use as a dictionary key or argument.
func PDFAnnotationKeyParent ¶
PDFAnnotationKeyParent returns the string constant PDFAnnotationKeyParent, for use as a dictionary key or argument.
func PDFAnnotationKeyPopup ¶
PDFAnnotationKeyPopup returns the string constant PDFAnnotationKeyPopup, for use as a dictionary key or argument.
func PDFAnnotationKeyQuadPoints ¶
PDFAnnotationKeyQuadPoints returns the string constant PDFAnnotationKeyQuadPoints, for use as a dictionary key or argument.
func PDFAnnotationKeyQuadding ¶
PDFAnnotationKeyQuadding returns the string constant PDFAnnotationKeyQuadding, for use as a dictionary key or argument.
func PDFAnnotationKeyRect ¶
PDFAnnotationKeyRect returns the string constant PDFAnnotationKeyRect, for use as a dictionary key or argument.
func PDFAnnotationKeySubtype ¶
PDFAnnotationKeySubtype returns the string constant PDFAnnotationKeySubtype, for use as a dictionary key or argument.
func PDFAnnotationKeyTextLabel ¶
PDFAnnotationKeyTextLabel returns the string constant PDFAnnotationKeyTextLabel, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetAppearanceDictionary ¶
PDFAnnotationKeyWidgetAppearanceDictionary returns the string constant PDFAnnotationKeyWidgetAppearanceDictionary, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetBackgroundColor ¶
PDFAnnotationKeyWidgetBackgroundColor returns the string constant PDFAnnotationKeyWidgetBackgroundColor, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetBorderColor ¶
PDFAnnotationKeyWidgetBorderColor returns the string constant PDFAnnotationKeyWidgetBorderColor, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetCaption ¶
PDFAnnotationKeyWidgetCaption returns the string constant PDFAnnotationKeyWidgetCaption, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetDefaultValue ¶
PDFAnnotationKeyWidgetDefaultValue returns the string constant PDFAnnotationKeyWidgetDefaultValue, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetDownCaption ¶
PDFAnnotationKeyWidgetDownCaption returns the string constant PDFAnnotationKeyWidgetDownCaption, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetFieldFlags ¶
PDFAnnotationKeyWidgetFieldFlags returns the string constant PDFAnnotationKeyWidgetFieldFlags, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetFieldType ¶
PDFAnnotationKeyWidgetFieldType returns the string constant PDFAnnotationKeyWidgetFieldType, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetMaxLen ¶
PDFAnnotationKeyWidgetMaxLen returns the string constant PDFAnnotationKeyWidgetMaxLen, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetOptions ¶
PDFAnnotationKeyWidgetOptions returns the string constant PDFAnnotationKeyWidgetOptions, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetRolloverCaption ¶
PDFAnnotationKeyWidgetRolloverCaption returns the string constant PDFAnnotationKeyWidgetRolloverCaption, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetRotation ¶
PDFAnnotationKeyWidgetRotation returns the string constant PDFAnnotationKeyWidgetRotation, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetTextLabelUI ¶
PDFAnnotationKeyWidgetTextLabelUI returns the string constant PDFAnnotationKeyWidgetTextLabelUI, for use as a dictionary key or argument.
func PDFAnnotationKeyWidgetValue ¶
PDFAnnotationKeyWidgetValue returns the string constant PDFAnnotationKeyWidgetValue, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleCircle ¶
PDFAnnotationLineEndingStyleCircle returns the string constant PDFAnnotationLineEndingStyleCircle, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleClosedArrow ¶
PDFAnnotationLineEndingStyleClosedArrow returns the string constant PDFAnnotationLineEndingStyleClosedArrow, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleDiamond ¶
PDFAnnotationLineEndingStyleDiamond returns the string constant PDFAnnotationLineEndingStyleDiamond, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleNone ¶
PDFAnnotationLineEndingStyleNone returns the string constant PDFAnnotationLineEndingStyleNone, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleOpenArrow ¶
PDFAnnotationLineEndingStyleOpenArrow returns the string constant PDFAnnotationLineEndingStyleOpenArrow, for use as a dictionary key or argument.
func PDFAnnotationLineEndingStyleSquare ¶
PDFAnnotationLineEndingStyleSquare returns the string constant PDFAnnotationLineEndingStyleSquare, for use as a dictionary key or argument.
func PDFAnnotationSubtypeCircle ¶
PDFAnnotationSubtypeCircle returns the string constant PDFAnnotationSubtypeCircle, for use as a dictionary key or argument.
func PDFAnnotationSubtypeFreeText ¶
PDFAnnotationSubtypeFreeText returns the string constant PDFAnnotationSubtypeFreeText, for use as a dictionary key or argument.
func PDFAnnotationSubtypeHighlight ¶
PDFAnnotationSubtypeHighlight returns the string constant PDFAnnotationSubtypeHighlight, for use as a dictionary key or argument.
func PDFAnnotationSubtypeInk ¶
PDFAnnotationSubtypeInk returns the string constant PDFAnnotationSubtypeInk, for use as a dictionary key or argument.
func PDFAnnotationSubtypeLine ¶
PDFAnnotationSubtypeLine returns the string constant PDFAnnotationSubtypeLine, for use as a dictionary key or argument.
func PDFAnnotationSubtypeLink ¶
PDFAnnotationSubtypeLink returns the string constant PDFAnnotationSubtypeLink, for use as a dictionary key or argument.
func PDFAnnotationSubtypePopup ¶
PDFAnnotationSubtypePopup returns the string constant PDFAnnotationSubtypePopup, for use as a dictionary key or argument.
func PDFAnnotationSubtypeSquare ¶
PDFAnnotationSubtypeSquare returns the string constant PDFAnnotationSubtypeSquare, for use as a dictionary key or argument.
func PDFAnnotationSubtypeStamp ¶
PDFAnnotationSubtypeStamp returns the string constant PDFAnnotationSubtypeStamp, for use as a dictionary key or argument.
func PDFAnnotationSubtypeStrikeOut ¶
PDFAnnotationSubtypeStrikeOut returns the string constant PDFAnnotationSubtypeStrikeOut, for use as a dictionary key or argument.
func PDFAnnotationSubtypeText ¶
PDFAnnotationSubtypeText returns the string constant PDFAnnotationSubtypeText, for use as a dictionary key or argument.
func PDFAnnotationSubtypeUnderline ¶
PDFAnnotationSubtypeUnderline returns the string constant PDFAnnotationSubtypeUnderline, for use as a dictionary key or argument.
func PDFAnnotationSubtypeWidget ¶
PDFAnnotationSubtypeWidget returns the string constant PDFAnnotationSubtypeWidget, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeComment ¶
PDFAnnotationTextIconTypeComment returns the string constant PDFAnnotationTextIconTypeComment, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeHelp ¶
PDFAnnotationTextIconTypeHelp returns the string constant PDFAnnotationTextIconTypeHelp, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeInsert ¶
PDFAnnotationTextIconTypeInsert returns the string constant PDFAnnotationTextIconTypeInsert, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeKey ¶
PDFAnnotationTextIconTypeKey returns the string constant PDFAnnotationTextIconTypeKey, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeNewParagraph ¶
PDFAnnotationTextIconTypeNewParagraph returns the string constant PDFAnnotationTextIconTypeNewParagraph, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeNote ¶
PDFAnnotationTextIconTypeNote returns the string constant PDFAnnotationTextIconTypeNote, for use as a dictionary key or argument.
func PDFAnnotationTextIconTypeParagraph ¶
PDFAnnotationTextIconTypeParagraph returns the string constant PDFAnnotationTextIconTypeParagraph, for use as a dictionary key or argument.
func PDFAnnotationWidgetSubtypeButton ¶
PDFAnnotationWidgetSubtypeButton returns the string constant PDFAnnotationWidgetSubtypeButton, for use as a dictionary key or argument.
func PDFAnnotationWidgetSubtypeChoice ¶
PDFAnnotationWidgetSubtypeChoice returns the string constant PDFAnnotationWidgetSubtypeChoice, for use as a dictionary key or argument.
func PDFAnnotationWidgetSubtypeSignature ¶
PDFAnnotationWidgetSubtypeSignature returns the string constant PDFAnnotationWidgetSubtypeSignature, for use as a dictionary key or argument.
func PDFAnnotationWidgetSubtypeText ¶
PDFAnnotationWidgetSubtypeText returns the string constant PDFAnnotationWidgetSubtypeText, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyBackgroundColor ¶
PDFAppearanceCharacteristicsKeyBackgroundColor returns the string constant PDFAppearanceCharacteristicsKeyBackgroundColor, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyBorderColor ¶
PDFAppearanceCharacteristicsKeyBorderColor returns the string constant PDFAppearanceCharacteristicsKeyBorderColor, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyCaption ¶
PDFAppearanceCharacteristicsKeyCaption returns the string constant PDFAppearanceCharacteristicsKeyCaption, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyDownCaption ¶
PDFAppearanceCharacteristicsKeyDownCaption returns the string constant PDFAppearanceCharacteristicsKeyDownCaption, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyRolloverCaption ¶
PDFAppearanceCharacteristicsKeyRolloverCaption returns the string constant PDFAppearanceCharacteristicsKeyRolloverCaption, for use as a dictionary key or argument.
func PDFAppearanceCharacteristicsKeyRotation ¶
PDFAppearanceCharacteristicsKeyRotation returns the string constant PDFAppearanceCharacteristicsKeyRotation, for use as a dictionary key or argument.
func PDFBorderKeyDashPattern ¶
PDFBorderKeyDashPattern returns the string constant PDFBorderKeyDashPattern, for use as a dictionary key or argument.
func PDFBorderKeyLineWidth ¶
PDFBorderKeyLineWidth returns the string constant PDFBorderKeyLineWidth, for use as a dictionary key or argument.
func PDFBorderKeyStyle ¶
PDFBorderKeyStyle returns the string constant PDFBorderKeyStyle, for use as a dictionary key or argument.
func PDFDocumentAccessPermissionsOption ¶
PDFDocumentAccessPermissionsOption returns the string constant PDFDocumentAccessPermissionsOption, for use as a dictionary key or argument.
func PDFDocumentAuthorAttribute ¶
PDFDocumentAuthorAttribute returns the string constant PDFDocumentAuthorAttribute, for use as a dictionary key or argument.
func PDFDocumentBurnInAnnotationsOption ¶
PDFDocumentBurnInAnnotationsOption returns the string constant PDFDocumentBurnInAnnotationsOption, for use as a dictionary key or argument.
func PDFDocumentCreationDateAttribute ¶
PDFDocumentCreationDateAttribute returns the string constant PDFDocumentCreationDateAttribute, for use as a dictionary key or argument.
func PDFDocumentCreatorAttribute ¶
PDFDocumentCreatorAttribute returns the string constant PDFDocumentCreatorAttribute, for use as a dictionary key or argument.
func PDFDocumentDidBeginFindNotification ¶
func PDFDocumentDidBeginFindNotification() uintptr
PDFDocumentDidBeginFindNotification returns the address of the symbol PDFDocumentDidBeginFindNotification.
func PDFDocumentDidBeginPageFindNotification ¶
func PDFDocumentDidBeginPageFindNotification() uintptr
PDFDocumentDidBeginPageFindNotification returns the address of the symbol PDFDocumentDidBeginPageFindNotification.
func PDFDocumentDidBeginPageWriteNotification ¶
func PDFDocumentDidBeginPageWriteNotification() uintptr
PDFDocumentDidBeginPageWriteNotification returns the address of the symbol PDFDocumentDidBeginPageWriteNotification.
func PDFDocumentDidBeginWriteNotification ¶
func PDFDocumentDidBeginWriteNotification() uintptr
PDFDocumentDidBeginWriteNotification returns the address of the symbol PDFDocumentDidBeginWriteNotification.
func PDFDocumentDidEndFindNotification ¶
func PDFDocumentDidEndFindNotification() uintptr
PDFDocumentDidEndFindNotification returns the address of the symbol PDFDocumentDidEndFindNotification.
func PDFDocumentDidEndPageFindNotification ¶
func PDFDocumentDidEndPageFindNotification() uintptr
PDFDocumentDidEndPageFindNotification returns the address of the symbol PDFDocumentDidEndPageFindNotification.
func PDFDocumentDidEndPageWriteNotification ¶
func PDFDocumentDidEndPageWriteNotification() uintptr
PDFDocumentDidEndPageWriteNotification returns the address of the symbol PDFDocumentDidEndPageWriteNotification.
func PDFDocumentDidEndWriteNotification ¶
func PDFDocumentDidEndWriteNotification() uintptr
PDFDocumentDidEndWriteNotification returns the address of the symbol PDFDocumentDidEndWriteNotification.
func PDFDocumentDidFindMatchNotification ¶
func PDFDocumentDidFindMatchNotification() uintptr
PDFDocumentDidFindMatchNotification returns the address of the symbol PDFDocumentDidFindMatchNotification.
func PDFDocumentDidUnlockNotification ¶
func PDFDocumentDidUnlockNotification() uintptr
PDFDocumentDidUnlockNotification returns the address of the symbol PDFDocumentDidUnlockNotification.
func PDFDocumentFoundSelectionKey ¶
PDFDocumentFoundSelectionKey returns the string constant PDFDocumentFoundSelectionKey, for use as a dictionary key or argument.
func PDFDocumentKeywordsAttribute ¶
PDFDocumentKeywordsAttribute returns the string constant PDFDocumentKeywordsAttribute, for use as a dictionary key or argument.
func PDFDocumentModificationDateAttribute ¶
PDFDocumentModificationDateAttribute returns the string constant PDFDocumentModificationDateAttribute, for use as a dictionary key or argument.
func PDFDocumentOptimizeImagesForScreenOption ¶
PDFDocumentOptimizeImagesForScreenOption returns the string constant PDFDocumentOptimizeImagesForScreenOption, for use as a dictionary key or argument.
func PDFDocumentOwnerPasswordOption ¶
PDFDocumentOwnerPasswordOption returns the string constant PDFDocumentOwnerPasswordOption, for use as a dictionary key or argument.
func PDFDocumentPageIndexKey ¶
PDFDocumentPageIndexKey returns the string constant PDFDocumentPageIndexKey, for use as a dictionary key or argument.
func PDFDocumentProducerAttribute ¶
PDFDocumentProducerAttribute returns the string constant PDFDocumentProducerAttribute, for use as a dictionary key or argument.
func PDFDocumentSaveImagesAsJPEGOption ¶
PDFDocumentSaveImagesAsJPEGOption returns the string constant PDFDocumentSaveImagesAsJPEGOption, for use as a dictionary key or argument.
func PDFDocumentSaveTextFromOCROption ¶
PDFDocumentSaveTextFromOCROption returns the string constant PDFDocumentSaveTextFromOCROption, for use as a dictionary key or argument.
func PDFDocumentSubjectAttribute ¶
PDFDocumentSubjectAttribute returns the string constant PDFDocumentSubjectAttribute, for use as a dictionary key or argument.
func PDFDocumentTitleAttribute ¶
PDFDocumentTitleAttribute returns the string constant PDFDocumentTitleAttribute, for use as a dictionary key or argument.
func PDFDocumentUserPasswordOption ¶
PDFDocumentUserPasswordOption returns the string constant PDFDocumentUserPasswordOption, for use as a dictionary key or argument.
func PDFPageImageInitializationOptionCompressionQuality ¶
PDFPageImageInitializationOptionCompressionQuality returns the string constant PDFPageImageInitializationOptionCompressionQuality, for use as a dictionary key or argument.
func PDFPageImageInitializationOptionMediaBox ¶
PDFPageImageInitializationOptionMediaBox returns the string constant PDFPageImageInitializationOptionMediaBox, for use as a dictionary key or argument.
func PDFPageImageInitializationOptionRotation ¶
PDFPageImageInitializationOptionRotation returns the string constant PDFPageImageInitializationOptionRotation, for use as a dictionary key or argument.
func PDFPageImageInitializationOptionUpscaleIfSmaller ¶
PDFPageImageInitializationOptionUpscaleIfSmaller returns the string constant PDFPageImageInitializationOptionUpscaleIfSmaller, for use as a dictionary key or argument.
func PDFThumbnailViewDocumentEditedNotification ¶
PDFThumbnailViewDocumentEditedNotification returns the string constant PDFThumbnailViewDocumentEditedNotification, for use as a dictionary key or argument.
func PDFViewAnnotationHitNotification ¶
func PDFViewAnnotationHitNotification() uintptr
PDFViewAnnotationHitNotification returns the address of the symbol PDFViewAnnotationHitNotification.
func PDFViewAnnotationWillHitNotification ¶
func PDFViewAnnotationWillHitNotification() uintptr
PDFViewAnnotationWillHitNotification returns the address of the symbol PDFViewAnnotationWillHitNotification.
func PDFViewChangedHistoryNotification ¶
func PDFViewChangedHistoryNotification() uintptr
PDFViewChangedHistoryNotification returns the address of the symbol PDFViewChangedHistoryNotification.
func PDFViewCopyPermissionNotification ¶
func PDFViewCopyPermissionNotification() uintptr
PDFViewCopyPermissionNotification returns the address of the symbol PDFViewCopyPermissionNotification.
func PDFViewDisplayBoxChangedNotification ¶
func PDFViewDisplayBoxChangedNotification() uintptr
PDFViewDisplayBoxChangedNotification returns the address of the symbol PDFViewDisplayBoxChangedNotification.
func PDFViewDisplayModeChangedNotification ¶
func PDFViewDisplayModeChangedNotification() uintptr
PDFViewDisplayModeChangedNotification returns the address of the symbol PDFViewDisplayModeChangedNotification.
func PDFViewDocumentChangedNotification ¶
func PDFViewDocumentChangedNotification() uintptr
PDFViewDocumentChangedNotification returns the address of the symbol PDFViewDocumentChangedNotification.
func PDFViewPageChangedNotification ¶
func PDFViewPageChangedNotification() uintptr
PDFViewPageChangedNotification returns the address of the symbol PDFViewPageChangedNotification.
func PDFViewPrintPermissionNotification ¶
func PDFViewPrintPermissionNotification() uintptr
PDFViewPrintPermissionNotification returns the address of the symbol PDFViewPrintPermissionNotification.
func PDFViewScaleChangedNotification ¶
func PDFViewScaleChangedNotification() uintptr
PDFViewScaleChangedNotification returns the address of the symbol PDFViewScaleChangedNotification.
func PDFViewSelectionChangedNotification ¶
func PDFViewSelectionChangedNotification() uintptr
PDFViewSelectionChangedNotification returns the address of the symbol PDFViewSelectionChangedNotification.
func PDFViewVisiblePagesChangedNotification ¶
func PDFViewVisiblePagesChangedNotification() uintptr
PDFViewVisiblePagesChangedNotification returns the address of the symbol PDFViewVisiblePagesChangedNotification.
Types ¶
type AccessPermissions ¶ added in v0.17.0
type AccessPermissions uint64
const ( AllowsLowQualityPrinting AccessPermissions = 1 AllowsHighQualityPrinting AccessPermissions = 2 AllowsDocumentChanges AccessPermissions = 4 AllowsDocumentAssembly AccessPermissions = 8 AllowsContentCopying AccessPermissions = 16 AllowsContentAccessibility AccessPermissions = 32 AllowsCommenting AccessPermissions = 64 AllowsFormFieldEntry AccessPermissions = 128 )
func (AccessPermissions) String ¶ added in v0.17.0
func (e AccessPermissions) String() string
String returns the AccessPermissions constant's name, or its numeric form when the value is not a known constant.
type Action ¶ added in v0.17.0
Action is an idiomatic wrapper over the Objective-C class PDFAction.
Action is an abstract base — you do not construct it directly. Construct one of ActionGoTo, ActionNamed, ActionRemoteGoTo, ActionResetForm, ActionURL and pass it where a Action is accepted.
An action that is performed when, for example, a PDF annotation is activated or an outline item is clicked.
func ActionFromID ¶ added in v0.17.0
ActionFromID adopts an existing Objective-C object as a Action (nil for 0), retaining it and registering a release finalizer.
func (*Action) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Action) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Action) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
type ActionGoTo ¶ added in v0.17.0
type ActionGoTo struct {
Action
}
ActionGoTo is an idiomatic wrapper over the Objective-C class PDFActionGoTo.
It embeds Action, promoting that type's methods.
PDFActionGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action.
func ActionGoToFromID ¶ added in v0.17.0
func ActionGoToFromID(id objc.ID) *ActionGoTo
ActionGoToFromID adopts an existing Objective-C object as a ActionGoTo (nil for 0), retaining it and registering a release finalizer.
func NewActionGoToWithDestination ¶ added in v0.17.0
func NewActionGoToWithDestination(destination *Destination) *ActionGoTo
NewActionGoToWithDestination initializes the go-to action.
func (*ActionGoTo) Destination ¶ added in v0.17.0
func (agt *ActionGoTo) Destination() *Destination
Destination returns the destination.
func (*ActionGoTo) WithDestination ¶ added in v0.17.0
func (agt *ActionGoTo) WithDestination(destination *Destination) *ActionGoTo
WithDestination sets returns the destination associated with the action.
type ActionNamed ¶ added in v0.17.0
type ActionNamed struct {
Action
}
ActionNamed is an idiomatic wrapper over the Objective-C class PDFActionNamed.
It embeds Action, promoting that type's methods.
PDFActionNamed defines methods used to work with actions in PDF documents, some of which are named in the Adobe PDF Specification.
func ActionNamedFromID ¶ added in v0.17.0
func ActionNamedFromID(id objc.ID) *ActionNamed
ActionNamedFromID adopts an existing Objective-C object as a ActionNamed (nil for 0), retaining it and registering a release finalizer.
func NewActionNamedWithName ¶ added in v0.17.0
func NewActionNamedWithName(name ActionNamedName) *ActionNamed
NewActionNamedWithName initializes the PDFActionName object with the specified named action.
func (*ActionNamed) Name ¶ added in v0.17.0
func (an *ActionNamed) Name() ActionNamedName
Name returns the name.
func (*ActionNamed) WithName ¶ added in v0.17.0
func (an *ActionNamed) WithName(name ActionNamedName) *ActionNamed
WithName sets returns the name of the named action.
type ActionNamedName ¶ added in v0.17.0
type ActionNamedName int64
const ( // The action has no name. KPDFActionNamedNone ActionNamedName = 0 // The Next Page action. KPDFActionNamedNextPage ActionNamedName = 1 // The Previous Page action. KPDFActionNamedPreviousPage ActionNamedName = 2 // The First Page action. KPDFActionNamedFirstPage ActionNamedName = 3 // The Last Page action. KPDFActionNamedLastPage ActionNamedName = 4 // The Go Back action. KPDFActionNamedGoBack ActionNamedName = 5 // The Go Forward action. KPDFActionNamedGoForward ActionNamedName = 6 // The Go to Page action. KPDFActionNamedGoToPage ActionNamedName = 7 // The Find action. KPDFActionNamedFind ActionNamedName = 8 // The Print action. KPDFActionNamedPrint ActionNamedName = 9 // The Zoom In action. KPDFActionNamedZoomIn ActionNamedName = 10 // The Zoom Out action. KPDFActionNamedZoomOut ActionNamedName = 11 )
func (ActionNamedName) String ¶ added in v0.17.0
func (e ActionNamedName) String() string
String returns the ActionNamedName constant's name, or its numeric form when the value is not a known constant.
type ActionProvider ¶ added in v0.17.0
ActionProvider is accepted wherever a PDFAction (or one of its subclasses) is expected.
type ActionRemoteGoTo ¶ added in v0.17.0
type ActionRemoteGoTo struct {
Action
}
ActionRemoteGoTo is an idiomatic wrapper over the Objective-C class PDFActionRemoteGoTo.
It embeds Action, promoting that type's methods.
PDFActionRemoteGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action that targets another document.
func ActionRemoteGoToFromID ¶ added in v0.17.0
func ActionRemoteGoToFromID(id objc.ID) *ActionRemoteGoTo
ActionRemoteGoToFromID adopts an existing Objective-C object as a ActionRemoteGoTo (nil for 0), retaining it and registering a release finalizer.
func NewActionRemoteGoToWithPageIndexAtPointFileURL ¶ added in v0.17.0
func NewActionRemoteGoToWithPageIndexAtPointFileURL(pageIndex int, point corefoundation.CGPoint, url string) *ActionRemoteGoTo
NewActionRemoteGoToWithPageIndexAtPointFileURL initializes the remote go-to action with the specified page index, point, and document URL.
func (*ActionRemoteGoTo) PageIndex ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) PageIndex() int
PageIndex returns the page index.
func (*ActionRemoteGoTo) Point ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) Point() corefoundation.CGPoint
Point returns the point.
func (*ActionRemoteGoTo) URL ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) URL() string
URL returns the URL.
func (*ActionRemoteGoTo) WithPageIndex ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) WithPageIndex(pageIndex int) *ActionRemoteGoTo
WithPageIndex sets returns the zero-based page index referenced by the remote go-to action.
func (*ActionRemoteGoTo) WithPoint ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) WithPoint(point corefoundation.CGPoint) *ActionRemoteGoTo
WithPoint sets sets the point, in page space, on the page referenced by the remote go-to action.
func (*ActionRemoteGoTo) WithURL ¶ added in v0.17.0
func (argt *ActionRemoteGoTo) WithURL(url string) *ActionRemoteGoTo
WithURL sets returns the URL of the document referenced by the remote go-to action.
type ActionResetForm ¶ added in v0.17.0
type ActionResetForm struct {
Action
}
ActionResetForm is an idiomatic wrapper over the Objective-C class PDFActionResetForm.
It embeds Action, promoting that type's methods.
PDFActionResetForm, a subclass of PDFAction, defines methods for getting and clearing fields in a PDF form.
func ActionResetFormFromID ¶ added in v0.17.0
func ActionResetFormFromID(id objc.ID) *ActionResetForm
ActionResetFormFromID adopts an existing Objective-C object as a ActionResetForm (nil for 0), retaining it and registering a release finalizer.
func NewActionResetForm ¶ added in v0.17.0
func NewActionResetForm() *ActionResetForm
NewActionResetForm creates a new ActionResetForm.
func (*ActionResetForm) Fields ¶ added in v0.17.0
func (arf *ActionResetForm) Fields() []string
Fields returns the fields.
Fields returns the collection as a Go slice.
func (*ActionResetForm) FieldsIncludedAreCleared ¶ added in v0.17.0
func (arf *ActionResetForm) FieldsIncludedAreCleared() bool
FieldsIncludedAreCleared wraps the corresponding Objective-C method.
func (*ActionResetForm) WithFields ¶ added in v0.17.0
func (arf *ActionResetForm) WithFields(items ...obj.Object) *ActionResetForm
WithFields sets returns an array of fields associated with the reset action.
func (*ActionResetForm) WithFieldsIncludedAreCleared ¶ added in v0.17.0
func (arf *ActionResetForm) WithFieldsIncludedAreCleared(fieldsIncludedAreCleared bool) *ActionResetForm
WithFieldsIncludedAreCleared sets sets whether the fields associated with the reset action are cleared when the action is performed.
type ActionURL ¶ added in v0.17.0
type ActionURL struct {
Action
}
ActionURL is an idiomatic wrapper over the Objective-C class PDFActionURL.
It embeds Action, promoting that type's methods.
PDFActionURL, a subclass of PDFAction, defines methods for getting and setting the URL associated with a URL action.
func ActionURLFromID ¶ added in v0.17.0
ActionURLFromID adopts an existing Objective-C object as a ActionURL (nil for 0), retaining it and registering a release finalizer.
func NewActionURLWithURL ¶ added in v0.17.0
NewActionURLWithURL initializes a URL action with the specified URL.
type Annotation ¶ added in v0.17.0
Annotation is an idiomatic wrapper over the Objective-C class PDFAnnotation.
Annotation is an abstract base — you do not construct it directly. Construct one of AnnotationButtonWidget, AnnotationChoiceWidget, AnnotationCircle, AnnotationFreeText, AnnotationInk, AnnotationLine, AnnotationLink, AnnotationMarkup, AnnotationPopup, AnnotationSquare, AnnotationStamp, AnnotationTextWidget, AnnotationText and pass it where a Annotation is accepted.
An annotation in a PDF document.
func AnnotationFromID ¶ added in v0.17.0
func AnnotationFromID(id objc.ID) *Annotation
AnnotationFromID adopts an existing Objective-C object as a Annotation (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationWithBounds ¶ added in v0.17.0
func NewAnnotationWithBounds(bounds corefoundation.CGRect) *Annotation
NewAnnotationWithBounds creates a new Annotation.
func NewAnnotationWithBoundsForTypeWithProperties ¶ added in v0.17.0
func NewAnnotationWithBoundsForTypeWithProperties(bounds corefoundation.CGRect, annotationType obj.Object, properties obj.Object) *Annotation
NewAnnotationWithBoundsForTypeWithProperties creates a PDF annotation with the specified bounds, type, and optional properties.
func NewAnnotationWithDictionaryForPage ¶ added in v0.17.0
func NewAnnotationWithDictionaryForPage(dictionary obj.Object, page *Page) *Annotation
NewAnnotationWithDictionaryForPage creates a new Annotation.
func (*Annotation) Action ¶ added in v0.18.0
func (a *Annotation) Action() unsafe.Pointer
Action returns the action.
func (*Annotation) AddBezierPath ¶ added in v0.17.0
func (a *Annotation) AddBezierPath(path obj.Object)
AddBezierPath adds a bezier path to the ink annotation.
func (*Annotation) AllowsToggleToOff ¶ added in v0.17.0
func (a *Annotation) AllowsToggleToOff() bool
AllowsToggleToOff wraps the corresponding Objective-C method.
func (*Annotation) AnnotationKeyValues ¶ added in v0.18.0
func (a *Annotation) AnnotationKeyValues() unsafe.Pointer
AnnotationKeyValues returns the annotation key values.
func (*Annotation) BackgroundColor ¶ added in v0.17.0
func (a *Annotation) BackgroundColor() obj.Object
BackgroundColor returns the background color.
func (*Annotation) Border ¶ added in v0.18.0
func (a *Annotation) Border() unsafe.Pointer
Border returns the border.
func (*Annotation) Bounds ¶ added in v0.17.0
func (a *Annotation) Bounds() corefoundation.CGRect
Bounds returns the bounds.
func (*Annotation) ButtonWidgetState ¶ added in v0.17.0
func (a *Annotation) ButtonWidgetState() WidgetCellState
ButtonWidgetState returns the button widget state.
func (*Annotation) ButtonWidgetStateString ¶ added in v0.17.0
func (a *Annotation) ButtonWidgetStateString() string
ButtonWidgetStateString returns the button widget state string.
func (*Annotation) Caption ¶ added in v0.17.0
func (a *Annotation) Caption() string
Caption returns the caption.
func (*Annotation) Choices ¶ added in v0.17.0
func (a *Annotation) Choices() []string
Choices returns the choices.
Choices returns the collection as a Go slice.
func (*Annotation) Color ¶ added in v0.18.0
func (a *Annotation) Color() unsafe.Pointer
Color returns the color.
func (*Annotation) Contents ¶ added in v0.18.0
func (a *Annotation) Contents() unsafe.Pointer
Contents returns the contents.
func (*Annotation) Description ¶ added in v0.17.0
func (a *Annotation) Description() string
Description returns the object's -description text.
func (*Annotation) Destination ¶ added in v0.17.0
func (a *Annotation) Destination() *Destination
Destination returns the destination.
func (*Annotation) DrawWithBox ¶ added in v0.17.0
func (a *Annotation) DrawWithBox(box DisplayBox)
DrawWithBox draws with box.
func (*Annotation) DrawWithBoxInContext ¶ added in v0.17.0
func (a *Annotation) DrawWithBoxInContext(box DisplayBox, context_ coregraphics.CGContextRef)
DrawWithBoxInContext draws the annotation in a graphics context using page-space coordinates relative to the origin of the specified box.
func (*Annotation) EndLineStyle ¶ added in v0.17.0
func (a *Annotation) EndLineStyle() LineStyle
EndLineStyle returns the end line style.
func (*Annotation) EndPoint ¶ added in v0.17.0
func (a *Annotation) EndPoint() corefoundation.CGPoint
EndPoint returns the end point.
func (*Annotation) FieldName ¶ added in v0.17.0
func (a *Annotation) FieldName() string
FieldName returns the field name.
func (*Annotation) Font ¶ added in v0.17.0
func (a *Annotation) Font() obj.Object
Font returns the font.
func (*Annotation) FontColor ¶ added in v0.17.0
func (a *Annotation) FontColor() obj.Object
FontColor returns the font color.
func (*Annotation) HasAppearanceStream ¶ added in v0.17.0
func (a *Annotation) HasAppearanceStream() bool
HasAppearanceStream reports whether the object has appearance stream.
func (*Annotation) HasComb ¶ added in v0.17.0
func (a *Annotation) HasComb() bool
HasComb reports whether the object has comb.
func (*Annotation) IconType ¶ added in v0.17.0
func (a *Annotation) IconType() TextAnnotationIconType
IconType returns the icon type.
func (*Annotation) InteriorColor ¶ added in v0.17.0
func (a *Annotation) InteriorColor() obj.Object
InteriorColor returns the interior color.
func (*Annotation) IsActivatableTextField ¶ added in v0.17.0
func (a *Annotation) IsActivatableTextField() bool
IsActivatableTextField reports whether the object is activatable text field.
func (*Annotation) IsEqual ¶ added in v0.17.0
func (a *Annotation) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Annotation) IsHighlighted ¶ added in v0.17.0
func (a *Annotation) IsHighlighted() bool
IsHighlighted reports whether the object is highlighted.
func (*Annotation) IsKind ¶ added in v0.17.0
func (a *Annotation) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Annotation) IsListChoice ¶ added in v0.17.0
func (a *Annotation) IsListChoice() bool
IsListChoice reports whether the object is list choice.
func (*Annotation) IsMultiline ¶ added in v0.17.0
func (a *Annotation) IsMultiline() bool
IsMultiline reports whether the object is multiline.
func (*Annotation) IsOpen ¶ added in v0.17.0
func (a *Annotation) IsOpen() bool
IsOpen reports whether the object is open.
func (*Annotation) IsPasswordField ¶ added in v0.17.0
func (a *Annotation) IsPasswordField() bool
IsPasswordField reports whether the object is password field.
func (*Annotation) IsReadOnly ¶ added in v0.17.0
func (a *Annotation) IsReadOnly() bool
IsReadOnly reports whether the object is read only.
func (*Annotation) MarkupType ¶ added in v0.17.0
func (a *Annotation) MarkupType() MarkupType
MarkupType returns the markup type.
func (*Annotation) MaximumLength ¶ added in v0.17.0
func (a *Annotation) MaximumLength() int
MaximumLength returns the maximum length.
func (*Annotation) ModificationDate ¶ added in v0.18.0
func (a *Annotation) ModificationDate() unsafe.Pointer
ModificationDate returns the modification date.
func (*Annotation) MouseUpAction ¶ added in v0.18.0
func (a *Annotation) MouseUpAction() unsafe.Pointer
MouseUpAction returns the mouse up action.
func (*Annotation) Paths ¶ added in v0.17.0
func (a *Annotation) Paths() []obj.Object
Paths returns the paths.
Paths returns the collection as a Go slice.
func (*Annotation) Popup ¶ added in v0.18.0
func (a *Annotation) Popup() unsafe.Pointer
Popup returns the popup.
func (*Annotation) QuadrilateralPoints ¶ added in v0.17.0
func (a *Annotation) QuadrilateralPoints() []obj.Object
QuadrilateralPoints returns the quadrilateral points.
QuadrilateralPoints returns the collection as a Go slice.
func (*Annotation) RadiosInUnison ¶ added in v0.17.0
func (a *Annotation) RadiosInUnison() bool
RadiosInUnison wraps the corresponding Objective-C method.
func (*Annotation) RemoveAllAppearanceStreams ¶ added in v0.17.0
func (a *Annotation) RemoveAllAppearanceStreams()
RemoveAllAppearanceStreams removes all appearance streams.
func (*Annotation) RemoveBezierPath ¶ added in v0.17.0
func (a *Annotation) RemoveBezierPath(path obj.Object)
RemoveBezierPath removes a bezier path from an ink annotation.
func (*Annotation) RemoveValueForAnnotationKey ¶ added in v0.17.0
func (a *Annotation) RemoveValueForAnnotationKey(key obj.Object)
RemoveValueForAnnotationKey removes a value from the annotation’s dictionary.
func (*Annotation) SetBooleanForAnnotationKey ¶ added in v0.17.0
func (a *Annotation) SetBooleanForAnnotationKey(value bool, key obj.Object) bool
SetBooleanForAnnotationKey sets a Boolean value in the annotation’s dictionary.
func (*Annotation) SetRectForAnnotationKey ¶ added in v0.17.0
func (a *Annotation) SetRectForAnnotationKey(value corefoundation.CGRect, key obj.Object) bool
SetRectForAnnotationKey sets a rectangle value in the annotation’s dictionary.
func (*Annotation) SetValueForAnnotationKey ¶ added in v0.17.0
SetValueForAnnotationKey sets a value in the annotation’s dictionary.
func (*Annotation) ShouldDisplay ¶ added in v0.17.0
func (a *Annotation) ShouldDisplay() bool
ShouldDisplay wraps the corresponding Objective-C method.
func (*Annotation) ShouldPrint ¶ added in v0.17.0
func (a *Annotation) ShouldPrint() bool
ShouldPrint wraps the corresponding Objective-C method.
func (*Annotation) StampName ¶ added in v0.17.0
func (a *Annotation) StampName() string
StampName returns the stamp name.
func (*Annotation) StartLineStyle ¶ added in v0.17.0
func (a *Annotation) StartLineStyle() LineStyle
StartLineStyle returns the start line style.
func (*Annotation) StartPoint ¶ added in v0.17.0
func (a *Annotation) StartPoint() corefoundation.CGPoint
StartPoint returns the start point.
func (*Annotation) String ¶ added in v0.17.0
func (a *Annotation) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Annotation) ToolTip ¶ added in v0.18.0
func (a *Annotation) ToolTip() unsafe.Pointer
ToolTip returns the tool tip.
func (*Annotation) Type ¶ added in v0.17.0
func (a *Annotation) Type() string
Type returns the type.
func (*Annotation) UserName ¶ added in v0.18.0
func (a *Annotation) UserName() unsafe.Pointer
UserName returns the user name.
func (*Annotation) ValueForAnnotationKey ¶ added in v0.17.0
func (a *Annotation) ValueForAnnotationKey(key obj.Object) obj.Object
ValueForAnnotationKey returns a deep copy of the key-value pairs of properties for the specified key.
func (*Annotation) Values ¶ added in v0.17.0
func (a *Annotation) Values() []string
Values returns the values.
Values returns the collection as a Go slice.
func (*Annotation) WidgetControlType ¶ added in v0.17.0
func (a *Annotation) WidgetControlType() WidgetControlType
WidgetControlType returns the widget control type.
func (*Annotation) WidgetDefaultStringValue ¶ added in v0.17.0
func (a *Annotation) WidgetDefaultStringValue() string
WidgetDefaultStringValue returns the widget default string value.
func (*Annotation) WidgetFieldType ¶ added in v0.17.0
func (a *Annotation) WidgetFieldType() string
WidgetFieldType returns the widget field type.
func (*Annotation) WidgetStringValue ¶ added in v0.17.0
func (a *Annotation) WidgetStringValue() string
WidgetStringValue returns the widget string value.
func (*Annotation) WithAction ¶ added in v0.17.0
func (a *Annotation) WithAction(action unsafe.Pointer) *Annotation
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*Annotation) WithAllowsToggleToOff ¶ added in v0.17.0
func (a *Annotation) WithAllowsToggleToOff(allowsToggleToOff bool) *Annotation
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*Annotation) WithBackgroundColor ¶ added in v0.17.0
func (a *Annotation) WithBackgroundColor(backgroundColor obj.Object) *Annotation
WithBackgroundColor sets the color of the widget’s background.
func (*Annotation) WithBorder ¶ added in v0.17.0
func (a *Annotation) WithBorder(border unsafe.Pointer) *Annotation
WithBorder sets sets the border style for the annotation.
func (*Annotation) WithBounds ¶ added in v0.17.0
func (a *Annotation) WithBounds(bounds corefoundation.CGRect) *Annotation
WithBounds sets returns the bounding box for the annotation in page space.
func (*Annotation) WithButtonWidgetState ¶ added in v0.17.0
func (a *Annotation) WithButtonWidgetState(buttonWidgetState WidgetCellState) *Annotation
WithButtonWidgetState sets the current state of the button widget annotation.
func (*Annotation) WithButtonWidgetStateString ¶ added in v0.17.0
func (a *Annotation) WithButtonWidgetStateString(buttonWidgetStateString string) *Annotation
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*Annotation) WithCaption ¶ added in v0.17.0
func (a *Annotation) WithCaption(caption string) *Annotation
WithCaption sets the title of push button widget annotations.
func (*Annotation) WithChoices ¶ added in v0.17.0
func (a *Annotation) WithChoices(items ...obj.Object) *Annotation
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*Annotation) WithColor ¶ added in v0.17.0
func (a *Annotation) WithColor(color unsafe.Pointer) *Annotation
WithColor sets sets the stroke color for the annotation.
func (*Annotation) WithComb ¶ added in v0.17.0
func (a *Annotation) WithComb(comb bool) *Annotation
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*Annotation) WithContents ¶ added in v0.17.0
func (a *Annotation) WithContents(contents unsafe.Pointer) *Annotation
WithContents sets returns the textual content (if any) associated with the annotation.
func (*Annotation) WithDestination ¶ added in v0.17.0
func (a *Annotation) WithDestination(destination *Destination) *Annotation
WithDestination sets the destination for a link annotation.
func (*Annotation) WithEndLineStyle ¶ added in v0.17.0
func (a *Annotation) WithEndLineStyle(endLineStyle LineStyle) *Annotation
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*Annotation) WithEndPoint ¶ added in v0.17.0
func (a *Annotation) WithEndPoint(endPoint corefoundation.CGPoint) *Annotation
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*Annotation) WithFieldName ¶ added in v0.17.0
func (a *Annotation) WithFieldName(fieldName string) *Annotation
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*Annotation) WithFont ¶ added in v0.17.0
func (a *Annotation) WithFont(font obj.Object) *Annotation
WithFont sets the font the annotation uses to display text.
func (*Annotation) WithFontColor ¶ added in v0.17.0
func (a *Annotation) WithFontColor(fontColor obj.Object) *Annotation
WithFontColor sets the font color the annotation uses to display text.
func (*Annotation) WithHighlighted ¶ added in v0.17.0
func (a *Annotation) WithHighlighted(highlighted bool) *Annotation
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*Annotation) WithIconType ¶ added in v0.17.0
func (a *Annotation) WithIconType(iconType TextAnnotationIconType) *Annotation
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*Annotation) WithInteriorColor ¶ added in v0.17.0
func (a *Annotation) WithInteriorColor(interiorColor obj.Object) *Annotation
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*Annotation) WithListChoice ¶ added in v0.17.0
func (a *Annotation) WithListChoice(listChoice bool) *Annotation
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*Annotation) WithMarkupType ¶ added in v0.17.0
func (a *Annotation) WithMarkupType(markupType MarkupType) *Annotation
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*Annotation) WithMaximumLength ¶ added in v0.17.0
func (a *Annotation) WithMaximumLength(maximumLength int) *Annotation
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*Annotation) WithModificationDate ¶ added in v0.17.0
func (a *Annotation) WithModificationDate(modificationDate unsafe.Pointer) *Annotation
WithModificationDate sets returns the modification date of the annotation.
func (*Annotation) WithMouseUpAction ¶ added in v0.17.0
func (a *Annotation) WithMouseUpAction(mouseUpAction unsafe.Pointer) *Annotation
WithMouseUpAction sets the mouse up action.
func (*Annotation) WithMultiline ¶ added in v0.17.0
func (a *Annotation) WithMultiline(multiline bool) *Annotation
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*Annotation) WithOpen ¶ added in v0.17.0
func (a *Annotation) WithOpen(open bool) *Annotation
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*Annotation) WithPage ¶ added in v0.17.0
func (a *Annotation) WithPage(page *Page) *Annotation
WithPage sets returns the page that the annotation is associated with.
func (*Annotation) WithPopup ¶ added in v0.17.0
func (a *Annotation) WithPopup(popup unsafe.Pointer) *Annotation
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*Annotation) WithQuadrilateralPoints ¶ added in v0.17.0
func (a *Annotation) WithQuadrilateralPoints(items ...obj.Object) *Annotation
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*Annotation) WithRadiosInUnison ¶ added in v0.17.0
func (a *Annotation) WithRadiosInUnison(radiosInUnison bool) *Annotation
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*Annotation) WithReadOnly ¶ added in v0.17.0
func (a *Annotation) WithReadOnly(readOnly bool) *Annotation
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*Annotation) WithShouldDisplay ¶ added in v0.17.0
func (a *Annotation) WithShouldDisplay(shouldDisplay bool) *Annotation
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*Annotation) WithShouldPrint ¶ added in v0.17.0
func (a *Annotation) WithShouldPrint(shouldPrint bool) *Annotation
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*Annotation) WithStampName ¶ added in v0.17.0
func (a *Annotation) WithStampName(stampName string) *Annotation
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*Annotation) WithStartLineStyle ¶ added in v0.17.0
func (a *Annotation) WithStartLineStyle(startLineStyle LineStyle) *Annotation
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*Annotation) WithStartPoint ¶ added in v0.17.0
func (a *Annotation) WithStartPoint(startPoint corefoundation.CGPoint) *Annotation
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*Annotation) WithType ¶ added in v0.17.0
func (a *Annotation) WithType(type_ string) *Annotation
WithType sets returns the type of the annotation.
func (*Annotation) WithURL ¶ added in v0.17.0
func (a *Annotation) WithURL(url string) *Annotation
WithURL sets a URL for a link annotation.
func (*Annotation) WithUserName ¶ added in v0.17.0
func (a *Annotation) WithUserName(userName unsafe.Pointer) *Annotation
WithUserName sets returns the name of the user who created the annotation.
func (*Annotation) WithValues ¶ added in v0.17.0
func (a *Annotation) WithValues(items ...obj.Object) *Annotation
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*Annotation) WithWidgetControlType ¶ added in v0.17.0
func (a *Annotation) WithWidgetControlType(widgetControlType WidgetControlType) *Annotation
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*Annotation) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (a *Annotation) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *Annotation
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*Annotation) WithWidgetFieldType ¶ added in v0.17.0
func (a *Annotation) WithWidgetFieldType(widgetFieldType obj.Object) *Annotation
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*Annotation) WithWidgetStringValue ¶ added in v0.17.0
func (a *Annotation) WithWidgetStringValue(widgetStringValue string) *Annotation
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationButtonWidget ¶ added in v0.17.0
type AnnotationButtonWidget struct {
Annotation
}
AnnotationButtonWidget is an idiomatic wrapper over the Objective-C class PDFAnnotationButtonWidget.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationButtonWidget object provides user interactivity on a page of a PDF document. There are three types of buttons available: push button, radio button, and checkbox.
func AnnotationButtonWidgetFromID ¶ added in v0.17.0
func AnnotationButtonWidgetFromID(id objc.ID) *AnnotationButtonWidget
AnnotationButtonWidgetFromID adopts an existing Objective-C object as a AnnotationButtonWidget (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationButtonWidget ¶ added in v0.17.0
func NewAnnotationButtonWidget() *AnnotationButtonWidget
NewAnnotationButtonWidget creates a new AnnotationButtonWidget.
func (*AnnotationButtonWidget) ControlType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) ControlType() WidgetControlType
ControlType returns the type of the control.
func (*AnnotationButtonWidget) OnStateValue ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) OnStateValue() string
OnStateValue returns the string associated with the on state of a radio button or checkbox control.
func (*AnnotationButtonWidget) SetControlType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) SetControlType(type_ WidgetControlType)
SetControlType sets the type of the control.
func (*AnnotationButtonWidget) SetOnStateValue ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) SetOnStateValue(name string)
SetOnStateValue sets the string that is associated with the on state of a radio button or checkbox control.
func (*AnnotationButtonWidget) SetState ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) SetState(value int)
SetState sets the state of the control.
func (*AnnotationButtonWidget) State ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) State() int
State returns the state of the control.
func (*AnnotationButtonWidget) WithAction ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithAction(action unsafe.Pointer) *AnnotationButtonWidget
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationButtonWidget) WithAllowsToggleToOff ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationButtonWidget
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationButtonWidget) WithBackgroundColor ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationButtonWidget
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationButtonWidget) WithBorder ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithBorder(border unsafe.Pointer) *AnnotationButtonWidget
WithBorder sets sets the border style for the annotation.
func (*AnnotationButtonWidget) WithBounds ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationButtonWidget
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationButtonWidget) WithButtonWidgetState ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationButtonWidget
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationButtonWidget) WithButtonWidgetStateString ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationButtonWidget
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationButtonWidget) WithCaption ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithCaption(caption string) *AnnotationButtonWidget
WithCaption sets the title of push button widget annotations.
func (*AnnotationButtonWidget) WithChoices ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithChoices(items ...obj.Object) *AnnotationButtonWidget
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationButtonWidget) WithColor ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithColor(color unsafe.Pointer) *AnnotationButtonWidget
WithColor sets sets the stroke color for the annotation.
func (*AnnotationButtonWidget) WithComb ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithComb(comb bool) *AnnotationButtonWidget
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationButtonWidget) WithContents ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithContents(contents unsafe.Pointer) *AnnotationButtonWidget
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationButtonWidget) WithDestination ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithDestination(destination *Destination) *AnnotationButtonWidget
WithDestination sets the destination for a link annotation.
func (*AnnotationButtonWidget) WithEndLineStyle ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationButtonWidget
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationButtonWidget) WithEndPoint ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationButtonWidget
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationButtonWidget) WithFieldName ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithFieldName(fieldName string) *AnnotationButtonWidget
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationButtonWidget) WithFont ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithFont(font obj.Object) *AnnotationButtonWidget
WithFont sets the font the annotation uses to display text.
func (*AnnotationButtonWidget) WithFontColor ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithFontColor(fontColor obj.Object) *AnnotationButtonWidget
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationButtonWidget) WithHighlighted ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithHighlighted(highlighted bool) *AnnotationButtonWidget
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationButtonWidget) WithIconType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationButtonWidget
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationButtonWidget) WithInteriorColor ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationButtonWidget
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationButtonWidget) WithListChoice ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithListChoice(listChoice bool) *AnnotationButtonWidget
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationButtonWidget) WithMarkupType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithMarkupType(markupType MarkupType) *AnnotationButtonWidget
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationButtonWidget) WithMaximumLength ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithMaximumLength(maximumLength int) *AnnotationButtonWidget
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationButtonWidget) WithModificationDate ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationButtonWidget
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationButtonWidget) WithMouseUpAction ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationButtonWidget
WithMouseUpAction sets the mouse up action.
func (*AnnotationButtonWidget) WithMultiline ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithMultiline(multiline bool) *AnnotationButtonWidget
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationButtonWidget) WithOpen ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithOpen(open bool) *AnnotationButtonWidget
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationButtonWidget) WithPage ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithPage(page *Page) *AnnotationButtonWidget
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationButtonWidget) WithPopup ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithPopup(popup unsafe.Pointer) *AnnotationButtonWidget
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationButtonWidget) WithQuadrilateralPoints ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationButtonWidget
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationButtonWidget) WithRadiosInUnison ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationButtonWidget
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationButtonWidget) WithReadOnly ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithReadOnly(readOnly bool) *AnnotationButtonWidget
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationButtonWidget) WithShouldDisplay ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationButtonWidget
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationButtonWidget) WithShouldPrint ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithShouldPrint(shouldPrint bool) *AnnotationButtonWidget
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationButtonWidget) WithStampName ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithStampName(stampName string) *AnnotationButtonWidget
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationButtonWidget) WithStartLineStyle ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationButtonWidget
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationButtonWidget) WithStartPoint ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationButtonWidget
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationButtonWidget) WithType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithType(type_ string) *AnnotationButtonWidget
WithType sets returns the type of the annotation.
func (*AnnotationButtonWidget) WithURL ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithURL(url string) *AnnotationButtonWidget
WithURL sets a URL for a link annotation.
func (*AnnotationButtonWidget) WithUserName ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithUserName(userName unsafe.Pointer) *AnnotationButtonWidget
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationButtonWidget) WithValues ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithValues(items ...obj.Object) *AnnotationButtonWidget
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationButtonWidget) WithWidgetControlType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationButtonWidget
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationButtonWidget) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationButtonWidget
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationButtonWidget) WithWidgetFieldType ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationButtonWidget
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationButtonWidget) WithWidgetStringValue ¶ added in v0.17.0
func (abw *AnnotationButtonWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationButtonWidget
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationChoiceWidget ¶ added in v0.17.0
type AnnotationChoiceWidget struct {
Annotation
}
AnnotationChoiceWidget is an idiomatic wrapper over the Objective-C class PDFAnnotationChoiceWidget.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationChoiceWidget object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.
func AnnotationChoiceWidgetFromID ¶ added in v0.17.0
func AnnotationChoiceWidgetFromID(id objc.ID) *AnnotationChoiceWidget
AnnotationChoiceWidgetFromID adopts an existing Objective-C object as a AnnotationChoiceWidget (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationChoiceWidget ¶ added in v0.17.0
func NewAnnotationChoiceWidget() *AnnotationChoiceWidget
NewAnnotationChoiceWidget creates a new AnnotationChoiceWidget.
func (*AnnotationChoiceWidget) SetIsListChoice ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) SetIsListChoice(isList bool)
SetIsListChoice sets whether the widget annotation is a list.
func (*AnnotationChoiceWidget) SetStringValue ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) SetStringValue(value string)
SetStringValue sets the selection in the widget annotation.
func (*AnnotationChoiceWidget) StringValue ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) StringValue() string
StringValue returns the selection in the widget annotation.
func (*AnnotationChoiceWidget) WithAction ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithAction(action unsafe.Pointer) *AnnotationChoiceWidget
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationChoiceWidget) WithAllowsToggleToOff ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationChoiceWidget
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationChoiceWidget) WithBackgroundColor ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationChoiceWidget
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationChoiceWidget) WithBorder ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithBorder(border unsafe.Pointer) *AnnotationChoiceWidget
WithBorder sets sets the border style for the annotation.
func (*AnnotationChoiceWidget) WithBounds ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationChoiceWidget
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationChoiceWidget) WithButtonWidgetState ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationChoiceWidget
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationChoiceWidget) WithButtonWidgetStateString ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationChoiceWidget
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationChoiceWidget) WithCaption ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithCaption(caption string) *AnnotationChoiceWidget
WithCaption sets the title of push button widget annotations.
func (*AnnotationChoiceWidget) WithChoices ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithChoices(items ...obj.Object) *AnnotationChoiceWidget
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationChoiceWidget) WithColor ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithColor(color unsafe.Pointer) *AnnotationChoiceWidget
WithColor sets sets the stroke color for the annotation.
func (*AnnotationChoiceWidget) WithComb ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithComb(comb bool) *AnnotationChoiceWidget
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationChoiceWidget) WithContents ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithContents(contents unsafe.Pointer) *AnnotationChoiceWidget
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationChoiceWidget) WithDestination ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithDestination(destination *Destination) *AnnotationChoiceWidget
WithDestination sets the destination for a link annotation.
func (*AnnotationChoiceWidget) WithEndLineStyle ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationChoiceWidget
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationChoiceWidget) WithEndPoint ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationChoiceWidget
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationChoiceWidget) WithFieldName ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithFieldName(fieldName string) *AnnotationChoiceWidget
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationChoiceWidget) WithFont ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithFont(font obj.Object) *AnnotationChoiceWidget
WithFont sets the font the annotation uses to display text.
func (*AnnotationChoiceWidget) WithFontColor ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithFontColor(fontColor obj.Object) *AnnotationChoiceWidget
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationChoiceWidget) WithHighlighted ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithHighlighted(highlighted bool) *AnnotationChoiceWidget
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationChoiceWidget) WithIconType ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationChoiceWidget
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationChoiceWidget) WithInteriorColor ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationChoiceWidget
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationChoiceWidget) WithListChoice ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithListChoice(listChoice bool) *AnnotationChoiceWidget
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationChoiceWidget) WithMarkupType ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithMarkupType(markupType MarkupType) *AnnotationChoiceWidget
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationChoiceWidget) WithMaximumLength ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithMaximumLength(maximumLength int) *AnnotationChoiceWidget
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationChoiceWidget) WithModificationDate ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationChoiceWidget
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationChoiceWidget) WithMouseUpAction ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationChoiceWidget
WithMouseUpAction sets the mouse up action.
func (*AnnotationChoiceWidget) WithMultiline ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithMultiline(multiline bool) *AnnotationChoiceWidget
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationChoiceWidget) WithOpen ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithOpen(open bool) *AnnotationChoiceWidget
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationChoiceWidget) WithPage ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithPage(page *Page) *AnnotationChoiceWidget
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationChoiceWidget) WithPopup ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithPopup(popup unsafe.Pointer) *AnnotationChoiceWidget
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationChoiceWidget) WithQuadrilateralPoints ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationChoiceWidget
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationChoiceWidget) WithRadiosInUnison ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationChoiceWidget
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationChoiceWidget) WithReadOnly ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithReadOnly(readOnly bool) *AnnotationChoiceWidget
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationChoiceWidget) WithShouldDisplay ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationChoiceWidget
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationChoiceWidget) WithShouldPrint ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithShouldPrint(shouldPrint bool) *AnnotationChoiceWidget
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationChoiceWidget) WithStampName ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithStampName(stampName string) *AnnotationChoiceWidget
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationChoiceWidget) WithStartLineStyle ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationChoiceWidget
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationChoiceWidget) WithStartPoint ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationChoiceWidget
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationChoiceWidget) WithType ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithType(type_ string) *AnnotationChoiceWidget
WithType sets returns the type of the annotation.
func (*AnnotationChoiceWidget) WithURL ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithURL(url string) *AnnotationChoiceWidget
WithURL sets a URL for a link annotation.
func (*AnnotationChoiceWidget) WithUserName ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithUserName(userName unsafe.Pointer) *AnnotationChoiceWidget
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationChoiceWidget) WithValues ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithValues(items ...obj.Object) *AnnotationChoiceWidget
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationChoiceWidget) WithWidgetControlType ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationChoiceWidget
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationChoiceWidget) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationChoiceWidget
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationChoiceWidget) WithWidgetFieldType ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationChoiceWidget
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationChoiceWidget) WithWidgetStringValue ¶ added in v0.17.0
func (acw *AnnotationChoiceWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationChoiceWidget
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationCircle ¶ added in v0.17.0
type AnnotationCircle struct {
Annotation
}
AnnotationCircle is an idiomatic wrapper over the Objective-C class PDFAnnotationCircle.
It embeds Annotation, promoting that type's methods.
func AnnotationCircleFromID ¶ added in v0.17.0
func AnnotationCircleFromID(id objc.ID) *AnnotationCircle
AnnotationCircleFromID adopts an existing Objective-C object as a AnnotationCircle (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationCircle ¶ added in v0.17.0
func NewAnnotationCircle() *AnnotationCircle
NewAnnotationCircle creates a new AnnotationCircle.
func (*AnnotationCircle) WithAction ¶ added in v0.17.0
func (ac *AnnotationCircle) WithAction(action unsafe.Pointer) *AnnotationCircle
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationCircle) WithAllowsToggleToOff ¶ added in v0.17.0
func (ac *AnnotationCircle) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationCircle
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationCircle) WithBackgroundColor ¶ added in v0.17.0
func (ac *AnnotationCircle) WithBackgroundColor(backgroundColor obj.Object) *AnnotationCircle
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationCircle) WithBorder ¶ added in v0.17.0
func (ac *AnnotationCircle) WithBorder(border unsafe.Pointer) *AnnotationCircle
WithBorder sets sets the border style for the annotation.
func (*AnnotationCircle) WithBounds ¶ added in v0.17.0
func (ac *AnnotationCircle) WithBounds(bounds corefoundation.CGRect) *AnnotationCircle
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationCircle) WithButtonWidgetState ¶ added in v0.17.0
func (ac *AnnotationCircle) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationCircle
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationCircle) WithButtonWidgetStateString ¶ added in v0.17.0
func (ac *AnnotationCircle) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationCircle
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationCircle) WithCaption ¶ added in v0.17.0
func (ac *AnnotationCircle) WithCaption(caption string) *AnnotationCircle
WithCaption sets the title of push button widget annotations.
func (*AnnotationCircle) WithChoices ¶ added in v0.17.0
func (ac *AnnotationCircle) WithChoices(items ...obj.Object) *AnnotationCircle
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationCircle) WithColor ¶ added in v0.17.0
func (ac *AnnotationCircle) WithColor(color unsafe.Pointer) *AnnotationCircle
WithColor sets sets the stroke color for the annotation.
func (*AnnotationCircle) WithComb ¶ added in v0.17.0
func (ac *AnnotationCircle) WithComb(comb bool) *AnnotationCircle
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationCircle) WithContents ¶ added in v0.17.0
func (ac *AnnotationCircle) WithContents(contents unsafe.Pointer) *AnnotationCircle
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationCircle) WithDestination ¶ added in v0.17.0
func (ac *AnnotationCircle) WithDestination(destination *Destination) *AnnotationCircle
WithDestination sets the destination for a link annotation.
func (*AnnotationCircle) WithEndLineStyle ¶ added in v0.17.0
func (ac *AnnotationCircle) WithEndLineStyle(endLineStyle LineStyle) *AnnotationCircle
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationCircle) WithEndPoint ¶ added in v0.17.0
func (ac *AnnotationCircle) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationCircle
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationCircle) WithFieldName ¶ added in v0.17.0
func (ac *AnnotationCircle) WithFieldName(fieldName string) *AnnotationCircle
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationCircle) WithFont ¶ added in v0.17.0
func (ac *AnnotationCircle) WithFont(font obj.Object) *AnnotationCircle
WithFont sets the font the annotation uses to display text.
func (*AnnotationCircle) WithFontColor ¶ added in v0.17.0
func (ac *AnnotationCircle) WithFontColor(fontColor obj.Object) *AnnotationCircle
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationCircle) WithHighlighted ¶ added in v0.17.0
func (ac *AnnotationCircle) WithHighlighted(highlighted bool) *AnnotationCircle
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationCircle) WithIconType ¶ added in v0.17.0
func (ac *AnnotationCircle) WithIconType(iconType TextAnnotationIconType) *AnnotationCircle
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationCircle) WithInteriorColor ¶ added in v0.17.0
func (ac *AnnotationCircle) WithInteriorColor(interiorColor obj.Object) *AnnotationCircle
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationCircle) WithListChoice ¶ added in v0.17.0
func (ac *AnnotationCircle) WithListChoice(listChoice bool) *AnnotationCircle
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationCircle) WithMarkupType ¶ added in v0.17.0
func (ac *AnnotationCircle) WithMarkupType(markupType MarkupType) *AnnotationCircle
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationCircle) WithMaximumLength ¶ added in v0.17.0
func (ac *AnnotationCircle) WithMaximumLength(maximumLength int) *AnnotationCircle
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationCircle) WithModificationDate ¶ added in v0.17.0
func (ac *AnnotationCircle) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationCircle
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationCircle) WithMouseUpAction ¶ added in v0.17.0
func (ac *AnnotationCircle) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationCircle
WithMouseUpAction sets the mouse up action.
func (*AnnotationCircle) WithMultiline ¶ added in v0.17.0
func (ac *AnnotationCircle) WithMultiline(multiline bool) *AnnotationCircle
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationCircle) WithOpen ¶ added in v0.17.0
func (ac *AnnotationCircle) WithOpen(open bool) *AnnotationCircle
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationCircle) WithPage ¶ added in v0.17.0
func (ac *AnnotationCircle) WithPage(page *Page) *AnnotationCircle
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationCircle) WithPopup ¶ added in v0.17.0
func (ac *AnnotationCircle) WithPopup(popup unsafe.Pointer) *AnnotationCircle
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationCircle) WithQuadrilateralPoints ¶ added in v0.17.0
func (ac *AnnotationCircle) WithQuadrilateralPoints(items ...obj.Object) *AnnotationCircle
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationCircle) WithRadiosInUnison ¶ added in v0.17.0
func (ac *AnnotationCircle) WithRadiosInUnison(radiosInUnison bool) *AnnotationCircle
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationCircle) WithReadOnly ¶ added in v0.17.0
func (ac *AnnotationCircle) WithReadOnly(readOnly bool) *AnnotationCircle
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationCircle) WithShouldDisplay ¶ added in v0.17.0
func (ac *AnnotationCircle) WithShouldDisplay(shouldDisplay bool) *AnnotationCircle
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationCircle) WithShouldPrint ¶ added in v0.17.0
func (ac *AnnotationCircle) WithShouldPrint(shouldPrint bool) *AnnotationCircle
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationCircle) WithStampName ¶ added in v0.17.0
func (ac *AnnotationCircle) WithStampName(stampName string) *AnnotationCircle
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationCircle) WithStartLineStyle ¶ added in v0.17.0
func (ac *AnnotationCircle) WithStartLineStyle(startLineStyle LineStyle) *AnnotationCircle
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationCircle) WithStartPoint ¶ added in v0.17.0
func (ac *AnnotationCircle) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationCircle
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationCircle) WithType ¶ added in v0.17.0
func (ac *AnnotationCircle) WithType(type_ string) *AnnotationCircle
WithType sets returns the type of the annotation.
func (*AnnotationCircle) WithURL ¶ added in v0.17.0
func (ac *AnnotationCircle) WithURL(url string) *AnnotationCircle
WithURL sets a URL for a link annotation.
func (*AnnotationCircle) WithUserName ¶ added in v0.17.0
func (ac *AnnotationCircle) WithUserName(userName unsafe.Pointer) *AnnotationCircle
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationCircle) WithValues ¶ added in v0.17.0
func (ac *AnnotationCircle) WithValues(items ...obj.Object) *AnnotationCircle
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationCircle) WithWidgetControlType ¶ added in v0.17.0
func (ac *AnnotationCircle) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationCircle
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationCircle) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (ac *AnnotationCircle) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationCircle
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationCircle) WithWidgetFieldType ¶ added in v0.17.0
func (ac *AnnotationCircle) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationCircle
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationCircle) WithWidgetStringValue ¶ added in v0.17.0
func (ac *AnnotationCircle) WithWidgetStringValue(widgetStringValue string) *AnnotationCircle
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationFreeText ¶ added in v0.17.0
type AnnotationFreeText struct {
Annotation
}
AnnotationFreeText is an idiomatic wrapper over the Objective-C class PDFAnnotationFreeText.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationFreeText object displays text on a page.
func AnnotationFreeTextFromID ¶ added in v0.17.0
func AnnotationFreeTextFromID(id objc.ID) *AnnotationFreeText
AnnotationFreeTextFromID adopts an existing Objective-C object as a AnnotationFreeText (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationFreeText ¶ added in v0.17.0
func NewAnnotationFreeText() *AnnotationFreeText
NewAnnotationFreeText creates a new AnnotationFreeText.
func (*AnnotationFreeText) WithAction ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithAction(action unsafe.Pointer) *AnnotationFreeText
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationFreeText) WithAllowsToggleToOff ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationFreeText
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationFreeText) WithBackgroundColor ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithBackgroundColor(backgroundColor obj.Object) *AnnotationFreeText
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationFreeText) WithBorder ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithBorder(border unsafe.Pointer) *AnnotationFreeText
WithBorder sets sets the border style for the annotation.
func (*AnnotationFreeText) WithBounds ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithBounds(bounds corefoundation.CGRect) *AnnotationFreeText
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationFreeText) WithButtonWidgetState ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationFreeText
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationFreeText) WithButtonWidgetStateString ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationFreeText
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationFreeText) WithCaption ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithCaption(caption string) *AnnotationFreeText
WithCaption sets the title of push button widget annotations.
func (*AnnotationFreeText) WithChoices ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithChoices(items ...obj.Object) *AnnotationFreeText
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationFreeText) WithColor ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithColor(color unsafe.Pointer) *AnnotationFreeText
WithColor sets sets the stroke color for the annotation.
func (*AnnotationFreeText) WithComb ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithComb(comb bool) *AnnotationFreeText
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationFreeText) WithContents ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithContents(contents unsafe.Pointer) *AnnotationFreeText
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationFreeText) WithDestination ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithDestination(destination *Destination) *AnnotationFreeText
WithDestination sets the destination for a link annotation.
func (*AnnotationFreeText) WithEndLineStyle ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithEndLineStyle(endLineStyle LineStyle) *AnnotationFreeText
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationFreeText) WithEndPoint ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationFreeText
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationFreeText) WithFieldName ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithFieldName(fieldName string) *AnnotationFreeText
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationFreeText) WithFont ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithFont(font obj.Object) *AnnotationFreeText
WithFont sets the font the annotation uses to display text.
func (*AnnotationFreeText) WithFontColor ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithFontColor(fontColor obj.Object) *AnnotationFreeText
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationFreeText) WithHighlighted ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithHighlighted(highlighted bool) *AnnotationFreeText
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationFreeText) WithIconType ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithIconType(iconType TextAnnotationIconType) *AnnotationFreeText
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationFreeText) WithInteriorColor ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithInteriorColor(interiorColor obj.Object) *AnnotationFreeText
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationFreeText) WithListChoice ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithListChoice(listChoice bool) *AnnotationFreeText
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationFreeText) WithMarkupType ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithMarkupType(markupType MarkupType) *AnnotationFreeText
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationFreeText) WithMaximumLength ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithMaximumLength(maximumLength int) *AnnotationFreeText
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationFreeText) WithModificationDate ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationFreeText
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationFreeText) WithMouseUpAction ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationFreeText
WithMouseUpAction sets the mouse up action.
func (*AnnotationFreeText) WithMultiline ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithMultiline(multiline bool) *AnnotationFreeText
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationFreeText) WithOpen ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithOpen(open bool) *AnnotationFreeText
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationFreeText) WithPage ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithPage(page *Page) *AnnotationFreeText
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationFreeText) WithPopup ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithPopup(popup unsafe.Pointer) *AnnotationFreeText
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationFreeText) WithQuadrilateralPoints ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithQuadrilateralPoints(items ...obj.Object) *AnnotationFreeText
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationFreeText) WithRadiosInUnison ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithRadiosInUnison(radiosInUnison bool) *AnnotationFreeText
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationFreeText) WithReadOnly ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithReadOnly(readOnly bool) *AnnotationFreeText
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationFreeText) WithShouldDisplay ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithShouldDisplay(shouldDisplay bool) *AnnotationFreeText
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationFreeText) WithShouldPrint ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithShouldPrint(shouldPrint bool) *AnnotationFreeText
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationFreeText) WithStampName ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithStampName(stampName string) *AnnotationFreeText
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationFreeText) WithStartLineStyle ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithStartLineStyle(startLineStyle LineStyle) *AnnotationFreeText
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationFreeText) WithStartPoint ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationFreeText
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationFreeText) WithType ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithType(type_ string) *AnnotationFreeText
WithType sets returns the type of the annotation.
func (*AnnotationFreeText) WithURL ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithURL(url string) *AnnotationFreeText
WithURL sets a URL for a link annotation.
func (*AnnotationFreeText) WithUserName ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithUserName(userName unsafe.Pointer) *AnnotationFreeText
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationFreeText) WithValues ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithValues(items ...obj.Object) *AnnotationFreeText
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationFreeText) WithWidgetControlType ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationFreeText
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationFreeText) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationFreeText
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationFreeText) WithWidgetFieldType ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationFreeText
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationFreeText) WithWidgetStringValue ¶ added in v0.17.0
func (aft *AnnotationFreeText) WithWidgetStringValue(widgetStringValue string) *AnnotationFreeText
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationInk ¶ added in v0.17.0
type AnnotationInk struct {
Annotation
}
AnnotationInk is an idiomatic wrapper over the Objective-C class PDFAnnotationInk.
It embeds Annotation, promoting that type's methods.
func AnnotationInkFromID ¶ added in v0.17.0
func AnnotationInkFromID(id objc.ID) *AnnotationInk
AnnotationInkFromID adopts an existing Objective-C object as a AnnotationInk (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationInk ¶ added in v0.17.0
func NewAnnotationInk() *AnnotationInk
NewAnnotationInk creates a new AnnotationInk.
func (*AnnotationInk) WithAction ¶ added in v0.17.0
func (ai *AnnotationInk) WithAction(action unsafe.Pointer) *AnnotationInk
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationInk) WithAllowsToggleToOff ¶ added in v0.17.0
func (ai *AnnotationInk) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationInk
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationInk) WithBackgroundColor ¶ added in v0.17.0
func (ai *AnnotationInk) WithBackgroundColor(backgroundColor obj.Object) *AnnotationInk
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationInk) WithBorder ¶ added in v0.17.0
func (ai *AnnotationInk) WithBorder(border unsafe.Pointer) *AnnotationInk
WithBorder sets sets the border style for the annotation.
func (*AnnotationInk) WithBounds ¶ added in v0.17.0
func (ai *AnnotationInk) WithBounds(bounds corefoundation.CGRect) *AnnotationInk
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationInk) WithButtonWidgetState ¶ added in v0.17.0
func (ai *AnnotationInk) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationInk
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationInk) WithButtonWidgetStateString ¶ added in v0.17.0
func (ai *AnnotationInk) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationInk
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationInk) WithCaption ¶ added in v0.17.0
func (ai *AnnotationInk) WithCaption(caption string) *AnnotationInk
WithCaption sets the title of push button widget annotations.
func (*AnnotationInk) WithChoices ¶ added in v0.17.0
func (ai *AnnotationInk) WithChoices(items ...obj.Object) *AnnotationInk
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationInk) WithColor ¶ added in v0.17.0
func (ai *AnnotationInk) WithColor(color unsafe.Pointer) *AnnotationInk
WithColor sets sets the stroke color for the annotation.
func (*AnnotationInk) WithComb ¶ added in v0.17.0
func (ai *AnnotationInk) WithComb(comb bool) *AnnotationInk
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationInk) WithContents ¶ added in v0.17.0
func (ai *AnnotationInk) WithContents(contents unsafe.Pointer) *AnnotationInk
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationInk) WithDestination ¶ added in v0.17.0
func (ai *AnnotationInk) WithDestination(destination *Destination) *AnnotationInk
WithDestination sets the destination for a link annotation.
func (*AnnotationInk) WithEndLineStyle ¶ added in v0.17.0
func (ai *AnnotationInk) WithEndLineStyle(endLineStyle LineStyle) *AnnotationInk
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationInk) WithEndPoint ¶ added in v0.17.0
func (ai *AnnotationInk) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationInk
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationInk) WithFieldName ¶ added in v0.17.0
func (ai *AnnotationInk) WithFieldName(fieldName string) *AnnotationInk
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationInk) WithFont ¶ added in v0.17.0
func (ai *AnnotationInk) WithFont(font obj.Object) *AnnotationInk
WithFont sets the font the annotation uses to display text.
func (*AnnotationInk) WithFontColor ¶ added in v0.17.0
func (ai *AnnotationInk) WithFontColor(fontColor obj.Object) *AnnotationInk
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationInk) WithHighlighted ¶ added in v0.17.0
func (ai *AnnotationInk) WithHighlighted(highlighted bool) *AnnotationInk
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationInk) WithIconType ¶ added in v0.17.0
func (ai *AnnotationInk) WithIconType(iconType TextAnnotationIconType) *AnnotationInk
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationInk) WithInteriorColor ¶ added in v0.17.0
func (ai *AnnotationInk) WithInteriorColor(interiorColor obj.Object) *AnnotationInk
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationInk) WithListChoice ¶ added in v0.17.0
func (ai *AnnotationInk) WithListChoice(listChoice bool) *AnnotationInk
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationInk) WithMarkupType ¶ added in v0.17.0
func (ai *AnnotationInk) WithMarkupType(markupType MarkupType) *AnnotationInk
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationInk) WithMaximumLength ¶ added in v0.17.0
func (ai *AnnotationInk) WithMaximumLength(maximumLength int) *AnnotationInk
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationInk) WithModificationDate ¶ added in v0.17.0
func (ai *AnnotationInk) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationInk
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationInk) WithMouseUpAction ¶ added in v0.17.0
func (ai *AnnotationInk) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationInk
WithMouseUpAction sets the mouse up action.
func (*AnnotationInk) WithMultiline ¶ added in v0.17.0
func (ai *AnnotationInk) WithMultiline(multiline bool) *AnnotationInk
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationInk) WithOpen ¶ added in v0.17.0
func (ai *AnnotationInk) WithOpen(open bool) *AnnotationInk
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationInk) WithPage ¶ added in v0.17.0
func (ai *AnnotationInk) WithPage(page *Page) *AnnotationInk
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationInk) WithPopup ¶ added in v0.17.0
func (ai *AnnotationInk) WithPopup(popup unsafe.Pointer) *AnnotationInk
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationInk) WithQuadrilateralPoints ¶ added in v0.17.0
func (ai *AnnotationInk) WithQuadrilateralPoints(items ...obj.Object) *AnnotationInk
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationInk) WithRadiosInUnison ¶ added in v0.17.0
func (ai *AnnotationInk) WithRadiosInUnison(radiosInUnison bool) *AnnotationInk
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationInk) WithReadOnly ¶ added in v0.17.0
func (ai *AnnotationInk) WithReadOnly(readOnly bool) *AnnotationInk
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationInk) WithShouldDisplay ¶ added in v0.17.0
func (ai *AnnotationInk) WithShouldDisplay(shouldDisplay bool) *AnnotationInk
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationInk) WithShouldPrint ¶ added in v0.17.0
func (ai *AnnotationInk) WithShouldPrint(shouldPrint bool) *AnnotationInk
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationInk) WithStampName ¶ added in v0.17.0
func (ai *AnnotationInk) WithStampName(stampName string) *AnnotationInk
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationInk) WithStartLineStyle ¶ added in v0.17.0
func (ai *AnnotationInk) WithStartLineStyle(startLineStyle LineStyle) *AnnotationInk
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationInk) WithStartPoint ¶ added in v0.17.0
func (ai *AnnotationInk) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationInk
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationInk) WithType ¶ added in v0.17.0
func (ai *AnnotationInk) WithType(type_ string) *AnnotationInk
WithType sets returns the type of the annotation.
func (*AnnotationInk) WithURL ¶ added in v0.17.0
func (ai *AnnotationInk) WithURL(url string) *AnnotationInk
WithURL sets a URL for a link annotation.
func (*AnnotationInk) WithUserName ¶ added in v0.17.0
func (ai *AnnotationInk) WithUserName(userName unsafe.Pointer) *AnnotationInk
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationInk) WithValues ¶ added in v0.17.0
func (ai *AnnotationInk) WithValues(items ...obj.Object) *AnnotationInk
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationInk) WithWidgetControlType ¶ added in v0.17.0
func (ai *AnnotationInk) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationInk
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationInk) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (ai *AnnotationInk) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationInk
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationInk) WithWidgetFieldType ¶ added in v0.17.0
func (ai *AnnotationInk) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationInk
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationInk) WithWidgetStringValue ¶ added in v0.17.0
func (ai *AnnotationInk) WithWidgetStringValue(widgetStringValue string) *AnnotationInk
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationLine ¶ added in v0.17.0
type AnnotationLine struct {
Annotation
}
AnnotationLine is an idiomatic wrapper over the Objective-C class PDFAnnotationLine.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationLine object displays a single line on a page.
func AnnotationLineFromID ¶ added in v0.17.0
func AnnotationLineFromID(id objc.ID) *AnnotationLine
AnnotationLineFromID adopts an existing Objective-C object as a AnnotationLine (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationLine ¶ added in v0.17.0
func NewAnnotationLine() *AnnotationLine
NewAnnotationLine creates a new AnnotationLine.
func (*AnnotationLine) WithAction ¶ added in v0.17.0
func (al *AnnotationLine) WithAction(action unsafe.Pointer) *AnnotationLine
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationLine) WithAllowsToggleToOff ¶ added in v0.17.0
func (al *AnnotationLine) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationLine
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationLine) WithBackgroundColor ¶ added in v0.17.0
func (al *AnnotationLine) WithBackgroundColor(backgroundColor obj.Object) *AnnotationLine
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationLine) WithBorder ¶ added in v0.17.0
func (al *AnnotationLine) WithBorder(border unsafe.Pointer) *AnnotationLine
WithBorder sets sets the border style for the annotation.
func (*AnnotationLine) WithBounds ¶ added in v0.17.0
func (al *AnnotationLine) WithBounds(bounds corefoundation.CGRect) *AnnotationLine
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationLine) WithButtonWidgetState ¶ added in v0.17.0
func (al *AnnotationLine) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationLine
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationLine) WithButtonWidgetStateString ¶ added in v0.17.0
func (al *AnnotationLine) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationLine
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationLine) WithCaption ¶ added in v0.17.0
func (al *AnnotationLine) WithCaption(caption string) *AnnotationLine
WithCaption sets the title of push button widget annotations.
func (*AnnotationLine) WithChoices ¶ added in v0.17.0
func (al *AnnotationLine) WithChoices(items ...obj.Object) *AnnotationLine
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationLine) WithColor ¶ added in v0.17.0
func (al *AnnotationLine) WithColor(color unsafe.Pointer) *AnnotationLine
WithColor sets sets the stroke color for the annotation.
func (*AnnotationLine) WithComb ¶ added in v0.17.0
func (al *AnnotationLine) WithComb(comb bool) *AnnotationLine
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationLine) WithContents ¶ added in v0.17.0
func (al *AnnotationLine) WithContents(contents unsafe.Pointer) *AnnotationLine
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationLine) WithDestination ¶ added in v0.17.0
func (al *AnnotationLine) WithDestination(destination *Destination) *AnnotationLine
WithDestination sets the destination for a link annotation.
func (*AnnotationLine) WithEndLineStyle ¶ added in v0.17.0
func (al *AnnotationLine) WithEndLineStyle(endLineStyle LineStyle) *AnnotationLine
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationLine) WithEndPoint ¶ added in v0.17.0
func (al *AnnotationLine) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationLine
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationLine) WithFieldName ¶ added in v0.17.0
func (al *AnnotationLine) WithFieldName(fieldName string) *AnnotationLine
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationLine) WithFont ¶ added in v0.17.0
func (al *AnnotationLine) WithFont(font obj.Object) *AnnotationLine
WithFont sets the font the annotation uses to display text.
func (*AnnotationLine) WithFontColor ¶ added in v0.17.0
func (al *AnnotationLine) WithFontColor(fontColor obj.Object) *AnnotationLine
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationLine) WithHighlighted ¶ added in v0.17.0
func (al *AnnotationLine) WithHighlighted(highlighted bool) *AnnotationLine
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationLine) WithIconType ¶ added in v0.17.0
func (al *AnnotationLine) WithIconType(iconType TextAnnotationIconType) *AnnotationLine
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationLine) WithInteriorColor ¶ added in v0.17.0
func (al *AnnotationLine) WithInteriorColor(interiorColor obj.Object) *AnnotationLine
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationLine) WithListChoice ¶ added in v0.17.0
func (al *AnnotationLine) WithListChoice(listChoice bool) *AnnotationLine
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationLine) WithMarkupType ¶ added in v0.17.0
func (al *AnnotationLine) WithMarkupType(markupType MarkupType) *AnnotationLine
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationLine) WithMaximumLength ¶ added in v0.17.0
func (al *AnnotationLine) WithMaximumLength(maximumLength int) *AnnotationLine
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationLine) WithModificationDate ¶ added in v0.17.0
func (al *AnnotationLine) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationLine
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationLine) WithMouseUpAction ¶ added in v0.17.0
func (al *AnnotationLine) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationLine
WithMouseUpAction sets the mouse up action.
func (*AnnotationLine) WithMultiline ¶ added in v0.17.0
func (al *AnnotationLine) WithMultiline(multiline bool) *AnnotationLine
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationLine) WithOpen ¶ added in v0.17.0
func (al *AnnotationLine) WithOpen(open bool) *AnnotationLine
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationLine) WithPage ¶ added in v0.17.0
func (al *AnnotationLine) WithPage(page *Page) *AnnotationLine
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationLine) WithPopup ¶ added in v0.17.0
func (al *AnnotationLine) WithPopup(popup unsafe.Pointer) *AnnotationLine
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationLine) WithQuadrilateralPoints ¶ added in v0.17.0
func (al *AnnotationLine) WithQuadrilateralPoints(items ...obj.Object) *AnnotationLine
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationLine) WithRadiosInUnison ¶ added in v0.17.0
func (al *AnnotationLine) WithRadiosInUnison(radiosInUnison bool) *AnnotationLine
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationLine) WithReadOnly ¶ added in v0.17.0
func (al *AnnotationLine) WithReadOnly(readOnly bool) *AnnotationLine
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationLine) WithShouldDisplay ¶ added in v0.17.0
func (al *AnnotationLine) WithShouldDisplay(shouldDisplay bool) *AnnotationLine
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationLine) WithShouldPrint ¶ added in v0.17.0
func (al *AnnotationLine) WithShouldPrint(shouldPrint bool) *AnnotationLine
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationLine) WithStampName ¶ added in v0.17.0
func (al *AnnotationLine) WithStampName(stampName string) *AnnotationLine
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationLine) WithStartLineStyle ¶ added in v0.17.0
func (al *AnnotationLine) WithStartLineStyle(startLineStyle LineStyle) *AnnotationLine
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationLine) WithStartPoint ¶ added in v0.17.0
func (al *AnnotationLine) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationLine
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationLine) WithType ¶ added in v0.17.0
func (al *AnnotationLine) WithType(type_ string) *AnnotationLine
WithType sets returns the type of the annotation.
func (*AnnotationLine) WithURL ¶ added in v0.17.0
func (al *AnnotationLine) WithURL(url string) *AnnotationLine
WithURL sets a URL for a link annotation.
func (*AnnotationLine) WithUserName ¶ added in v0.17.0
func (al *AnnotationLine) WithUserName(userName unsafe.Pointer) *AnnotationLine
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationLine) WithValues ¶ added in v0.17.0
func (al *AnnotationLine) WithValues(items ...obj.Object) *AnnotationLine
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationLine) WithWidgetControlType ¶ added in v0.17.0
func (al *AnnotationLine) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationLine
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationLine) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (al *AnnotationLine) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationLine
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationLine) WithWidgetFieldType ¶ added in v0.17.0
func (al *AnnotationLine) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationLine
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationLine) WithWidgetStringValue ¶ added in v0.17.0
func (al *AnnotationLine) WithWidgetStringValue(widgetStringValue string) *AnnotationLine
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationLink ¶ added in v0.17.0
type AnnotationLink struct {
Annotation
}
AnnotationLink is an idiomatic wrapper over the Objective-C class PDFAnnotationLink.
It embeds Annotation, promoting that type's methods.
func AnnotationLinkFromID ¶ added in v0.17.0
func AnnotationLinkFromID(id objc.ID) *AnnotationLink
AnnotationLinkFromID adopts an existing Objective-C object as a AnnotationLink (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationLink ¶ added in v0.17.0
func NewAnnotationLink() *AnnotationLink
NewAnnotationLink creates a new AnnotationLink.
func (*AnnotationLink) WithAction ¶ added in v0.17.0
func (al *AnnotationLink) WithAction(action unsafe.Pointer) *AnnotationLink
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationLink) WithAllowsToggleToOff ¶ added in v0.17.0
func (al *AnnotationLink) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationLink
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationLink) WithBackgroundColor ¶ added in v0.17.0
func (al *AnnotationLink) WithBackgroundColor(backgroundColor obj.Object) *AnnotationLink
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationLink) WithBorder ¶ added in v0.17.0
func (al *AnnotationLink) WithBorder(border unsafe.Pointer) *AnnotationLink
WithBorder sets sets the border style for the annotation.
func (*AnnotationLink) WithBounds ¶ added in v0.17.0
func (al *AnnotationLink) WithBounds(bounds corefoundation.CGRect) *AnnotationLink
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationLink) WithButtonWidgetState ¶ added in v0.17.0
func (al *AnnotationLink) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationLink
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationLink) WithButtonWidgetStateString ¶ added in v0.17.0
func (al *AnnotationLink) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationLink
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationLink) WithCaption ¶ added in v0.17.0
func (al *AnnotationLink) WithCaption(caption string) *AnnotationLink
WithCaption sets the title of push button widget annotations.
func (*AnnotationLink) WithChoices ¶ added in v0.17.0
func (al *AnnotationLink) WithChoices(items ...obj.Object) *AnnotationLink
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationLink) WithColor ¶ added in v0.17.0
func (al *AnnotationLink) WithColor(color unsafe.Pointer) *AnnotationLink
WithColor sets sets the stroke color for the annotation.
func (*AnnotationLink) WithComb ¶ added in v0.17.0
func (al *AnnotationLink) WithComb(comb bool) *AnnotationLink
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationLink) WithContents ¶ added in v0.17.0
func (al *AnnotationLink) WithContents(contents unsafe.Pointer) *AnnotationLink
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationLink) WithDestination ¶ added in v0.17.0
func (al *AnnotationLink) WithDestination(destination *Destination) *AnnotationLink
WithDestination sets the destination for a link annotation.
func (*AnnotationLink) WithEndLineStyle ¶ added in v0.17.0
func (al *AnnotationLink) WithEndLineStyle(endLineStyle LineStyle) *AnnotationLink
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationLink) WithEndPoint ¶ added in v0.17.0
func (al *AnnotationLink) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationLink
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationLink) WithFieldName ¶ added in v0.17.0
func (al *AnnotationLink) WithFieldName(fieldName string) *AnnotationLink
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationLink) WithFont ¶ added in v0.17.0
func (al *AnnotationLink) WithFont(font obj.Object) *AnnotationLink
WithFont sets the font the annotation uses to display text.
func (*AnnotationLink) WithFontColor ¶ added in v0.17.0
func (al *AnnotationLink) WithFontColor(fontColor obj.Object) *AnnotationLink
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationLink) WithHighlighted ¶ added in v0.17.0
func (al *AnnotationLink) WithHighlighted(highlighted bool) *AnnotationLink
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationLink) WithIconType ¶ added in v0.17.0
func (al *AnnotationLink) WithIconType(iconType TextAnnotationIconType) *AnnotationLink
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationLink) WithInteriorColor ¶ added in v0.17.0
func (al *AnnotationLink) WithInteriorColor(interiorColor obj.Object) *AnnotationLink
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationLink) WithListChoice ¶ added in v0.17.0
func (al *AnnotationLink) WithListChoice(listChoice bool) *AnnotationLink
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationLink) WithMarkupType ¶ added in v0.17.0
func (al *AnnotationLink) WithMarkupType(markupType MarkupType) *AnnotationLink
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationLink) WithMaximumLength ¶ added in v0.17.0
func (al *AnnotationLink) WithMaximumLength(maximumLength int) *AnnotationLink
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationLink) WithModificationDate ¶ added in v0.17.0
func (al *AnnotationLink) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationLink
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationLink) WithMouseUpAction ¶ added in v0.17.0
func (al *AnnotationLink) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationLink
WithMouseUpAction sets the mouse up action.
func (*AnnotationLink) WithMultiline ¶ added in v0.17.0
func (al *AnnotationLink) WithMultiline(multiline bool) *AnnotationLink
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationLink) WithOpen ¶ added in v0.17.0
func (al *AnnotationLink) WithOpen(open bool) *AnnotationLink
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationLink) WithPage ¶ added in v0.17.0
func (al *AnnotationLink) WithPage(page *Page) *AnnotationLink
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationLink) WithPopup ¶ added in v0.17.0
func (al *AnnotationLink) WithPopup(popup unsafe.Pointer) *AnnotationLink
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationLink) WithQuadrilateralPoints ¶ added in v0.17.0
func (al *AnnotationLink) WithQuadrilateralPoints(items ...obj.Object) *AnnotationLink
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationLink) WithRadiosInUnison ¶ added in v0.17.0
func (al *AnnotationLink) WithRadiosInUnison(radiosInUnison bool) *AnnotationLink
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationLink) WithReadOnly ¶ added in v0.17.0
func (al *AnnotationLink) WithReadOnly(readOnly bool) *AnnotationLink
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationLink) WithShouldDisplay ¶ added in v0.17.0
func (al *AnnotationLink) WithShouldDisplay(shouldDisplay bool) *AnnotationLink
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationLink) WithShouldPrint ¶ added in v0.17.0
func (al *AnnotationLink) WithShouldPrint(shouldPrint bool) *AnnotationLink
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationLink) WithStampName ¶ added in v0.17.0
func (al *AnnotationLink) WithStampName(stampName string) *AnnotationLink
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationLink) WithStartLineStyle ¶ added in v0.17.0
func (al *AnnotationLink) WithStartLineStyle(startLineStyle LineStyle) *AnnotationLink
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationLink) WithStartPoint ¶ added in v0.17.0
func (al *AnnotationLink) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationLink
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationLink) WithType ¶ added in v0.17.0
func (al *AnnotationLink) WithType(type_ string) *AnnotationLink
WithType sets returns the type of the annotation.
func (*AnnotationLink) WithURL ¶ added in v0.17.0
func (al *AnnotationLink) WithURL(url string) *AnnotationLink
WithURL sets a URL for a link annotation.
func (*AnnotationLink) WithUserName ¶ added in v0.17.0
func (al *AnnotationLink) WithUserName(userName unsafe.Pointer) *AnnotationLink
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationLink) WithValues ¶ added in v0.17.0
func (al *AnnotationLink) WithValues(items ...obj.Object) *AnnotationLink
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationLink) WithWidgetControlType ¶ added in v0.17.0
func (al *AnnotationLink) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationLink
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationLink) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (al *AnnotationLink) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationLink
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationLink) WithWidgetFieldType ¶ added in v0.17.0
func (al *AnnotationLink) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationLink
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationLink) WithWidgetStringValue ¶ added in v0.17.0
func (al *AnnotationLink) WithWidgetStringValue(widgetStringValue string) *AnnotationLink
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationMarkup ¶ added in v0.17.0
type AnnotationMarkup struct {
Annotation
}
AnnotationMarkup is an idiomatic wrapper over the Objective-C class PDFAnnotationMarkup.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationMarkup object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.
func AnnotationMarkupFromID ¶ added in v0.17.0
func AnnotationMarkupFromID(id objc.ID) *AnnotationMarkup
AnnotationMarkupFromID adopts an existing Objective-C object as a AnnotationMarkup (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationMarkup ¶ added in v0.17.0
func NewAnnotationMarkup() *AnnotationMarkup
NewAnnotationMarkup creates a new AnnotationMarkup.
func (*AnnotationMarkup) WithAction ¶ added in v0.17.0
func (am *AnnotationMarkup) WithAction(action unsafe.Pointer) *AnnotationMarkup
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationMarkup) WithAllowsToggleToOff ¶ added in v0.17.0
func (am *AnnotationMarkup) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationMarkup
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationMarkup) WithBackgroundColor ¶ added in v0.17.0
func (am *AnnotationMarkup) WithBackgroundColor(backgroundColor obj.Object) *AnnotationMarkup
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationMarkup) WithBorder ¶ added in v0.17.0
func (am *AnnotationMarkup) WithBorder(border unsafe.Pointer) *AnnotationMarkup
WithBorder sets sets the border style for the annotation.
func (*AnnotationMarkup) WithBounds ¶ added in v0.17.0
func (am *AnnotationMarkup) WithBounds(bounds corefoundation.CGRect) *AnnotationMarkup
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationMarkup) WithButtonWidgetState ¶ added in v0.17.0
func (am *AnnotationMarkup) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationMarkup
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationMarkup) WithButtonWidgetStateString ¶ added in v0.17.0
func (am *AnnotationMarkup) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationMarkup
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationMarkup) WithCaption ¶ added in v0.17.0
func (am *AnnotationMarkup) WithCaption(caption string) *AnnotationMarkup
WithCaption sets the title of push button widget annotations.
func (*AnnotationMarkup) WithChoices ¶ added in v0.17.0
func (am *AnnotationMarkup) WithChoices(items ...obj.Object) *AnnotationMarkup
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationMarkup) WithColor ¶ added in v0.17.0
func (am *AnnotationMarkup) WithColor(color unsafe.Pointer) *AnnotationMarkup
WithColor sets sets the stroke color for the annotation.
func (*AnnotationMarkup) WithComb ¶ added in v0.17.0
func (am *AnnotationMarkup) WithComb(comb bool) *AnnotationMarkup
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationMarkup) WithContents ¶ added in v0.17.0
func (am *AnnotationMarkup) WithContents(contents unsafe.Pointer) *AnnotationMarkup
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationMarkup) WithDestination ¶ added in v0.17.0
func (am *AnnotationMarkup) WithDestination(destination *Destination) *AnnotationMarkup
WithDestination sets the destination for a link annotation.
func (*AnnotationMarkup) WithEndLineStyle ¶ added in v0.17.0
func (am *AnnotationMarkup) WithEndLineStyle(endLineStyle LineStyle) *AnnotationMarkup
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationMarkup) WithEndPoint ¶ added in v0.17.0
func (am *AnnotationMarkup) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationMarkup
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationMarkup) WithFieldName ¶ added in v0.17.0
func (am *AnnotationMarkup) WithFieldName(fieldName string) *AnnotationMarkup
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationMarkup) WithFont ¶ added in v0.17.0
func (am *AnnotationMarkup) WithFont(font obj.Object) *AnnotationMarkup
WithFont sets the font the annotation uses to display text.
func (*AnnotationMarkup) WithFontColor ¶ added in v0.17.0
func (am *AnnotationMarkup) WithFontColor(fontColor obj.Object) *AnnotationMarkup
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationMarkup) WithHighlighted ¶ added in v0.17.0
func (am *AnnotationMarkup) WithHighlighted(highlighted bool) *AnnotationMarkup
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationMarkup) WithIconType ¶ added in v0.17.0
func (am *AnnotationMarkup) WithIconType(iconType TextAnnotationIconType) *AnnotationMarkup
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationMarkup) WithInteriorColor ¶ added in v0.17.0
func (am *AnnotationMarkup) WithInteriorColor(interiorColor obj.Object) *AnnotationMarkup
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationMarkup) WithListChoice ¶ added in v0.17.0
func (am *AnnotationMarkup) WithListChoice(listChoice bool) *AnnotationMarkup
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationMarkup) WithMarkupType ¶ added in v0.17.0
func (am *AnnotationMarkup) WithMarkupType(markupType MarkupType) *AnnotationMarkup
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationMarkup) WithMaximumLength ¶ added in v0.17.0
func (am *AnnotationMarkup) WithMaximumLength(maximumLength int) *AnnotationMarkup
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationMarkup) WithModificationDate ¶ added in v0.17.0
func (am *AnnotationMarkup) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationMarkup
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationMarkup) WithMouseUpAction ¶ added in v0.17.0
func (am *AnnotationMarkup) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationMarkup
WithMouseUpAction sets the mouse up action.
func (*AnnotationMarkup) WithMultiline ¶ added in v0.17.0
func (am *AnnotationMarkup) WithMultiline(multiline bool) *AnnotationMarkup
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationMarkup) WithOpen ¶ added in v0.17.0
func (am *AnnotationMarkup) WithOpen(open bool) *AnnotationMarkup
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationMarkup) WithPage ¶ added in v0.17.0
func (am *AnnotationMarkup) WithPage(page *Page) *AnnotationMarkup
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationMarkup) WithPopup ¶ added in v0.17.0
func (am *AnnotationMarkup) WithPopup(popup unsafe.Pointer) *AnnotationMarkup
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationMarkup) WithQuadrilateralPoints ¶ added in v0.17.0
func (am *AnnotationMarkup) WithQuadrilateralPoints(items ...obj.Object) *AnnotationMarkup
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationMarkup) WithRadiosInUnison ¶ added in v0.17.0
func (am *AnnotationMarkup) WithRadiosInUnison(radiosInUnison bool) *AnnotationMarkup
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationMarkup) WithReadOnly ¶ added in v0.17.0
func (am *AnnotationMarkup) WithReadOnly(readOnly bool) *AnnotationMarkup
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationMarkup) WithShouldDisplay ¶ added in v0.17.0
func (am *AnnotationMarkup) WithShouldDisplay(shouldDisplay bool) *AnnotationMarkup
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationMarkup) WithShouldPrint ¶ added in v0.17.0
func (am *AnnotationMarkup) WithShouldPrint(shouldPrint bool) *AnnotationMarkup
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationMarkup) WithStampName ¶ added in v0.17.0
func (am *AnnotationMarkup) WithStampName(stampName string) *AnnotationMarkup
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationMarkup) WithStartLineStyle ¶ added in v0.17.0
func (am *AnnotationMarkup) WithStartLineStyle(startLineStyle LineStyle) *AnnotationMarkup
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationMarkup) WithStartPoint ¶ added in v0.17.0
func (am *AnnotationMarkup) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationMarkup
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationMarkup) WithType ¶ added in v0.17.0
func (am *AnnotationMarkup) WithType(type_ string) *AnnotationMarkup
WithType sets returns the type of the annotation.
func (*AnnotationMarkup) WithURL ¶ added in v0.17.0
func (am *AnnotationMarkup) WithURL(url string) *AnnotationMarkup
WithURL sets a URL for a link annotation.
func (*AnnotationMarkup) WithUserName ¶ added in v0.17.0
func (am *AnnotationMarkup) WithUserName(userName unsafe.Pointer) *AnnotationMarkup
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationMarkup) WithValues ¶ added in v0.17.0
func (am *AnnotationMarkup) WithValues(items ...obj.Object) *AnnotationMarkup
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationMarkup) WithWidgetControlType ¶ added in v0.17.0
func (am *AnnotationMarkup) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationMarkup
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationMarkup) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (am *AnnotationMarkup) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationMarkup
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationMarkup) WithWidgetFieldType ¶ added in v0.17.0
func (am *AnnotationMarkup) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationMarkup
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationMarkup) WithWidgetStringValue ¶ added in v0.17.0
func (am *AnnotationMarkup) WithWidgetStringValue(widgetStringValue string) *AnnotationMarkup
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationPopup ¶ added in v0.17.0
type AnnotationPopup struct {
Annotation
}
AnnotationPopup is an idiomatic wrapper over the Objective-C class PDFAnnotationPopup.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationPopup object provides user interactivity on a PDF page in the form of a pop-up menu.
func AnnotationPopupFromID ¶ added in v0.17.0
func AnnotationPopupFromID(id objc.ID) *AnnotationPopup
AnnotationPopupFromID adopts an existing Objective-C object as a AnnotationPopup (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationPopup ¶ added in v0.17.0
func NewAnnotationPopup() *AnnotationPopup
NewAnnotationPopup creates a new AnnotationPopup.
func (*AnnotationPopup) SetIsOpen ¶ added in v0.17.0
func (ap *AnnotationPopup) SetIsOpen(isOpen bool)
SetIsOpen sets the open state of the pop-up menu.
func (*AnnotationPopup) WithAction ¶ added in v0.17.0
func (ap *AnnotationPopup) WithAction(action unsafe.Pointer) *AnnotationPopup
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationPopup) WithAllowsToggleToOff ¶ added in v0.17.0
func (ap *AnnotationPopup) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationPopup
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationPopup) WithBackgroundColor ¶ added in v0.17.0
func (ap *AnnotationPopup) WithBackgroundColor(backgroundColor obj.Object) *AnnotationPopup
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationPopup) WithBorder ¶ added in v0.17.0
func (ap *AnnotationPopup) WithBorder(border unsafe.Pointer) *AnnotationPopup
WithBorder sets sets the border style for the annotation.
func (*AnnotationPopup) WithBounds ¶ added in v0.17.0
func (ap *AnnotationPopup) WithBounds(bounds corefoundation.CGRect) *AnnotationPopup
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationPopup) WithButtonWidgetState ¶ added in v0.17.0
func (ap *AnnotationPopup) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationPopup
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationPopup) WithButtonWidgetStateString ¶ added in v0.17.0
func (ap *AnnotationPopup) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationPopup
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationPopup) WithCaption ¶ added in v0.17.0
func (ap *AnnotationPopup) WithCaption(caption string) *AnnotationPopup
WithCaption sets the title of push button widget annotations.
func (*AnnotationPopup) WithChoices ¶ added in v0.17.0
func (ap *AnnotationPopup) WithChoices(items ...obj.Object) *AnnotationPopup
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationPopup) WithColor ¶ added in v0.17.0
func (ap *AnnotationPopup) WithColor(color unsafe.Pointer) *AnnotationPopup
WithColor sets sets the stroke color for the annotation.
func (*AnnotationPopup) WithComb ¶ added in v0.17.0
func (ap *AnnotationPopup) WithComb(comb bool) *AnnotationPopup
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationPopup) WithContents ¶ added in v0.17.0
func (ap *AnnotationPopup) WithContents(contents unsafe.Pointer) *AnnotationPopup
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationPopup) WithDestination ¶ added in v0.17.0
func (ap *AnnotationPopup) WithDestination(destination *Destination) *AnnotationPopup
WithDestination sets the destination for a link annotation.
func (*AnnotationPopup) WithEndLineStyle ¶ added in v0.17.0
func (ap *AnnotationPopup) WithEndLineStyle(endLineStyle LineStyle) *AnnotationPopup
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationPopup) WithEndPoint ¶ added in v0.17.0
func (ap *AnnotationPopup) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationPopup
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationPopup) WithFieldName ¶ added in v0.17.0
func (ap *AnnotationPopup) WithFieldName(fieldName string) *AnnotationPopup
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationPopup) WithFont ¶ added in v0.17.0
func (ap *AnnotationPopup) WithFont(font obj.Object) *AnnotationPopup
WithFont sets the font the annotation uses to display text.
func (*AnnotationPopup) WithFontColor ¶ added in v0.17.0
func (ap *AnnotationPopup) WithFontColor(fontColor obj.Object) *AnnotationPopup
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationPopup) WithHighlighted ¶ added in v0.17.0
func (ap *AnnotationPopup) WithHighlighted(highlighted bool) *AnnotationPopup
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationPopup) WithIconType ¶ added in v0.17.0
func (ap *AnnotationPopup) WithIconType(iconType TextAnnotationIconType) *AnnotationPopup
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationPopup) WithInteriorColor ¶ added in v0.17.0
func (ap *AnnotationPopup) WithInteriorColor(interiorColor obj.Object) *AnnotationPopup
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationPopup) WithListChoice ¶ added in v0.17.0
func (ap *AnnotationPopup) WithListChoice(listChoice bool) *AnnotationPopup
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationPopup) WithMarkupType ¶ added in v0.17.0
func (ap *AnnotationPopup) WithMarkupType(markupType MarkupType) *AnnotationPopup
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationPopup) WithMaximumLength ¶ added in v0.17.0
func (ap *AnnotationPopup) WithMaximumLength(maximumLength int) *AnnotationPopup
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationPopup) WithModificationDate ¶ added in v0.17.0
func (ap *AnnotationPopup) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationPopup
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationPopup) WithMouseUpAction ¶ added in v0.17.0
func (ap *AnnotationPopup) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationPopup
WithMouseUpAction sets the mouse up action.
func (*AnnotationPopup) WithMultiline ¶ added in v0.17.0
func (ap *AnnotationPopup) WithMultiline(multiline bool) *AnnotationPopup
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationPopup) WithOpen ¶ added in v0.17.0
func (ap *AnnotationPopup) WithOpen(open bool) *AnnotationPopup
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationPopup) WithPage ¶ added in v0.17.0
func (ap *AnnotationPopup) WithPage(page *Page) *AnnotationPopup
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationPopup) WithPopup ¶ added in v0.17.0
func (ap *AnnotationPopup) WithPopup(popup unsafe.Pointer) *AnnotationPopup
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationPopup) WithQuadrilateralPoints ¶ added in v0.17.0
func (ap *AnnotationPopup) WithQuadrilateralPoints(items ...obj.Object) *AnnotationPopup
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationPopup) WithRadiosInUnison ¶ added in v0.17.0
func (ap *AnnotationPopup) WithRadiosInUnison(radiosInUnison bool) *AnnotationPopup
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationPopup) WithReadOnly ¶ added in v0.17.0
func (ap *AnnotationPopup) WithReadOnly(readOnly bool) *AnnotationPopup
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationPopup) WithShouldDisplay ¶ added in v0.17.0
func (ap *AnnotationPopup) WithShouldDisplay(shouldDisplay bool) *AnnotationPopup
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationPopup) WithShouldPrint ¶ added in v0.17.0
func (ap *AnnotationPopup) WithShouldPrint(shouldPrint bool) *AnnotationPopup
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationPopup) WithStampName ¶ added in v0.17.0
func (ap *AnnotationPopup) WithStampName(stampName string) *AnnotationPopup
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationPopup) WithStartLineStyle ¶ added in v0.17.0
func (ap *AnnotationPopup) WithStartLineStyle(startLineStyle LineStyle) *AnnotationPopup
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationPopup) WithStartPoint ¶ added in v0.17.0
func (ap *AnnotationPopup) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationPopup
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationPopup) WithType ¶ added in v0.17.0
func (ap *AnnotationPopup) WithType(type_ string) *AnnotationPopup
WithType sets returns the type of the annotation.
func (*AnnotationPopup) WithURL ¶ added in v0.17.0
func (ap *AnnotationPopup) WithURL(url string) *AnnotationPopup
WithURL sets a URL for a link annotation.
func (*AnnotationPopup) WithUserName ¶ added in v0.17.0
func (ap *AnnotationPopup) WithUserName(userName unsafe.Pointer) *AnnotationPopup
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationPopup) WithValues ¶ added in v0.17.0
func (ap *AnnotationPopup) WithValues(items ...obj.Object) *AnnotationPopup
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationPopup) WithWidgetControlType ¶ added in v0.17.0
func (ap *AnnotationPopup) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationPopup
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationPopup) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (ap *AnnotationPopup) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationPopup
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationPopup) WithWidgetFieldType ¶ added in v0.17.0
func (ap *AnnotationPopup) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationPopup
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationPopup) WithWidgetStringValue ¶ added in v0.17.0
func (ap *AnnotationPopup) WithWidgetStringValue(widgetStringValue string) *AnnotationPopup
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationProvider ¶ added in v0.17.0
AnnotationProvider is accepted wherever a PDFAnnotation (or one of its subclasses) is expected.
type AnnotationSquare ¶ added in v0.17.0
type AnnotationSquare struct {
Annotation
}
AnnotationSquare is an idiomatic wrapper over the Objective-C class PDFAnnotationSquare.
It embeds Annotation, promoting that type's methods.
A rectangle annotation on a page.
func AnnotationSquareFromID ¶ added in v0.17.0
func AnnotationSquareFromID(id objc.ID) *AnnotationSquare
AnnotationSquareFromID adopts an existing Objective-C object as a AnnotationSquare (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationSquare ¶ added in v0.17.0
func NewAnnotationSquare() *AnnotationSquare
NewAnnotationSquare creates a new AnnotationSquare.
func (*AnnotationSquare) WithAction ¶ added in v0.17.0
func (as *AnnotationSquare) WithAction(action unsafe.Pointer) *AnnotationSquare
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationSquare) WithAllowsToggleToOff ¶ added in v0.17.0
func (as *AnnotationSquare) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationSquare
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationSquare) WithBackgroundColor ¶ added in v0.17.0
func (as *AnnotationSquare) WithBackgroundColor(backgroundColor obj.Object) *AnnotationSquare
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationSquare) WithBorder ¶ added in v0.17.0
func (as *AnnotationSquare) WithBorder(border unsafe.Pointer) *AnnotationSquare
WithBorder sets sets the border style for the annotation.
func (*AnnotationSquare) WithBounds ¶ added in v0.17.0
func (as *AnnotationSquare) WithBounds(bounds corefoundation.CGRect) *AnnotationSquare
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationSquare) WithButtonWidgetState ¶ added in v0.17.0
func (as *AnnotationSquare) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationSquare
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationSquare) WithButtonWidgetStateString ¶ added in v0.17.0
func (as *AnnotationSquare) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationSquare
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationSquare) WithCaption ¶ added in v0.17.0
func (as *AnnotationSquare) WithCaption(caption string) *AnnotationSquare
WithCaption sets the title of push button widget annotations.
func (*AnnotationSquare) WithChoices ¶ added in v0.17.0
func (as *AnnotationSquare) WithChoices(items ...obj.Object) *AnnotationSquare
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationSquare) WithColor ¶ added in v0.17.0
func (as *AnnotationSquare) WithColor(color unsafe.Pointer) *AnnotationSquare
WithColor sets sets the stroke color for the annotation.
func (*AnnotationSquare) WithComb ¶ added in v0.17.0
func (as *AnnotationSquare) WithComb(comb bool) *AnnotationSquare
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationSquare) WithContents ¶ added in v0.17.0
func (as *AnnotationSquare) WithContents(contents unsafe.Pointer) *AnnotationSquare
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationSquare) WithDestination ¶ added in v0.17.0
func (as *AnnotationSquare) WithDestination(destination *Destination) *AnnotationSquare
WithDestination sets the destination for a link annotation.
func (*AnnotationSquare) WithEndLineStyle ¶ added in v0.17.0
func (as *AnnotationSquare) WithEndLineStyle(endLineStyle LineStyle) *AnnotationSquare
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationSquare) WithEndPoint ¶ added in v0.17.0
func (as *AnnotationSquare) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationSquare
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationSquare) WithFieldName ¶ added in v0.17.0
func (as *AnnotationSquare) WithFieldName(fieldName string) *AnnotationSquare
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationSquare) WithFont ¶ added in v0.17.0
func (as *AnnotationSquare) WithFont(font obj.Object) *AnnotationSquare
WithFont sets the font the annotation uses to display text.
func (*AnnotationSquare) WithFontColor ¶ added in v0.17.0
func (as *AnnotationSquare) WithFontColor(fontColor obj.Object) *AnnotationSquare
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationSquare) WithHighlighted ¶ added in v0.17.0
func (as *AnnotationSquare) WithHighlighted(highlighted bool) *AnnotationSquare
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationSquare) WithIconType ¶ added in v0.17.0
func (as *AnnotationSquare) WithIconType(iconType TextAnnotationIconType) *AnnotationSquare
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationSquare) WithInteriorColor ¶ added in v0.17.0
func (as *AnnotationSquare) WithInteriorColor(interiorColor obj.Object) *AnnotationSquare
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationSquare) WithListChoice ¶ added in v0.17.0
func (as *AnnotationSquare) WithListChoice(listChoice bool) *AnnotationSquare
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationSquare) WithMarkupType ¶ added in v0.17.0
func (as *AnnotationSquare) WithMarkupType(markupType MarkupType) *AnnotationSquare
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationSquare) WithMaximumLength ¶ added in v0.17.0
func (as *AnnotationSquare) WithMaximumLength(maximumLength int) *AnnotationSquare
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationSquare) WithModificationDate ¶ added in v0.17.0
func (as *AnnotationSquare) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationSquare
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationSquare) WithMouseUpAction ¶ added in v0.17.0
func (as *AnnotationSquare) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationSquare
WithMouseUpAction sets the mouse up action.
func (*AnnotationSquare) WithMultiline ¶ added in v0.17.0
func (as *AnnotationSquare) WithMultiline(multiline bool) *AnnotationSquare
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationSquare) WithOpen ¶ added in v0.17.0
func (as *AnnotationSquare) WithOpen(open bool) *AnnotationSquare
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationSquare) WithPage ¶ added in v0.17.0
func (as *AnnotationSquare) WithPage(page *Page) *AnnotationSquare
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationSquare) WithPopup ¶ added in v0.17.0
func (as *AnnotationSquare) WithPopup(popup unsafe.Pointer) *AnnotationSquare
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationSquare) WithQuadrilateralPoints ¶ added in v0.17.0
func (as *AnnotationSquare) WithQuadrilateralPoints(items ...obj.Object) *AnnotationSquare
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationSquare) WithRadiosInUnison ¶ added in v0.17.0
func (as *AnnotationSquare) WithRadiosInUnison(radiosInUnison bool) *AnnotationSquare
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationSquare) WithReadOnly ¶ added in v0.17.0
func (as *AnnotationSquare) WithReadOnly(readOnly bool) *AnnotationSquare
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationSquare) WithShouldDisplay ¶ added in v0.17.0
func (as *AnnotationSquare) WithShouldDisplay(shouldDisplay bool) *AnnotationSquare
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationSquare) WithShouldPrint ¶ added in v0.17.0
func (as *AnnotationSquare) WithShouldPrint(shouldPrint bool) *AnnotationSquare
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationSquare) WithStampName ¶ added in v0.17.0
func (as *AnnotationSquare) WithStampName(stampName string) *AnnotationSquare
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationSquare) WithStartLineStyle ¶ added in v0.17.0
func (as *AnnotationSquare) WithStartLineStyle(startLineStyle LineStyle) *AnnotationSquare
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationSquare) WithStartPoint ¶ added in v0.17.0
func (as *AnnotationSquare) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationSquare
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationSquare) WithType ¶ added in v0.17.0
func (as *AnnotationSquare) WithType(type_ string) *AnnotationSquare
WithType sets returns the type of the annotation.
func (*AnnotationSquare) WithURL ¶ added in v0.17.0
func (as *AnnotationSquare) WithURL(url string) *AnnotationSquare
WithURL sets a URL for a link annotation.
func (*AnnotationSquare) WithUserName ¶ added in v0.17.0
func (as *AnnotationSquare) WithUserName(userName unsafe.Pointer) *AnnotationSquare
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationSquare) WithValues ¶ added in v0.17.0
func (as *AnnotationSquare) WithValues(items ...obj.Object) *AnnotationSquare
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationSquare) WithWidgetControlType ¶ added in v0.17.0
func (as *AnnotationSquare) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationSquare
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationSquare) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (as *AnnotationSquare) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationSquare
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationSquare) WithWidgetFieldType ¶ added in v0.17.0
func (as *AnnotationSquare) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationSquare
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationSquare) WithWidgetStringValue ¶ added in v0.17.0
func (as *AnnotationSquare) WithWidgetStringValue(widgetStringValue string) *AnnotationSquare
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationStamp ¶ added in v0.17.0
type AnnotationStamp struct {
Annotation
}
AnnotationStamp is an idiomatic wrapper over the Objective-C class PDFAnnotationStamp.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationStamp object allows you to display a word or phrase, such as “Confidential,” in a PDF page.
func AnnotationStampFromID ¶ added in v0.17.0
func AnnotationStampFromID(id objc.ID) *AnnotationStamp
AnnotationStampFromID adopts an existing Objective-C object as a AnnotationStamp (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationStamp ¶ added in v0.17.0
func NewAnnotationStamp() *AnnotationStamp
NewAnnotationStamp creates a new AnnotationStamp.
func (*AnnotationStamp) Name ¶ added in v0.17.0
func (as *AnnotationStamp) Name() string
Name returns name associated with the stamp annotation.
func (*AnnotationStamp) SetName ¶ added in v0.17.0
func (as *AnnotationStamp) SetName(name string)
SetName sets the name associated with the stamp annotation.
func (*AnnotationStamp) WithAction ¶ added in v0.17.0
func (as *AnnotationStamp) WithAction(action unsafe.Pointer) *AnnotationStamp
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationStamp) WithAllowsToggleToOff ¶ added in v0.17.0
func (as *AnnotationStamp) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationStamp
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationStamp) WithBackgroundColor ¶ added in v0.17.0
func (as *AnnotationStamp) WithBackgroundColor(backgroundColor obj.Object) *AnnotationStamp
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationStamp) WithBorder ¶ added in v0.17.0
func (as *AnnotationStamp) WithBorder(border unsafe.Pointer) *AnnotationStamp
WithBorder sets sets the border style for the annotation.
func (*AnnotationStamp) WithBounds ¶ added in v0.17.0
func (as *AnnotationStamp) WithBounds(bounds corefoundation.CGRect) *AnnotationStamp
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationStamp) WithButtonWidgetState ¶ added in v0.17.0
func (as *AnnotationStamp) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationStamp
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationStamp) WithButtonWidgetStateString ¶ added in v0.17.0
func (as *AnnotationStamp) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationStamp
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationStamp) WithCaption ¶ added in v0.17.0
func (as *AnnotationStamp) WithCaption(caption string) *AnnotationStamp
WithCaption sets the title of push button widget annotations.
func (*AnnotationStamp) WithChoices ¶ added in v0.17.0
func (as *AnnotationStamp) WithChoices(items ...obj.Object) *AnnotationStamp
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationStamp) WithColor ¶ added in v0.17.0
func (as *AnnotationStamp) WithColor(color unsafe.Pointer) *AnnotationStamp
WithColor sets sets the stroke color for the annotation.
func (*AnnotationStamp) WithComb ¶ added in v0.17.0
func (as *AnnotationStamp) WithComb(comb bool) *AnnotationStamp
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationStamp) WithContents ¶ added in v0.17.0
func (as *AnnotationStamp) WithContents(contents unsafe.Pointer) *AnnotationStamp
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationStamp) WithDestination ¶ added in v0.17.0
func (as *AnnotationStamp) WithDestination(destination *Destination) *AnnotationStamp
WithDestination sets the destination for a link annotation.
func (*AnnotationStamp) WithEndLineStyle ¶ added in v0.17.0
func (as *AnnotationStamp) WithEndLineStyle(endLineStyle LineStyle) *AnnotationStamp
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationStamp) WithEndPoint ¶ added in v0.17.0
func (as *AnnotationStamp) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationStamp
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationStamp) WithFieldName ¶ added in v0.17.0
func (as *AnnotationStamp) WithFieldName(fieldName string) *AnnotationStamp
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationStamp) WithFont ¶ added in v0.17.0
func (as *AnnotationStamp) WithFont(font obj.Object) *AnnotationStamp
WithFont sets the font the annotation uses to display text.
func (*AnnotationStamp) WithFontColor ¶ added in v0.17.0
func (as *AnnotationStamp) WithFontColor(fontColor obj.Object) *AnnotationStamp
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationStamp) WithHighlighted ¶ added in v0.17.0
func (as *AnnotationStamp) WithHighlighted(highlighted bool) *AnnotationStamp
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationStamp) WithIconType ¶ added in v0.17.0
func (as *AnnotationStamp) WithIconType(iconType TextAnnotationIconType) *AnnotationStamp
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationStamp) WithInteriorColor ¶ added in v0.17.0
func (as *AnnotationStamp) WithInteriorColor(interiorColor obj.Object) *AnnotationStamp
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationStamp) WithListChoice ¶ added in v0.17.0
func (as *AnnotationStamp) WithListChoice(listChoice bool) *AnnotationStamp
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationStamp) WithMarkupType ¶ added in v0.17.0
func (as *AnnotationStamp) WithMarkupType(markupType MarkupType) *AnnotationStamp
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationStamp) WithMaximumLength ¶ added in v0.17.0
func (as *AnnotationStamp) WithMaximumLength(maximumLength int) *AnnotationStamp
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationStamp) WithModificationDate ¶ added in v0.17.0
func (as *AnnotationStamp) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationStamp
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationStamp) WithMouseUpAction ¶ added in v0.17.0
func (as *AnnotationStamp) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationStamp
WithMouseUpAction sets the mouse up action.
func (*AnnotationStamp) WithMultiline ¶ added in v0.17.0
func (as *AnnotationStamp) WithMultiline(multiline bool) *AnnotationStamp
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationStamp) WithOpen ¶ added in v0.17.0
func (as *AnnotationStamp) WithOpen(open bool) *AnnotationStamp
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationStamp) WithPage ¶ added in v0.17.0
func (as *AnnotationStamp) WithPage(page *Page) *AnnotationStamp
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationStamp) WithPopup ¶ added in v0.17.0
func (as *AnnotationStamp) WithPopup(popup unsafe.Pointer) *AnnotationStamp
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationStamp) WithQuadrilateralPoints ¶ added in v0.17.0
func (as *AnnotationStamp) WithQuadrilateralPoints(items ...obj.Object) *AnnotationStamp
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationStamp) WithRadiosInUnison ¶ added in v0.17.0
func (as *AnnotationStamp) WithRadiosInUnison(radiosInUnison bool) *AnnotationStamp
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationStamp) WithReadOnly ¶ added in v0.17.0
func (as *AnnotationStamp) WithReadOnly(readOnly bool) *AnnotationStamp
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationStamp) WithShouldDisplay ¶ added in v0.17.0
func (as *AnnotationStamp) WithShouldDisplay(shouldDisplay bool) *AnnotationStamp
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationStamp) WithShouldPrint ¶ added in v0.17.0
func (as *AnnotationStamp) WithShouldPrint(shouldPrint bool) *AnnotationStamp
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationStamp) WithStampName ¶ added in v0.17.0
func (as *AnnotationStamp) WithStampName(stampName string) *AnnotationStamp
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationStamp) WithStartLineStyle ¶ added in v0.17.0
func (as *AnnotationStamp) WithStartLineStyle(startLineStyle LineStyle) *AnnotationStamp
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationStamp) WithStartPoint ¶ added in v0.17.0
func (as *AnnotationStamp) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationStamp
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationStamp) WithType ¶ added in v0.17.0
func (as *AnnotationStamp) WithType(type_ string) *AnnotationStamp
WithType sets returns the type of the annotation.
func (*AnnotationStamp) WithURL ¶ added in v0.17.0
func (as *AnnotationStamp) WithURL(url string) *AnnotationStamp
WithURL sets a URL for a link annotation.
func (*AnnotationStamp) WithUserName ¶ added in v0.17.0
func (as *AnnotationStamp) WithUserName(userName unsafe.Pointer) *AnnotationStamp
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationStamp) WithValues ¶ added in v0.17.0
func (as *AnnotationStamp) WithValues(items ...obj.Object) *AnnotationStamp
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationStamp) WithWidgetControlType ¶ added in v0.17.0
func (as *AnnotationStamp) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationStamp
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationStamp) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (as *AnnotationStamp) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationStamp
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationStamp) WithWidgetFieldType ¶ added in v0.17.0
func (as *AnnotationStamp) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationStamp
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationStamp) WithWidgetStringValue ¶ added in v0.17.0
func (as *AnnotationStamp) WithWidgetStringValue(widgetStringValue string) *AnnotationStamp
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationText ¶ added in v0.17.0
type AnnotationText struct {
Annotation
}
AnnotationText is an idiomatic wrapper over the Objective-C class PDFAnnotationText.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationText object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.
func AnnotationTextFromID ¶ added in v0.17.0
func AnnotationTextFromID(id objc.ID) *AnnotationText
AnnotationTextFromID adopts an existing Objective-C object as a AnnotationText (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationText ¶ added in v0.17.0
func NewAnnotationText() *AnnotationText
NewAnnotationText creates a new AnnotationText.
func (*AnnotationText) WithAction ¶ added in v0.17.0
func (at *AnnotationText) WithAction(action unsafe.Pointer) *AnnotationText
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationText) WithAllowsToggleToOff ¶ added in v0.17.0
func (at *AnnotationText) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationText
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationText) WithBackgroundColor ¶ added in v0.17.0
func (at *AnnotationText) WithBackgroundColor(backgroundColor obj.Object) *AnnotationText
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationText) WithBorder ¶ added in v0.17.0
func (at *AnnotationText) WithBorder(border unsafe.Pointer) *AnnotationText
WithBorder sets sets the border style for the annotation.
func (*AnnotationText) WithBounds ¶ added in v0.17.0
func (at *AnnotationText) WithBounds(bounds corefoundation.CGRect) *AnnotationText
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationText) WithButtonWidgetState ¶ added in v0.17.0
func (at *AnnotationText) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationText
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationText) WithButtonWidgetStateString ¶ added in v0.17.0
func (at *AnnotationText) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationText
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationText) WithCaption ¶ added in v0.17.0
func (at *AnnotationText) WithCaption(caption string) *AnnotationText
WithCaption sets the title of push button widget annotations.
func (*AnnotationText) WithChoices ¶ added in v0.17.0
func (at *AnnotationText) WithChoices(items ...obj.Object) *AnnotationText
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationText) WithColor ¶ added in v0.17.0
func (at *AnnotationText) WithColor(color unsafe.Pointer) *AnnotationText
WithColor sets sets the stroke color for the annotation.
func (*AnnotationText) WithComb ¶ added in v0.17.0
func (at *AnnotationText) WithComb(comb bool) *AnnotationText
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationText) WithContents ¶ added in v0.17.0
func (at *AnnotationText) WithContents(contents unsafe.Pointer) *AnnotationText
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationText) WithDestination ¶ added in v0.17.0
func (at *AnnotationText) WithDestination(destination *Destination) *AnnotationText
WithDestination sets the destination for a link annotation.
func (*AnnotationText) WithEndLineStyle ¶ added in v0.17.0
func (at *AnnotationText) WithEndLineStyle(endLineStyle LineStyle) *AnnotationText
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationText) WithEndPoint ¶ added in v0.17.0
func (at *AnnotationText) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationText
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationText) WithFieldName ¶ added in v0.17.0
func (at *AnnotationText) WithFieldName(fieldName string) *AnnotationText
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationText) WithFont ¶ added in v0.17.0
func (at *AnnotationText) WithFont(font obj.Object) *AnnotationText
WithFont sets the font the annotation uses to display text.
func (*AnnotationText) WithFontColor ¶ added in v0.17.0
func (at *AnnotationText) WithFontColor(fontColor obj.Object) *AnnotationText
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationText) WithHighlighted ¶ added in v0.17.0
func (at *AnnotationText) WithHighlighted(highlighted bool) *AnnotationText
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationText) WithIconType ¶ added in v0.17.0
func (at *AnnotationText) WithIconType(iconType TextAnnotationIconType) *AnnotationText
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationText) WithInteriorColor ¶ added in v0.17.0
func (at *AnnotationText) WithInteriorColor(interiorColor obj.Object) *AnnotationText
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationText) WithListChoice ¶ added in v0.17.0
func (at *AnnotationText) WithListChoice(listChoice bool) *AnnotationText
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationText) WithMarkupType ¶ added in v0.17.0
func (at *AnnotationText) WithMarkupType(markupType MarkupType) *AnnotationText
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationText) WithMaximumLength ¶ added in v0.17.0
func (at *AnnotationText) WithMaximumLength(maximumLength int) *AnnotationText
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationText) WithModificationDate ¶ added in v0.17.0
func (at *AnnotationText) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationText
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationText) WithMouseUpAction ¶ added in v0.17.0
func (at *AnnotationText) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationText
WithMouseUpAction sets the mouse up action.
func (*AnnotationText) WithMultiline ¶ added in v0.17.0
func (at *AnnotationText) WithMultiline(multiline bool) *AnnotationText
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationText) WithOpen ¶ added in v0.17.0
func (at *AnnotationText) WithOpen(open bool) *AnnotationText
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationText) WithPage ¶ added in v0.17.0
func (at *AnnotationText) WithPage(page *Page) *AnnotationText
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationText) WithPopup ¶ added in v0.17.0
func (at *AnnotationText) WithPopup(popup unsafe.Pointer) *AnnotationText
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationText) WithQuadrilateralPoints ¶ added in v0.17.0
func (at *AnnotationText) WithQuadrilateralPoints(items ...obj.Object) *AnnotationText
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationText) WithRadiosInUnison ¶ added in v0.17.0
func (at *AnnotationText) WithRadiosInUnison(radiosInUnison bool) *AnnotationText
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationText) WithReadOnly ¶ added in v0.17.0
func (at *AnnotationText) WithReadOnly(readOnly bool) *AnnotationText
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationText) WithShouldDisplay ¶ added in v0.17.0
func (at *AnnotationText) WithShouldDisplay(shouldDisplay bool) *AnnotationText
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationText) WithShouldPrint ¶ added in v0.17.0
func (at *AnnotationText) WithShouldPrint(shouldPrint bool) *AnnotationText
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationText) WithStampName ¶ added in v0.17.0
func (at *AnnotationText) WithStampName(stampName string) *AnnotationText
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationText) WithStartLineStyle ¶ added in v0.17.0
func (at *AnnotationText) WithStartLineStyle(startLineStyle LineStyle) *AnnotationText
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationText) WithStartPoint ¶ added in v0.17.0
func (at *AnnotationText) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationText
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationText) WithType ¶ added in v0.17.0
func (at *AnnotationText) WithType(type_ string) *AnnotationText
WithType sets returns the type of the annotation.
func (*AnnotationText) WithURL ¶ added in v0.17.0
func (at *AnnotationText) WithURL(url string) *AnnotationText
WithURL sets a URL for a link annotation.
func (*AnnotationText) WithUserName ¶ added in v0.17.0
func (at *AnnotationText) WithUserName(userName unsafe.Pointer) *AnnotationText
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationText) WithValues ¶ added in v0.17.0
func (at *AnnotationText) WithValues(items ...obj.Object) *AnnotationText
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationText) WithWidgetControlType ¶ added in v0.17.0
func (at *AnnotationText) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationText
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationText) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (at *AnnotationText) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationText
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationText) WithWidgetFieldType ¶ added in v0.17.0
func (at *AnnotationText) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationText
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationText) WithWidgetStringValue ¶ added in v0.17.0
func (at *AnnotationText) WithWidgetStringValue(widgetStringValue string) *AnnotationText
WithWidgetStringValue sets the string value of the widget annotation.
type AnnotationTextWidget ¶ added in v0.17.0
type AnnotationTextWidget struct {
Annotation
}
AnnotationTextWidget is an idiomatic wrapper over the Objective-C class PDFAnnotationTextWidget.
It embeds Annotation, promoting that type's methods.
A PDFAnnotationTextWidget object allows you to manage the appearance and content of text fields.
func AnnotationTextWidgetFromID ¶ added in v0.17.0
func AnnotationTextWidgetFromID(id objc.ID) *AnnotationTextWidget
AnnotationTextWidgetFromID adopts an existing Objective-C object as a AnnotationTextWidget (nil for 0), retaining it and registering a release finalizer.
func NewAnnotationTextWidget ¶ added in v0.17.0
func NewAnnotationTextWidget() *AnnotationTextWidget
NewAnnotationTextWidget creates a new AnnotationTextWidget.
func (*AnnotationTextWidget) AttributedStringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) AttributedStringValue() *foundation.AttributedString
AttributedStringValue returns the attributed string value.
func (*AnnotationTextWidget) Rotation ¶ added in v0.17.0
func (atw *AnnotationTextWidget) Rotation() int
Rotation returns the rotation angle of the annotation text field in degrees.
func (*AnnotationTextWidget) SetAttributedStringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) SetAttributedStringValue(value obj.Object)
SetAttributedStringValue wraps the corresponding Objective-C method.
func (*AnnotationTextWidget) SetIsMultiline ¶ added in v0.17.0
func (atw *AnnotationTextWidget) SetIsMultiline(multiline bool)
SetIsMultiline wraps the corresponding Objective-C method.
func (*AnnotationTextWidget) SetRotation ¶ added in v0.17.0
func (atw *AnnotationTextWidget) SetRotation(rotation int)
SetRotation sets the rotation angle of the annotation text field in degrees.
func (*AnnotationTextWidget) SetStringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) SetStringValue(value string)
SetStringValue sets the string for the annotation.
func (*AnnotationTextWidget) StringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) StringValue() string
StringValue returns the string assigned to the annotation.
func (*AnnotationTextWidget) WithAction ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithAction(action unsafe.Pointer) *AnnotationTextWidget
WithAction sets an object that represents an action for a PDF element, such as a link annotation.
func (*AnnotationTextWidget) WithAllowsToggleToOff ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithAllowsToggleToOff(allowsToggleToOff bool) *AnnotationTextWidget
WithAllowsToggleToOff sets a Boolean value that indicates whether clicking or tapping a selected radio button toggles it to an unselected state.
func (*AnnotationTextWidget) WithBackgroundColor ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithBackgroundColor(backgroundColor obj.Object) *AnnotationTextWidget
WithBackgroundColor sets the color of the widget’s background.
func (*AnnotationTextWidget) WithBorder ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithBorder(border unsafe.Pointer) *AnnotationTextWidget
WithBorder sets sets the border style for the annotation.
func (*AnnotationTextWidget) WithBounds ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithBounds(bounds corefoundation.CGRect) *AnnotationTextWidget
WithBounds sets returns the bounding box for the annotation in page space.
func (*AnnotationTextWidget) WithButtonWidgetState ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithButtonWidgetState(buttonWidgetState WidgetCellState) *AnnotationTextWidget
WithButtonWidgetState sets the current state of the button widget annotation.
func (*AnnotationTextWidget) WithButtonWidgetStateString ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithButtonWidgetStateString(buttonWidgetStateString string) *AnnotationTextWidget
WithButtonWidgetStateString sets a string value that differentiates button widgets in the same group, such as to identify mutually exclusive radio buttons from each other.
func (*AnnotationTextWidget) WithCaption ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithCaption(caption string) *AnnotationTextWidget
WithCaption sets the title of push button widget annotations.
func (*AnnotationTextWidget) WithChoices ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithChoices(items ...obj.Object) *AnnotationTextWidget
WithChoices sets an array of strings that specifies the options in either a list or a pop-up menu.
func (*AnnotationTextWidget) WithColor ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithColor(color unsafe.Pointer) *AnnotationTextWidget
WithColor sets sets the stroke color for the annotation.
func (*AnnotationTextWidget) WithComb ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithComb(comb bool) *AnnotationTextWidget
WithComb sets a Boolean value that indicates whether the annotation divides the text widget’s bounds into equally spaced segments, such as in a form entry field.
func (*AnnotationTextWidget) WithContents ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithContents(contents unsafe.Pointer) *AnnotationTextWidget
WithContents sets returns the textual content (if any) associated with the annotation.
func (*AnnotationTextWidget) WithDestination ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithDestination(destination *Destination) *AnnotationTextWidget
WithDestination sets the destination for a link annotation.
func (*AnnotationTextWidget) WithEndLineStyle ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithEndLineStyle(endLineStyle LineStyle) *AnnotationTextWidget
WithEndLineStyle sets the style of the line annotation’s ending point, such as square or filled arrowhead.
func (*AnnotationTextWidget) WithEndPoint ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithEndPoint(endPoint corefoundation.CGPoint) *AnnotationTextWidget
WithEndPoint sets the point where a line ends, in annotation-space coordinates.
func (*AnnotationTextWidget) WithFieldName ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithFieldName(fieldName string) *AnnotationTextWidget
WithFieldName sets the widget identifier for form annotation actions and behaviors.
func (*AnnotationTextWidget) WithFont ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithFont(font obj.Object) *AnnotationTextWidget
WithFont sets the font the annotation uses to display text.
func (*AnnotationTextWidget) WithFontColor ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithFontColor(fontColor obj.Object) *AnnotationTextWidget
WithFontColor sets the font color the annotation uses to display text.
func (*AnnotationTextWidget) WithHighlighted ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithHighlighted(highlighted bool) *AnnotationTextWidget
WithHighlighted sets a Boolean value that indicates whether the annotation is in a highlighted state, such as when the mouse is down on a link annotation.
func (*AnnotationTextWidget) WithIconType ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithIconType(iconType TextAnnotationIconType) *AnnotationTextWidget
WithIconType sets the type of icon to display for a pop-up text annotation.
func (*AnnotationTextWidget) WithInteriorColor ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithInteriorColor(interiorColor obj.Object) *AnnotationTextWidget
WithInteriorColor sets the fill color for drawing a circle, line, or square annotation.
func (*AnnotationTextWidget) WithListChoice ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithListChoice(listChoice bool) *AnnotationTextWidget
WithListChoice sets a Boolean value that indicates whether the choice widget annotation is a list or a pop-up menu.
func (*AnnotationTextWidget) WithMarkupType ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithMarkupType(markupType MarkupType) *AnnotationTextWidget
WithMarkupType sets the markup type that the annotation displays, either highlight, strikethrough, underline, or redact.
func (*AnnotationTextWidget) WithMaximumLength ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithMaximumLength(maximumLength int) *AnnotationTextWidget
WithMaximumLength sets the maximum number of characters the text widget annotation allows.
func (*AnnotationTextWidget) WithModificationDate ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithModificationDate(modificationDate unsafe.Pointer) *AnnotationTextWidget
WithModificationDate sets returns the modification date of the annotation.
func (*AnnotationTextWidget) WithMouseUpAction ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithMouseUpAction(mouseUpAction unsafe.Pointer) *AnnotationTextWidget
WithMouseUpAction sets the mouse up action.
func (*AnnotationTextWidget) WithMultiline ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithMultiline(multiline bool) *AnnotationTextWidget
WithMultiline sets a Boolean value that indicates whether the text widget annotation displays multiple lines.
func (*AnnotationTextWidget) WithOpen ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithOpen(open bool) *AnnotationTextWidget
WithOpen sets a Boolean value that indicates whether the pop-up annotation is in an opened state, displaying its text content, or in a closed state, displaying an icon.
func (*AnnotationTextWidget) WithPage ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithPage(page *Page) *AnnotationTextWidget
WithPage sets returns the page that the annotation is associated with.
func (*AnnotationTextWidget) WithPopup ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithPopup(popup unsafe.Pointer) *AnnotationTextWidget
WithPopup sets returns the pop-up annotation associated with an annotation.
func (*AnnotationTextWidget) WithQuadrilateralPoints ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithQuadrilateralPoints(items ...obj.Object) *AnnotationTextWidget
WithQuadrilateralPoints sets an array of values that represents the points bounding the marked-up text.
func (*AnnotationTextWidget) WithRadiosInUnison ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithRadiosInUnison(radiosInUnison bool) *AnnotationTextWidget
WithRadiosInUnison sets a Boolean value that indicates whether radio buttons in a group turn on and off in unison.
func (*AnnotationTextWidget) WithReadOnly ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithReadOnly(readOnly bool) *AnnotationTextWidget
WithReadOnly sets a Boolean value that determines whether the widget is editable.
func (*AnnotationTextWidget) WithShouldDisplay ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithShouldDisplay(shouldDisplay bool) *AnnotationTextWidget
WithShouldDisplay sets returns a Boolean value indicating whether the annotation should be displayed.
func (*AnnotationTextWidget) WithShouldPrint ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithShouldPrint(shouldPrint bool) *AnnotationTextWidget
WithShouldPrint sets returns a Boolean value indicating whether the annotation should appear when the document is printed.
func (*AnnotationTextWidget) WithStampName ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithStampName(stampName string) *AnnotationTextWidget
WithStampName sets the name of the stamp, a text or graphics annotation that emulates a rubber stamp effect.
func (*AnnotationTextWidget) WithStartLineStyle ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithStartLineStyle(startLineStyle LineStyle) *AnnotationTextWidget
WithStartLineStyle sets the style of the line annotation’s starting point, such as square or filled arrowhead.
func (*AnnotationTextWidget) WithStartPoint ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithStartPoint(startPoint corefoundation.CGPoint) *AnnotationTextWidget
WithStartPoint sets the point where a line begins, in annotation-space coordinates.
func (*AnnotationTextWidget) WithType ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithType(type_ string) *AnnotationTextWidget
WithType sets returns the type of the annotation.
func (*AnnotationTextWidget) WithURL ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithURL(url string) *AnnotationTextWidget
WithURL sets a URL for a link annotation.
func (*AnnotationTextWidget) WithUserName ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithUserName(userName unsafe.Pointer) *AnnotationTextWidget
WithUserName sets returns the name of the user who created the annotation.
func (*AnnotationTextWidget) WithValues ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithValues(items ...obj.Object) *AnnotationTextWidget
WithValues sets an array of strings that specifies the export values for items in a list or a pop-up menu.
func (*AnnotationTextWidget) WithWidgetControlType ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithWidgetControlType(widgetControlType WidgetControlType) *AnnotationTextWidget
WithWidgetControlType sets the type of button widget control, either radio button, push button, or checkbox.
func (*AnnotationTextWidget) WithWidgetDefaultStringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithWidgetDefaultStringValue(widgetDefaultStringValue string) *AnnotationTextWidget
WithWidgetDefaultStringValue sets the string value that the widget reverts to when performing a reset form action.
func (*AnnotationTextWidget) WithWidgetFieldType ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithWidgetFieldType(widgetFieldType obj.Object) *AnnotationTextWidget
WithWidgetFieldType sets the type of widget annotation, such as button, choice, or text.
func (*AnnotationTextWidget) WithWidgetStringValue ¶ added in v0.17.0
func (atw *AnnotationTextWidget) WithWidgetStringValue(widgetStringValue string) *AnnotationTextWidget
WithWidgetStringValue sets the string value of the widget annotation.
type AppearanceCharacteristics ¶ added in v0.17.0
AppearanceCharacteristics is an idiomatic wrapper over the Objective-C class PDFAppearanceCharacteristics.
An object that represents appearance characteristics of a widget annotation.
func AppearanceCharacteristicsFromID ¶ added in v0.17.0
func AppearanceCharacteristicsFromID(id objc.ID) *AppearanceCharacteristics
AppearanceCharacteristicsFromID adopts an existing Objective-C object as a AppearanceCharacteristics (nil for 0), retaining it and registering a release finalizer.
func NewAppearanceCharacteristics ¶ added in v0.17.0
func NewAppearanceCharacteristics() *AppearanceCharacteristics
NewAppearanceCharacteristics creates a new AppearanceCharacteristics.
func (*AppearanceCharacteristics) AppearanceCharacteristicsKeyValues ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) AppearanceCharacteristicsKeyValues() obj.Object
AppearanceCharacteristicsKeyValues returns the appearance characteristics key values.
func (*AppearanceCharacteristics) BackgroundColor ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) BackgroundColor() obj.Object
BackgroundColor returns the background color.
func (*AppearanceCharacteristics) BorderColor ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) BorderColor() obj.Object
BorderColor returns the border color.
func (*AppearanceCharacteristics) Caption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) Caption() string
Caption returns the caption.
func (*AppearanceCharacteristics) ControlType ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) ControlType() WidgetControlType
ControlType returns the control type.
func (*AppearanceCharacteristics) Description ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) Description() string
Description returns the object's -description text.
func (*AppearanceCharacteristics) DownCaption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) DownCaption() string
DownCaption returns the down caption.
func (*AppearanceCharacteristics) IsEqual ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*AppearanceCharacteristics) IsKind ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*AppearanceCharacteristics) RolloverCaption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) RolloverCaption() string
RolloverCaption returns the rollover caption.
func (*AppearanceCharacteristics) Rotation ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) Rotation() int
Rotation returns the rotation.
func (*AppearanceCharacteristics) String ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*AppearanceCharacteristics) WithBackgroundColor ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithBackgroundColor(backgroundColor obj.Object) *AppearanceCharacteristics
WithBackgroundColor sets the background color of the widget annotation.
func (*AppearanceCharacteristics) WithBorderColor ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithBorderColor(borderColor obj.Object) *AppearanceCharacteristics
WithBorderColor sets the border color of the widget annotation.
func (*AppearanceCharacteristics) WithCaption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithCaption(caption string) *AppearanceCharacteristics
WithCaption sets the text that the button widget annotation displays when the user isn’t interacting with it.
func (*AppearanceCharacteristics) WithControlType ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithControlType(controlType WidgetControlType) *AppearanceCharacteristics
WithControlType sets the type of button widget annotation.
func (*AppearanceCharacteristics) WithDownCaption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithDownCaption(downCaption string) *AppearanceCharacteristics
WithDownCaption sets the text that the button widget annotation displays when the user holds down on it.
func (*AppearanceCharacteristics) WithRolloverCaption ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithRolloverCaption(rolloverCaption string) *AppearanceCharacteristics
WithRolloverCaption sets the text that the widget annotation displays when the user hovers the pointer over it.
func (*AppearanceCharacteristics) WithRotation ¶ added in v0.17.0
func (ac *AppearanceCharacteristics) WithRotation(rotation int) *AppearanceCharacteristics
WithRotation sets the number of degrees, in multiples of 90, that the widget annotation rotates counterclockwise relative to the page.
type AreaOfInterest ¶ added in v0.17.0
type AreaOfInterest uint64
The mouse position over PDF view areas. Bitmask — values may be combined with |.
const ( // The mouse is over an undefined area. KPDFNoArea AreaOfInterest = 0 // The mouse is over a page. KPDFPageArea AreaOfInterest = 1 // The mouse is over text. KPDFTextArea AreaOfInterest = 2 // The mouse is over an annotation. KPDFAnnotationArea AreaOfInterest = 4 // The mouse is over a link. KPDFLinkArea AreaOfInterest = 8 // The mouse is over a control. KPDFControlArea AreaOfInterest = 16 // The mouse is over a text field. KPDFTextFieldArea AreaOfInterest = 32 // The mouse is over an icon. KPDFIconArea AreaOfInterest = 64 // The mouse is over a popup menu. KPDFPopupArea AreaOfInterest = 128 // The mouse is over an image. KPDFImageArea AreaOfInterest = 256 KPDFAnyArea AreaOfInterest = 9223372036854775807 )
func (AreaOfInterest) String ¶ added in v0.17.0
func (e AreaOfInterest) String() string
String returns the AreaOfInterest constant's name, or its numeric form when the value is not a known constant.
type Border ¶ added in v0.17.0
Border is an idiomatic wrapper over the Objective-C class PDFBorder.
An optional border for an annotation that lies completely within the annotation rectangle.
func BorderFromID ¶ added in v0.17.0
BorderFromID adopts an existing Objective-C object as a Border (nil for 0), retaining it and registering a release finalizer.
func (*Border) BorderKeyValues ¶ added in v0.17.0
BorderKeyValues returns the border key values.
func (*Border) DashPattern ¶ added in v0.17.0
DashPattern returns the dash pattern.
func (*Border) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Border) DrawInRect ¶ added in v0.17.0
func (b *Border) DrawInRect(rect corefoundation.CGRect)
DrawInRect draws the border.
func (*Border) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Border) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Border) SetDashPattern ¶ added in v0.17.0
SetDashPattern wraps the corresponding Objective-C method.
func (*Border) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Border) Style ¶ added in v0.17.0
func (b *Border) Style() BorderStyle
Style returns the style.
func (*Border) WithLineWidth ¶ added in v0.17.0
WithLineWidth sets sets the line width (in points) for the border.
func (*Border) WithStyle ¶ added in v0.17.0
func (b *Border) WithStyle(style BorderStyle) *Border
WithStyle sets sets the border style.
type BorderStyle ¶ added in v0.17.0
type BorderStyle int64
PDF Kit annotation borders may have the following styles.
const ( // Solid border. KPDFBorderStyleSolid BorderStyle = 0 // Dashed border. KPDFBorderStyleDashed BorderStyle = 1 // Beveled border. KPDFBorderStyleBeveled BorderStyle = 2 // Inset border. KPDFBorderStyleInset BorderStyle = 3 // Underline border. KPDFBorderStyleUnderline BorderStyle = 4 )
func (BorderStyle) String ¶ added in v0.17.0
func (e BorderStyle) String() string
String returns the BorderStyle constant's name, or its numeric form when the value is not a known constant.
type CGLCPContextPriorityRequest ¶
type CGLCPContextPriorityRequest int32
const ( KCGLCPContextPriorityRequestHigh CGLCPContextPriorityRequest = 0 KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1 KCGLCPContextPriorityRequestLow CGLCPContextPriorityRequest = 2 )
func (CGLCPContextPriorityRequest) String ¶
func (e CGLCPContextPriorityRequest) String() string
String returns the CGLCPContextPriorityRequest constant's name, or its numeric form when the value is not a known constant.
type Destination ¶ added in v0.17.0
Destination is an idiomatic wrapper over the Objective-C class PDFDestination.
A PDFDestination object describes a point on a PDF page.
func DestinationFromID ¶ added in v0.17.0
func DestinationFromID(id objc.ID) *Destination
DestinationFromID adopts an existing Objective-C object as a Destination (nil for 0), retaining it and registering a release finalizer.
func NewDestinationWithPageAtPoint ¶ added in v0.17.0
func NewDestinationWithPageAtPoint(page *Page, point corefoundation.CGPoint) *Destination
NewDestinationWithPageAtPoint initializes the destination.
func (*Destination) Description ¶ added in v0.17.0
func (d *Destination) Description() string
Description returns the object's -description text.
func (*Destination) IsEqual ¶ added in v0.17.0
func (d *Destination) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Destination) IsKind ¶ added in v0.17.0
func (d *Destination) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Destination) Page ¶ added in v0.17.0
func (d *Destination) Page() *Page
Page returns the page.
func (*Destination) Point ¶ added in v0.17.0
func (d *Destination) Point() corefoundation.CGPoint
Point returns the point.
func (*Destination) String ¶ added in v0.17.0
func (d *Destination) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Destination) WithZoom ¶ added in v0.17.0
func (d *Destination) WithZoom(zoom float64) *Destination
WithZoom sets the zoom.
func (*Destination) Zoom ¶ added in v0.17.0
func (d *Destination) Zoom() float64
Zoom returns the zoom.
type DispatchAutoreleaseFrequency ¶ added in v0.17.0
type DispatchAutoreleaseFrequency uint64
const ( DispatchAutoreleaseFrequencyInherit DispatchAutoreleaseFrequency = 0 DispatchAutoreleaseFrequencyWorkItem DispatchAutoreleaseFrequency = 1 DispatchAutoreleaseFrequencyNever DispatchAutoreleaseFrequency = 2 )
func (DispatchAutoreleaseFrequency) String ¶ added in v0.17.0
func (e DispatchAutoreleaseFrequency) String() string
String returns the DispatchAutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.
type DispatchBlockFlags ¶ added in v0.17.0
type DispatchBlockFlags uint64
Bitmask — values may be combined with |.
const ( DispatchBlockFlagsBarrier DispatchBlockFlags = 1 DispatchBlockFlagsDetached DispatchBlockFlags = 2 DispatchBlockFlagsAssignCurrent DispatchBlockFlags = 4 DispatchBlockFlagsNoQosClass DispatchBlockFlags = 8 DispatchBlockFlagsInheritQosClass DispatchBlockFlags = 16 DispatchBlockFlagsEnforceQosClass DispatchBlockFlags = 32 )
func (DispatchBlockFlags) String ¶ added in v0.17.0
func (e DispatchBlockFlags) String() string
String returns the DispatchBlockFlags constant's name, or its numeric form when the value is not a known constant.
type DisplayBox ¶ added in v0.17.0
type DisplayBox int64
The following box types may be used with PDFPage drawing and bounds-setting methods. See the Adobe PDF Specification for more information on box types, units, and coordinate systems.
const ( // A rectangle defining the boundaries of the physical medium for display or printing, expressed in default user-space units. KPDFDisplayBoxMediaBox DisplayBox = 0 // A rectangle defining the boundaries of the visible region , expressed in default user-space units. Default value equal to kPDFDisplayBoxMediaBox. KPDFDisplayBoxCropBox DisplayBox = 1 // A rectangle defining the boundaries of the clip region for the page contents in a production environment. Default value equal to kPDFDisplayBoxCropBox. KPDFDisplayBoxBleedBox DisplayBox = 2 // A rectangle defining the intended boundaries of the finished page. Default value equal to kPDFDisplayBoxCropBox. KPDFDisplayBoxTrimBox DisplayBox = 3 // A rectangle defining the boundaries of the page’s meaningful content including surrounding white space intended for display. Default value equal to kPDFDisplayBoxCropBox. KPDFDisplayBoxArtBox DisplayBox = 4 )
func (DisplayBox) String ¶ added in v0.17.0
func (e DisplayBox) String() string
String returns the DisplayBox constant's name, or its numeric form when the value is not a known constant.
type DisplayDirection ¶ added in v0.17.0
type DisplayDirection int64
const ( KPDFDisplayDirectionVertical DisplayDirection = 0 KPDFDisplayDirectionHorizontal DisplayDirection = 1 )
func (DisplayDirection) String ¶ added in v0.17.0
func (e DisplayDirection) String() string
String returns the DisplayDirection constant's name, or its numeric form when the value is not a known constant.
type DisplayMode ¶ added in v0.17.0
type DisplayMode int64
A wrapper for the chosen display mode constant.
const ( // A display mode where the document displays one page at a time horizontally and vertically. KPDFDisplaySinglePage DisplayMode = 0 // A display mode where the document displays in continuous mode vertically, with single-page width horizontally. KPDFDisplaySinglePageContinuous DisplayMode = 1 // A display mode where the document displays two pages side-by-side. KPDFDisplayTwoUp DisplayMode = 2 // A display mode where the document displays in continuous mode vertically and displays two pages side-by-side horizontally. KPDFDisplayTwoUpContinuous DisplayMode = 3 )
func (DisplayMode) String ¶ added in v0.17.0
func (e DisplayMode) String() string
String returns the DisplayMode constant's name, or its numeric form when the value is not a known constant.
type Document ¶ added in v0.17.0
Document is an idiomatic wrapper over the Objective-C class PDFDocument.
An object that represents PDF data or a PDF file and defines methods for writing, searching, and selecting PDF data.
func DocumentFromID ¶ added in v0.17.0
DocumentFromID adopts an existing Objective-C object as a Document (nil for 0), retaining it and registering a release finalizer.
func NewDocument ¶ added in v0.17.0
func NewDocument() *Document
NewDocument creates a new Document.
func NewDocumentWithData ¶ added in v0.17.0
NewDocumentWithData initializes a PDFDocument object with the passed-in data.
func NewDocumentWithURL ¶ added in v0.17.0
NewDocumentWithURL initializes a PDFDocument object with the contents at the specified URL (if the URL is invalid, this method returns NULL).
func (*Document) AccessPermissions ¶ added in v0.17.0
func (d *Document) AccessPermissions() AccessPermissions
AccessPermissions returns the access permissions.
func (*Document) AllowsCommenting ¶ added in v0.17.0
AllowsCommenting wraps the corresponding Objective-C method.
func (*Document) AllowsContentAccessibility ¶ added in v0.17.0
AllowsContentAccessibility wraps the corresponding Objective-C method.
func (*Document) AllowsCopying ¶ added in v0.17.0
AllowsCopying wraps the corresponding Objective-C method.
func (*Document) AllowsDocumentAssembly ¶ added in v0.17.0
AllowsDocumentAssembly wraps the corresponding Objective-C method.
func (*Document) AllowsDocumentChanges ¶ added in v0.17.0
AllowsDocumentChanges wraps the corresponding Objective-C method.
func (*Document) AllowsFormFieldEntry ¶ added in v0.17.0
AllowsFormFieldEntry wraps the corresponding Objective-C method.
func (*Document) AllowsPrinting ¶ added in v0.17.0
AllowsPrinting wraps the corresponding Objective-C method.
func (*Document) CancelFindString ¶ added in v0.17.0
func (d *Document) CancelFindString()
CancelFindString cancels find string.
func (*Document) DataRepresentation ¶ added in v0.17.0
DataRepresentation returns the data representation.
func (*Document) DataRepresentationWithOptions ¶ added in v0.17.0
DataRepresentationWithOptions wraps the corresponding Objective-C method.
func (*Document) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Document) DocumentAttributes ¶ added in v0.17.0
DocumentAttributes returns the document attributes.
func (*Document) DocumentRef ¶ added in v0.17.0
func (d *Document) DocumentRef() coregraphics.CGPDFDocumentRef
DocumentRef returns the document ref.
func (*Document) DocumentURL ¶ added in v0.17.0
DocumentURL returns the document URL.
func (*Document) ExchangePageAtIndexWithPageAtIndex ¶ added in v0.17.0
ExchangePageAtIndexWithPageAtIndex wraps the corresponding Objective-C method.
func (*Document) IndexForPage ¶ added in v0.17.0
IndexForPage wraps the corresponding Objective-C method.
func (*Document) InsertPageAtIndex ¶ added in v0.17.0
InsertPageAtIndex inserts page at index.
func (*Document) IsEncrypted ¶ added in v0.17.0
IsEncrypted reports whether the object is encrypted.
func (*Document) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Document) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Document) MajorVersion ¶ added in v0.17.0
MajorVersion returns the major version.
func (*Document) MinorVersion ¶ added in v0.17.0
MinorVersion returns the minor version.
func (*Document) OutlineItemForSelection ¶ added in v0.17.0
OutlineItemForSelection wraps the corresponding Objective-C method.
func (*Document) OutlineRoot ¶ added in v0.18.0
OutlineRoot returns the outline root.
func (*Document) PageAtIndex ¶ added in v0.17.0
PageAtIndex wraps the corresponding Objective-C method.
func (*Document) PermissionsStatus ¶ added in v0.17.0
func (d *Document) PermissionsStatus() DocumentPermissions
PermissionsStatus returns the permissions status.
func (*Document) PrintOperationForPrintInfoScalingModeAutoRotate ¶ added in v0.17.0
func (d *Document) PrintOperationForPrintInfoScalingModeAutoRotate(printInfo obj.Object, scaleMode PrintScalingMode, doRotate bool) obj.Object
PrintOperationForPrintInfoScalingModeAutoRotate wraps the corresponding Objective-C method.
func (*Document) RemovePageAtIndex ¶ added in v0.17.0
RemovePageAtIndex removes page at index.
func (*Document) SelectionForEntireDocument ¶ added in v0.17.0
SelectionForEntireDocument returns the selection for entire document.
func (*Document) SelectionFromPageAtCharacterIndexToPageAtCharacterIndex ¶ added in v0.17.0
func (d *Document) SelectionFromPageAtCharacterIndexToPageAtCharacterIndex(startPage *Page, startCharacter int, endPage *Page, endCharacter int) *Selection
SelectionFromPageAtCharacterIndexToPageAtCharacterIndex wraps the corresponding Objective-C method.
func (*Document) SelectionFromPageAtPointToPageAtPoint ¶ added in v0.17.0
func (d *Document) SelectionFromPageAtPointToPageAtPoint(startPage *Page, startPoint corefoundation.CGPoint, endPage *Page, endPoint corefoundation.CGPoint) *Selection
SelectionFromPageAtPointToPageAtPoint wraps the corresponding Objective-C method.
func (*Document) SelectionFromPageAtPointToPageAtPointWithGranularity ¶ added in v0.17.0
func (d *Document) SelectionFromPageAtPointToPageAtPointWithGranularity(startPage *Page, startPoint corefoundation.CGPoint, endPage *Page, endPoint corefoundation.CGPoint, granularity SelectionGranularity) *Selection
SelectionFromPageAtPointToPageAtPointWithGranularity wraps the corresponding Objective-C method.
func (*Document) UnlockWithPassword ¶ added in v0.17.0
UnlockWithPassword attempts to unlock an encrypted document.
func (*Document) WithDelegate ¶ added in v0.17.0
func (d *Document) WithDelegate(delegate DocumentDelegate) *Document
WithDelegate sets the object acting as the delegate for the PDFDocument object.
func (*Document) WithDocumentAttributes ¶ added in v0.17.0
WithDocumentAttributes sets the document attributes.
func (*Document) WithOutlineRoot ¶ added in v0.17.0
WithOutlineRoot sets the outline root.
func (*Document) WriteToFile ¶ added in v0.17.0
WriteToFile writes to file.
func (*Document) WriteToFileWithOptions ¶ added in v0.17.0
WriteToFileWithOptions writes to file with options.
func (*Document) WriteToURL ¶ added in v0.17.0
WriteToURL writes to URL.
type DocumentDelegate ¶ added in v0.17.0
type DocumentDelegate interface {
}
DocumentDelegate receives the callbacks of the Objective-C protocol PDFDocumentDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (DocumentDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type DocumentDelegateDidMatchStringHandler ¶ added in v0.17.0
type DocumentDelegateDidMatchStringHandler interface {
DidMatchString(instance *Selection)
}
DocumentDelegateDidMatchStringHandler is the optional PDFDocumentDelegate method didMatchString:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidBeginDocumentFindHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidBeginDocumentFindHandler interface {
DocumentDidBeginDocumentFind(notification obj.Object)
}
DocumentDelegateDocumentDidBeginDocumentFindHandler is the optional PDFDocumentDelegate method documentDidBeginDocumentFind:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidBeginPageFindHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidBeginPageFindHandler interface {
DocumentDidBeginPageFind(notification obj.Object)
}
DocumentDelegateDocumentDidBeginPageFindHandler is the optional PDFDocumentDelegate method documentDidBeginPageFind:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidEndDocumentFindHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidEndDocumentFindHandler interface {
DocumentDidEndDocumentFind(notification obj.Object)
}
DocumentDelegateDocumentDidEndDocumentFindHandler is the optional PDFDocumentDelegate method documentDidEndDocumentFind:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidEndPageFindHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidEndPageFindHandler interface {
DocumentDidEndPageFind(notification obj.Object)
}
DocumentDelegateDocumentDidEndPageFindHandler is the optional PDFDocumentDelegate method documentDidEndPageFind:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidFindMatchHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidFindMatchHandler interface {
DocumentDidFindMatch(notification obj.Object)
}
DocumentDelegateDocumentDidFindMatchHandler is the optional PDFDocumentDelegate method documentDidFindMatch:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentDelegateDocumentDidUnlockHandler ¶ added in v0.17.0
type DocumentDelegateDocumentDidUnlockHandler interface {
DocumentDidUnlock(notification obj.Object)
}
DocumentDelegateDocumentDidUnlockHandler is the optional PDFDocumentDelegate method documentDidUnlock:. Implement it on a DocumentDelegate value to receive that callback; a value without it is simply never sent one.
type DocumentPermissions ¶ added in v0.17.0
type DocumentPermissions int64
An enumeration that specifies document permissions status.
const ( // The status that indicates no document permissions. KPDFDocumentPermissionsNone DocumentPermissions = 0 // The status that indicates user document permissions. KPDFDocumentPermissionsUser DocumentPermissions = 1 // The status that indicates owner document permissions. KPDFDocumentPermissionsOwner DocumentPermissions = 2 )
func (DocumentPermissions) String ¶ added in v0.17.0
func (e DocumentPermissions) String() string
String returns the DocumentPermissions constant's name, or its numeric form when the value is not a known constant.
type FilesecProperty ¶ added in v0.17.0
type FilesecProperty int32
const ( FilesecPropertyOwner FilesecProperty = 1 FilesecPropertyGroup FilesecProperty = 2 FilesecPropertyUUID FilesecProperty = 3 FilesecPropertyMode FilesecProperty = 4 FilesecPropertyACL FilesecProperty = 5 FilesecPropertyGrpuuid FilesecProperty = 6 FilesecPropertyACLRaw FilesecProperty = 100 FilesecPropertyACLAllocsize FilesecProperty = 101 )
func (FilesecProperty) String ¶ added in v0.17.0
func (e FilesecProperty) String() string
String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.
type InterpolationQuality ¶ added in v0.17.0
type InterpolationQuality int64
A wrapper for the specified interpolation quality.
const ( // The case where no interpolation quality is specified. KPDFInterpolationQualityNone InterpolationQuality = 0 // The case specifying low interpolation quality. KPDFInterpolationQualityLow InterpolationQuality = 1 // The case specifying high interpolation quality. KPDFInterpolationQualityHigh InterpolationQuality = 2 )
func (InterpolationQuality) String ¶ added in v0.17.0
func (e InterpolationQuality) String() string
String returns the InterpolationQuality constant's name, or its numeric form when the value is not a known constant.
type IpcInfoObjectType ¶ added in v0.17.0
type IpcInfoObjectType uint32
const ( IpcInfoObjectTypeNone IpcInfoObjectType = 0 IpcInfoObjectTypeThreadControl IpcInfoObjectType = 1 IpcInfoObjectTypeTaskControl IpcInfoObjectType = 2 IpcInfoObjectTypeHost IpcInfoObjectType = 3 IpcInfoObjectTypeHostPriv IpcInfoObjectType = 4 IpcInfoObjectTypeProcessor IpcInfoObjectType = 5 IpcInfoObjectTypeProcessorSet IpcInfoObjectType = 6 IpcInfoObjectTypeProcessorSetName IpcInfoObjectType = 7 IpcInfoObjectTypeTimer IpcInfoObjectType = 8 IpcInfoObjectTypePortSubstOnce IpcInfoObjectType = 9 IpcInfoObjectTypeMig IpcInfoObjectType = 10 IpcInfoObjectTypeMemoryObject IpcInfoObjectType = 11 IpcInfoObjectTypeXmmPager IpcInfoObjectType = 12 IpcInfoObjectTypeXmmKernel IpcInfoObjectType = 13 IpcInfoObjectTypeXmmReply IpcInfoObjectType = 14 IpcInfoObjectTypeUndReply IpcInfoObjectType = 15 IpcInfoObjectTypeHostNotify IpcInfoObjectType = 16 IpcInfoObjectTypeHostSecurity IpcInfoObjectType = 17 IpcInfoObjectTypeLedger IpcInfoObjectType = 18 IpcInfoObjectTypeMainDevice IpcInfoObjectType = 19 IpcInfoObjectTypeTaskName IpcInfoObjectType = 20 IpcInfoObjectTypeSubsystem IpcInfoObjectType = 21 IpcInfoObjectTypeIODoneQueue IpcInfoObjectType = 22 IpcInfoObjectTypeSemaphore IpcInfoObjectType = 23 IpcInfoObjectTypeLockSet IpcInfoObjectType = 24 IpcInfoObjectTypeClock IpcInfoObjectType = 25 IpcInfoObjectTypeClockCtrl IpcInfoObjectType = 26 IpcInfoObjectTypeIokitIdent IpcInfoObjectType = 27 IpcInfoObjectTypeNamedEntry IpcInfoObjectType = 28 IpcInfoObjectTypeIokitConnect IpcInfoObjectType = 29 IpcInfoObjectTypeIokitObject IpcInfoObjectType = 30 IpcInfoObjectTypeUpl IpcInfoObjectType = 31 IpcInfoObjectTypeMemObjControl IpcInfoObjectType = 32 IpcInfoObjectTypeAuSessionport IpcInfoObjectType = 33 IpcInfoObjectTypeFileport IpcInfoObjectType = 34 IpcInfoObjectTypeLabelh IpcInfoObjectType = 35 IpcInfoObjectTypeTaskResume IpcInfoObjectType = 36 IpcInfoObjectTypeVoucher IpcInfoObjectType = 37 IpcInfoObjectTypeVoucherAttrControl IpcInfoObjectType = 38 IpcInfoObjectTypeWorkInterval IpcInfoObjectType = 39 IpcInfoObjectTypeUxHandler IpcInfoObjectType = 40 IpcInfoObjectTypeUextObject IpcInfoObjectType = 41 IpcInfoObjectTypeArcadeReg IpcInfoObjectType = 42 IpcInfoObjectTypeEventlink IpcInfoObjectType = 43 IpcInfoObjectTypeTaskInspect IpcInfoObjectType = 44 IpcInfoObjectTypeTaskRead IpcInfoObjectType = 45 IpcInfoObjectTypeThreadInspect IpcInfoObjectType = 46 IpcInfoObjectTypeThreadRead IpcInfoObjectType = 47 IpcInfoObjectTypeSuidCred IpcInfoObjectType = 48 IpcInfoObjectTypeHypervisor IpcInfoObjectType = 49 IpcInfoObjectTypeTaskIDToken IpcInfoObjectType = 50 IpcInfoObjectTypeTaskFatal IpcInfoObjectType = 51 IpcInfoObjectTypeKcdata IpcInfoObjectType = 52 IpcInfoObjectTypeExclavesResource IpcInfoObjectType = 53 IpcInfoObjectTypeThreadResume IpcInfoObjectType = 54 IpcInfoObjectTypeUnknown IpcInfoObjectType = 4294967295 )
func (IpcInfoObjectType) String ¶ added in v0.17.0
func (e IpcInfoObjectType) String() string
String returns the IpcInfoObjectType constant's name, or its numeric form when the value is not a known constant.
type LaunchDataType ¶ added in v0.17.0
type LaunchDataType int32
const ( LaunchDataTypeDictionary LaunchDataType = 1 LaunchDataTypeArray LaunchDataType = 2 LaunchDataTypeFd LaunchDataType = 3 LaunchDataTypeInteger LaunchDataType = 4 LaunchDataTypeReal LaunchDataType = 5 LaunchDataTypeBool LaunchDataType = 6 LaunchDataTypeString LaunchDataType = 7 LaunchDataTypeOpaque LaunchDataType = 8 LaunchDataTypeErrno LaunchDataType = 9 LaunchDataTypeMachport LaunchDataType = 10 )
func (LaunchDataType) String ¶ added in v0.17.0
func (e LaunchDataType) String() string
String returns the LaunchDataType constant's name, or its numeric form when the value is not a known constant.
type LineStyle ¶ added in v0.17.0
type LineStyle int64
The following constants specify the available line ending styles.
const ( // No line ending. KPDFLineStyleNone LineStyle = 0 // A square line ending filled with the annotation’s interior color, if any. KPDFLineStyleSquare LineStyle = 1 // A circular line ending filled with the annotation’s interior color, if any. KPDFLineStyleCircle LineStyle = 2 // A diamond-shaped line ending filled with the annotation’s interior color, if any. KPDFLineStyleDiamond LineStyle = 3 // An open arrowhead line ending, composed from two short lines meeting in an acute angle at the line end. KPDFLineStyleOpenArrow LineStyle = 4 // A closed arrowhead line ending, consisting of a triangle with the acute vertex at the line end and filled with the annotation’s interior color, if any. KPDFLineStyleClosedArrow LineStyle = 5 )
func LineStyleFromName ¶ added in v0.17.0
LineStyleFromName returns a line style that corresponds to the specified name.
type MDLabelDomain ¶
type MDLabelDomain int32
These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
String returns the MDLabelDomain constant's name, or its numeric form when the value is not a known constant.
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int32
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
String returns the MDQueryOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int32
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
String returns the MDQuerySortOptionFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlags ¶ added in v0.17.0
type MachVMRangeFlags uint64
Bitmask — values may be combined with |.
const (
MachVMRangeFlagsNone MachVMRangeFlags = 0
)
func (MachVMRangeFlags) String ¶ added in v0.17.0
func (e MachVMRangeFlags) String() string
String returns the MachVMRangeFlags constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeFlavor ¶ added in v0.17.0
type MachVMRangeFlavor uint32
const ( MachVMRangeFlavorInvalid MachVMRangeFlavor = 0 MachVMRangeFlavorV1 MachVMRangeFlavor = 1 )
func (MachVMRangeFlavor) String ¶ added in v0.17.0
func (e MachVMRangeFlavor) String() string
String returns the MachVMRangeFlavor constant's name, or its numeric form when the value is not a known constant.
type MachVMRangeTag ¶ added in v0.17.0
type MachVMRangeTag uint16
const ( MachVMRangeTagDefault MachVMRangeTag = 0 MachVMRangeTagData MachVMRangeTag = 1 MachVMRangeTagFixed MachVMRangeTag = 2 )
func (MachVMRangeTag) String ¶ added in v0.17.0
func (e MachVMRangeTag) String() string
String returns the MachVMRangeTag constant's name, or its numeric form when the value is not a known constant.
type MarkupType ¶ added in v0.17.0
type MarkupType int64
The styles available for markup annotations in PDFKit.
const ( // Highlight style for the markup. KPDFMarkupTypeHighlight MarkupType = 0 // Strikethrough style for the markup. KPDFMarkupTypeStrikeOut MarkupType = 1 // Underline style for the markup. KPDFMarkupTypeUnderline MarkupType = 2 // The redaction style for markup. KPDFMarkupTypeRedact MarkupType = 3 )
func (MarkupType) String ¶ added in v0.17.0
func (e MarkupType) String() string
String returns the MarkupType constant's name, or its numeric form when the value is not a known constant.
type MpoFlags ¶ added in v0.17.0
type MpoFlags uint32
Bitmask — values may be combined with |.
const ( MpoFlagsPort MpoFlags = 0 MpoFlagsServicePort MpoFlags = 1024 MpoFlagsConnectionPort MpoFlags = 2048 MpoFlagsReplyPort MpoFlags = 4096 MpoFlagsWeakReplyPort MpoFlags = 16384 MpoFlagsNotificationPort MpoFlags = 17408 MpoFlagsExceptionPort MpoFlags = 32768 MpoFlagsConnectionPortWithPortArray MpoFlags = 65536 )
type NXMouseButton ¶
type NXMouseButton int32
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
String returns the NXMouseButton constant's name, or its numeric form when the value is not a known constant.
type OSUnfairLockFlags ¶ added in v0.17.0
type OSUnfairLockFlags uint32
Bitmask — values may be combined with |.
const ( OSUnfairLockFlagsNone OSUnfairLockFlags = 0 OSUnfairLockFlagsAdaptiveSpin OSUnfairLockFlags = 262144 )
func (OSUnfairLockFlags) String ¶ added in v0.17.0
func (e OSUnfairLockFlags) String() string
String returns the OSUnfairLockFlags constant's name, or its numeric form when the value is not a known constant.
type Outline ¶ added in v0.17.0
Outline is an idiomatic wrapper over the Objective-C class PDFOutline.
A PDFOutline object is an element in a tree-structured hierarchy that can represent the structure of a PDF document.
func OutlineFromID ¶ added in v0.17.0
OutlineFromID adopts an existing Objective-C object as a Outline (nil for 0), retaining it and registering a release finalizer.
func (*Outline) ChildAtIndex ¶ added in v0.17.0
ChildAtIndex returns the child outline object at the specified index.
func (*Outline) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Outline) Destination ¶ added in v0.17.0
func (o *Outline) Destination() *Destination
Destination returns the destination.
func (*Outline) InsertChildAtIndex ¶ added in v0.17.0
InsertChildAtIndex inserts the specified outline object at the specified index.
func (*Outline) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Outline) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Outline) NumberOfChildren ¶ added in v0.17.0
NumberOfChildren returns the number of children.
func (*Outline) RemoveFromParent ¶ added in v0.17.0
func (o *Outline) RemoveFromParent()
RemoveFromParent removes the outline object from its parent (does nothing if outline object is the root outline object).
func (*Outline) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*Outline) WithAction ¶ added in v0.17.0
WithAction sets returns the action performed when users click the outline.
func (*Outline) WithDestination ¶ added in v0.17.0
func (o *Outline) WithDestination(destination *Destination) *Outline
WithDestination sets returns the destination associated with the outline.
func (*Outline) WithIsOpen ¶ added in v0.17.0
WithIsOpen sets returns a Boolean value that indicates whether the outline object is initially disclosed.
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int32
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
String returns the PMPageToPaperMappingType constant's name, or its numeric form when the value is not a known constant.
type Page ¶ added in v0.17.0
Page is an idiomatic wrapper over the Objective-C class PDFPage.
PDFPage, a subclass of NSObject, defines methods used to render PDF pages and work with annotations, text, and selections.
func NewPageWithImage ¶ added in v0.17.0
NewPageWithImage creates a new PDFPage object and initializes it with the specified NSImage object.
func NewPageWithImageOptions ¶ added in v0.17.0
NewPageWithImageOptions creates a new Page.
func PageFromID ¶ added in v0.17.0
PageFromID adopts an existing Objective-C object as a Page (nil for 0), retaining it and registering a release finalizer.
func (*Page) AddAnnotation ¶ added in v0.17.0
func (p *Page) AddAnnotation(annotation *Annotation)
AddAnnotation adds the specified annotation object to the page.
func (*Page) AnnotationAtPoint ¶ added in v0.17.0
func (p *Page) AnnotationAtPoint(point corefoundation.CGPoint) *Annotation
AnnotationAtPoint returns the annotation, if there is one, at the specified point.
func (*Page) Annotations ¶ added in v0.17.0
func (p *Page) Annotations() []*Annotation
Annotations returns the annotations.
Annotations returns the collection as a Go slice.
func (*Page) AttributedString ¶ added in v0.17.0
func (p *Page) AttributedString() *foundation.AttributedString
AttributedString returns the attributed string.
func (*Page) BoundsForBox ¶ added in v0.17.0
func (p *Page) BoundsForBox(box DisplayBox) corefoundation.CGRect
BoundsForBox returns the bounds for the specified PDF display box.
func (*Page) CharacterBoundsAtIndex ¶ added in v0.17.0
func (p *Page) CharacterBoundsAtIndex(index int) corefoundation.CGRect
CharacterBoundsAtIndex returns the bounds, in page space, of the character at the specified index.
func (*Page) CharacterIndexAtPoint ¶ added in v0.17.0
func (p *Page) CharacterIndexAtPoint(point corefoundation.CGPoint) int
CharacterIndexAtPoint returns the character index value for the specified point in page space.
func (*Page) DataRepresentation ¶ added in v0.17.0
DataRepresentation returns the data representation.
func (*Page) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Page) DisplaysAnnotations ¶ added in v0.17.0
DisplaysAnnotations wraps the corresponding Objective-C method.
func (*Page) DrawWithBox ¶ added in v0.17.0
func (p *Page) DrawWithBox(box DisplayBox)
DrawWithBox draws the page within the specified box.
func (*Page) DrawWithBoxToContext ¶ added in v0.17.0
func (p *Page) DrawWithBoxToContext(box DisplayBox, context_ coregraphics.CGContextRef)
DrawWithBoxToContext draws with box to context.
func (*Page) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Page) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Page) NumberOfCharacters ¶ added in v0.17.0
NumberOfCharacters returns the number of characters.
func (*Page) PageRef ¶ added in v0.17.0
func (p *Page) PageRef() coregraphics.CGPDFPageRef
PageRef returns the page ref.
func (*Page) RemoveAnnotation ¶ added in v0.17.0
func (p *Page) RemoveAnnotation(annotation *Annotation)
RemoveAnnotation removes the specified annotation from the page.
func (*Page) SelectionForLineAtPoint ¶ added in v0.17.0
func (p *Page) SelectionForLineAtPoint(point corefoundation.CGPoint) *Selection
SelectionForLineAtPoint returns the whole line of text that includes the specified point.
func (*Page) SelectionForRange ¶ added in v0.17.0
func (p *Page) SelectionForRange(range_ foundation.NSRange) *Selection
SelectionForRange returns the text contained within the specified range.
func (*Page) SelectionForRect ¶ added in v0.17.0
func (p *Page) SelectionForRect(rect corefoundation.CGRect) *Selection
SelectionForRect returns the text enclosed within the specified rectangle, expressed in page (user) coordinates.
func (*Page) SelectionForWordAtPoint ¶ added in v0.17.0
func (p *Page) SelectionForWordAtPoint(point corefoundation.CGPoint) *Selection
SelectionForWordAtPoint returns the whole word that includes the specified point.
func (*Page) SelectionFromPointToPoint ¶ added in v0.17.0
func (p *Page) SelectionFromPointToPoint(startPoint corefoundation.CGPoint, endPoint corefoundation.CGPoint) *Selection
SelectionFromPointToPoint returns the text between the two specified points in page space.
func (*Page) SetBoundsForBox ¶ added in v0.17.0
func (p *Page) SetBoundsForBox(bounds corefoundation.CGRect, box DisplayBox)
SetBoundsForBox sets the bounds for the specified box.
func (*Page) ThumbnailOfSizeForBox ¶ added in v0.17.0
func (p *Page) ThumbnailOfSizeForBox(size corefoundation.CGSize, box DisplayBox) obj.Object
ThumbnailOfSizeForBox wraps the corresponding Objective-C method.
func (*Page) TransformContextForBox ¶ added in v0.17.0
func (p *Page) TransformContextForBox(context_ coregraphics.CGContextRef, box DisplayBox)
TransformContextForBox wraps the corresponding Objective-C method.
func (*Page) TransformContextForBox2 ¶ added in v0.17.0
func (p *Page) TransformContextForBox2(box DisplayBox)
TransformContextForBox2 transforms the current context, given the specified box.
func (*Page) TransformForBox ¶ added in v0.17.0
func (p *Page) TransformForBox(box DisplayBox) corefoundation.CGAffineTransform
TransformForBox wraps the corresponding Objective-C method.
func (*Page) WithDisplaysAnnotations ¶ added in v0.17.0
WithDisplaysAnnotations sets returns a Boolean value indicating whether annotations are displayed for the page.
func (*Page) WithRotation ¶ added in v0.17.0
WithRotation sets sets the rotation angle for the page in degrees.
type PageOverlayViewProvider ¶ added in v0.17.0
type PageOverlayViewProvider interface {
PdfViewOverlayViewForPage(view *View, page *Page) obj.Object
}
PageOverlayViewProvider is the Go form of the Objective-C protocol PDFPageOverlayViewProvider.
type Perm ¶ added in v0.17.0
type Perm int32
const ( PermReadData Perm = 2 PermListDirectory Perm = 2 PermWriteData Perm = 4 PermAddFile Perm = 4 PermExecute Perm = 8 PermSearch Perm = 8 PermDelete Perm = 16 PermAppendData Perm = 32 PermAddSubdirectory Perm = 32 PermDeleteChild Perm = 64 PermReadAttributes Perm = 128 PermWriteAttributes Perm = 256 PermReadExtattributes Perm = 512 PermWriteExtattributes Perm = 1024 PermReadSecurity Perm = 2048 PermWriteSecurity Perm = 4096 PermChangeOwner Perm = 8192 PermSynchronize Perm = 1048576 )
type PrintScalingMode ¶ added in v0.17.0
type PrintScalingMode int64
The type of scaling to be used when printing a page (see PDFDocument).
const ( // Do not apply scaling to the page when printing. KPDFPrintPageScaleNone PrintScalingMode = 0 // Scale each page up or down to best fit the paper size. KPDFPrintPageScaleToFit PrintScalingMode = 1 // Scale large pages down to fit the paper size (smaller pages do not get scaled up). KPDFPrintPageScaleDownToFit PrintScalingMode = 2 )
func (PrintScalingMode) String ¶ added in v0.17.0
func (e PrintScalingMode) String() string
String returns the PrintScalingMode constant's name, or its numeric form when the value is not a known constant.
type PtrauthKey ¶ added in v0.17.0
type PtrauthKey int32
const ( Ptrauth_key_none PtrauthKey = -1 Ptrauth_key_asia PtrauthKey = 0 Ptrauth_key_asib PtrauthKey = 1 Ptrauth_key_asda PtrauthKey = 2 Ptrauth_key_asdb PtrauthKey = 3 Ptrauth_key_process_independent_code PtrauthKey = 0 Ptrauth_key_process_dependent_code PtrauthKey = 1 Ptrauth_key_process_independent_data PtrauthKey = 2 Ptrauth_key_process_dependent_data PtrauthKey = 3 Ptrauth_key_return_address PtrauthKey = 1 Ptrauth_key_frame_pointer PtrauthKey = 3 Ptrauth_key_function_pointer PtrauthKey = 0 Ptrauth_key_block_function PtrauthKey = 0 Ptrauth_key_cxx_vtable_pointer PtrauthKey = 2 Ptrauth_key_method_list_pointer PtrauthKey = 2 Ptrauth_key_objc_isa_pointer PtrauthKey = 2 Ptrauth_key_objc_super_pointer PtrauthKey = 2 Ptrauth_key_objc_sel_pointer PtrauthKey = 3 Ptrauth_key_objc_class_ro_pointer PtrauthKey = 2 Ptrauth_key_block_descriptor_pointer PtrauthKey = 2 Ptrauth_key_init_fini_pointer PtrauthKey = 0 )
func (PtrauthKey) String ¶ added in v0.17.0
func (e PtrauthKey) String() string
String returns the PtrauthKey constant's name, or its numeric form when the value is not a known constant.
type Selection ¶ added in v0.17.0
Selection is an idiomatic wrapper over the Objective-C class PDFSelection.
A PDFSelection object identifies a contiguous or noncontiguous selection of text in a PDF document.
func NewSelectionWithDocument ¶ added in v0.17.0
NewSelectionWithDocument returns an empty PDFSelection object.
func SelectionFromID ¶ added in v0.17.0
SelectionFromID adopts an existing Objective-C object as a Selection (nil for 0), retaining it and registering a release finalizer.
func (*Selection) AddSelection ¶ added in v0.17.0
AddSelection adds the specified selection to the receiving selection.
func (*Selection) AddSelections ¶ added in v0.17.0
AddSelections adds the specified array of selections to the receiving selection.
func (*Selection) AttributedString ¶ added in v0.17.0
func (s *Selection) AttributedString() *foundation.AttributedString
AttributedString returns the attributed string.
func (*Selection) BoundsForPage ¶ added in v0.17.0
func (s *Selection) BoundsForPage(page *Page) corefoundation.CGRect
BoundsForPage returns the bounds of the selection on the specified page.
func (*Selection) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*Selection) DrawForPageActive ¶ added in v0.17.0
DrawForPageActive calls drawForPage:withBox:active: with a default value for box parameter.
func (*Selection) DrawForPageWithBoxActive ¶ added in v0.17.0
func (s *Selection) DrawForPageWithBoxActive(page *Page, box DisplayBox, active bool)
DrawForPageWithBoxActive draws the selection relative to the origin of the specified box in page space.
func (*Selection) ExtendSelectionAtEnd ¶ added in v0.17.0
ExtendSelectionAtEnd extends the selection from its end toward the end of the document.
func (*Selection) ExtendSelectionAtStart ¶ added in v0.17.0
ExtendSelectionAtStart extends the selection from its start toward the beginning of the document.
func (*Selection) ExtendSelectionForLineBoundaries ¶ added in v0.17.0
func (s *Selection) ExtendSelectionForLineBoundaries()
ExtendSelectionForLineBoundaries wraps the corresponding Objective-C method.
func (*Selection) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*Selection) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*Selection) NumberOfTextRangesOnPage ¶ added in v0.17.0
NumberOfTextRangesOnPage wraps the corresponding Objective-C method.
func (*Selection) Pages ¶ added in v0.17.0
Pages returns the pages.
Pages returns the collection as a Go slice.
func (*Selection) RangeAtIndexOnPage ¶ added in v0.17.0
func (s *Selection) RangeAtIndexOnPage(index int, page *Page) foundation.NSRange
RangeAtIndexOnPage wraps the corresponding Objective-C method.
func (*Selection) SelectionsByLine ¶ added in v0.17.0
SelectionsByLine returns an array of selections, one for each line of text covered by the receiver.
SelectionsByLine returns the collection as a Go slice.
type SelectionGranularity ¶ added in v0.17.0
type SelectionGranularity uint64
const ( SelectionGranularityCharacter SelectionGranularity = 0 SelectionGranularityWord SelectionGranularity = 1 SelectionGranularityLine SelectionGranularity = 2 )
func (SelectionGranularity) String ¶ added in v0.17.0
func (e SelectionGranularity) String() string
String returns the SelectionGranularity constant's name, or its numeric form when the value is not a known constant.
type TextAnnotationIconType ¶ added in v0.17.0
type TextAnnotationIconType int64
The types of icons that a text annotation can use.
const ( // Comment annotation icon. KPDFTextAnnotationIconComment TextAnnotationIconType = 0 // Key annotation icon. KPDFTextAnnotationIconKey TextAnnotationIconType = 1 // Note annotation icon. KPDFTextAnnotationIconNote TextAnnotationIconType = 2 // Help annotation icon. KPDFTextAnnotationIconHelp TextAnnotationIconType = 3 // New Paragraph annotation icon. KPDFTextAnnotationIconNewParagraph TextAnnotationIconType = 4 // Paragraph annotation icon. KPDFTextAnnotationIconParagraph TextAnnotationIconType = 5 // Insert annotation icon. KPDFTextAnnotationIconInsert TextAnnotationIconType = 6 )
func (TextAnnotationIconType) String ¶ added in v0.17.0
func (e TextAnnotationIconType) String() string
String returns the TextAnnotationIconType constant's name, or its numeric form when the value is not a known constant.
type ThumbnailView ¶ added in v0.17.0
ThumbnailView is an idiomatic wrapper over the Objective-C class PDFThumbnailView.
An object that contains a set of thumbnails, each of which represents a page in a PDF document.
func NewThumbnailView ¶ added in v0.17.0
func NewThumbnailView() *ThumbnailView
NewThumbnailView creates a new ThumbnailView.
func ThumbnailViewFromID ¶ added in v0.17.0
func ThumbnailViewFromID(id objc.ID) *ThumbnailView
ThumbnailViewFromID adopts an existing Objective-C object as a ThumbnailView (nil for 0), retaining it and registering a release finalizer.
func (*ThumbnailView) AllowsDragging ¶ added in v0.17.0
func (tv *ThumbnailView) AllowsDragging() bool
AllowsDragging wraps the corresponding Objective-C method.
func (*ThumbnailView) AllowsMultipleSelection ¶ added in v0.17.0
func (tv *ThumbnailView) AllowsMultipleSelection() bool
AllowsMultipleSelection wraps the corresponding Objective-C method.
func (*ThumbnailView) BackgroundColor ¶ added in v0.17.0
func (tv *ThumbnailView) BackgroundColor() obj.Object
BackgroundColor returns the background color.
func (*ThumbnailView) Description ¶ added in v0.17.0
func (tv *ThumbnailView) Description() string
Description returns the object's -description text.
func (*ThumbnailView) IsEqual ¶ added in v0.17.0
func (tv *ThumbnailView) IsEqual(other obj.Object) bool
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*ThumbnailView) IsKind ¶ added in v0.17.0
func (tv *ThumbnailView) IsKind(className string) bool
IsKind reports whether the object is an instance of the named class or a subclass.
func (*ThumbnailView) LabelFont ¶ added in v0.17.0
func (tv *ThumbnailView) LabelFont() obj.Object
LabelFont returns the label font.
func (*ThumbnailView) MaximumNumberOfColumns ¶ added in v0.17.0
func (tv *ThumbnailView) MaximumNumberOfColumns() int
MaximumNumberOfColumns returns the maximum number of columns.
func (*ThumbnailView) PDFView ¶ added in v0.17.0
func (tv *ThumbnailView) PDFView() *View
PDFView returns the pdf view.
func (*ThumbnailView) SelectedPages ¶ added in v0.17.0
func (tv *ThumbnailView) SelectedPages() []*Page
SelectedPages returns the selected pages.
SelectedPages returns the collection as a Go slice.
func (*ThumbnailView) String ¶ added in v0.17.0
func (tv *ThumbnailView) String() string
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*ThumbnailView) ThumbnailSize ¶ added in v0.17.0
func (tv *ThumbnailView) ThumbnailSize() corefoundation.CGSize
ThumbnailSize returns the thumbnail size.
func (*ThumbnailView) WithAllowsDragging ¶ added in v0.17.0
func (tv *ThumbnailView) WithAllowsDragging(allowsDragging bool) *ThumbnailView
WithAllowsDragging sets returns a Boolean value indicating whether users can drag thumbnails (that is, re-order pages in the document) within the thumbnail view.
func (*ThumbnailView) WithAllowsMultipleSelection ¶ added in v0.17.0
func (tv *ThumbnailView) WithAllowsMultipleSelection(allowsMultipleSelection bool) *ThumbnailView
WithAllowsMultipleSelection sets returns a Boolean value indicating whether users can select multiple thumbnails in the thumbnail view at one time.
func (*ThumbnailView) WithBackgroundColor ¶ added in v0.17.0
func (tv *ThumbnailView) WithBackgroundColor(backgroundColor obj.Object) *ThumbnailView
WithBackgroundColor sets returns the color used in the background of the thumbnail view.
func (*ThumbnailView) WithLabelFont ¶ added in v0.17.0
func (tv *ThumbnailView) WithLabelFont(labelFont obj.Object) *ThumbnailView
WithLabelFont sets returns the font used to label the thumbnails.
func (*ThumbnailView) WithMaximumNumberOfColumns ¶ added in v0.17.0
func (tv *ThumbnailView) WithMaximumNumberOfColumns(maximumNumberOfColumns int) *ThumbnailView
WithMaximumNumberOfColumns sets returns the maximum number of columns of thumbnails the thumbnail view can display.
func (*ThumbnailView) WithPDFView ¶ added in v0.17.0
func (tv *ThumbnailView) WithPDFView(pdfView *View) *ThumbnailView
WithPDFView sets returns the PDFView object associated with the thumbnail view.
func (*ThumbnailView) WithThumbnailSize ¶ added in v0.17.0
func (tv *ThumbnailView) WithThumbnailSize(thumbnailSize corefoundation.CGSize) *ThumbnailView
WithThumbnailSize sets returns the maximum width and height of the thumbnails in the thumbnail view.
type View ¶ added in v0.17.0
View is an idiomatic wrapper over the Objective-C class PDFView.
An object that encapsulates the functionality of PDF Kit into a single widget that you can add to your application using Interface Builder.
func ViewFromID ¶ added in v0.17.0
ViewFromID adopts an existing Objective-C object as a View (nil for 0), retaining it and registering a release finalizer.
func (*View) AcceptsDraggedFiles ¶ added in v0.17.0
AcceptsDraggedFiles wraps the corresponding Objective-C method.
func (*View) AllowsDragging ¶ added in v0.17.0
AllowsDragging wraps the corresponding Objective-C method.
func (*View) AnnotationsChangedOnPage ¶ added in v0.17.0
AnnotationsChangedOnPage wraps the corresponding Objective-C method.
func (*View) AreaOfInterestForMouse ¶ added in v0.17.0
func (v_ *View) AreaOfInterestForMouse(event obj.Object) AreaOfInterest
AreaOfInterestForMouse wraps the corresponding Objective-C method.
func (*View) AreaOfInterestForPoint ¶ added in v0.17.0
func (v_ *View) AreaOfInterestForPoint(cursorLocation corefoundation.CGPoint) AreaOfInterest
AreaOfInterestForPoint wraps the corresponding Objective-C method.
func (*View) AutoScales ¶ added in v0.17.0
AutoScales wraps the corresponding Objective-C method.
func (*View) BackgroundColor ¶ added in v0.17.0
BackgroundColor returns the background color.
func (*View) CanGoForward ¶ added in v0.17.0
CanGoForward wraps the corresponding Objective-C method.
func (*View) CanGoToFirstPage ¶ added in v0.17.0
CanGoToFirstPage wraps the corresponding Objective-C method.
func (*View) CanGoToLastPage ¶ added in v0.17.0
CanGoToLastPage wraps the corresponding Objective-C method.
func (*View) CanGoToNextPage ¶ added in v0.17.0
CanGoToNextPage wraps the corresponding Objective-C method.
func (*View) CanGoToPreviousPage ¶ added in v0.17.0
CanGoToPreviousPage wraps the corresponding Objective-C method.
func (*View) CanZoomOut ¶ added in v0.17.0
CanZoomOut wraps the corresponding Objective-C method.
func (*View) ClearSelection ¶ added in v0.17.0
func (v_ *View) ClearSelection()
ClearSelection clears selection.
func (*View) ConvertPointFromPage ¶ added in v0.17.0
func (v_ *View) ConvertPointFromPage(point corefoundation.CGPoint, page *Page) corefoundation.CGPoint
ConvertPointFromPage wraps the corresponding Objective-C method.
func (*View) ConvertPointToPage ¶ added in v0.17.0
func (v_ *View) ConvertPointToPage(point corefoundation.CGPoint, page *Page) corefoundation.CGPoint
ConvertPointToPage wraps the corresponding Objective-C method.
func (*View) ConvertRectFromPage ¶ added in v0.17.0
func (v_ *View) ConvertRectFromPage(rect corefoundation.CGRect, page *Page) corefoundation.CGRect
ConvertRectFromPage wraps the corresponding Objective-C method.
func (*View) ConvertRectToPage ¶ added in v0.17.0
func (v_ *View) ConvertRectToPage(rect corefoundation.CGRect, page *Page) corefoundation.CGRect
ConvertRectToPage wraps the corresponding Objective-C method.
func (*View) CurrentDestination ¶ added in v0.17.0
func (v_ *View) CurrentDestination() *Destination
CurrentDestination returns the current destination.
func (*View) CurrentPage ¶ added in v0.17.0
CurrentPage returns the current page.
func (*View) CurrentSelection ¶ added in v0.17.0
CurrentSelection returns the current selection.
func (*View) Description ¶ added in v0.17.0
Description returns the object's -description text.
func (*View) DisplayBox ¶ added in v0.17.0
func (v_ *View) DisplayBox() DisplayBox
DisplayBox returns the display box.
func (*View) DisplayDirection ¶ added in v0.17.0
func (v_ *View) DisplayDirection() DisplayDirection
DisplayDirection returns the display direction.
func (*View) DisplayMode ¶ added in v0.17.0
func (v_ *View) DisplayMode() DisplayMode
DisplayMode returns the display mode.
func (*View) DisplaysAsBook ¶ added in v0.17.0
DisplaysAsBook wraps the corresponding Objective-C method.
func (*View) DisplaysPageBreaks ¶ added in v0.17.0
DisplaysPageBreaks wraps the corresponding Objective-C method.
func (*View) DisplaysRTL ¶ added in v0.17.0
DisplaysRTL wraps the corresponding Objective-C method.
func (*View) DocumentView ¶ added in v0.17.0
DocumentView returns the document view.
func (*View) DrawPagePost ¶ added in v0.17.0
DrawPagePost draws page post.
func (*View) DrawPagePostToContext ¶ added in v0.17.0
func (v_ *View) DrawPagePostToContext(page *Page, context_ coregraphics.CGContextRef)
DrawPagePostToContext draws page post to context.
func (*View) DrawPageToContext ¶ added in v0.17.0
func (v_ *View) DrawPageToContext(page *Page, context_ coregraphics.CGContextRef)
DrawPageToContext draws page to context.
func (*View) EnableDataDetectors ¶ added in v0.17.0
EnableDataDetectors wraps the corresponding Objective-C method.
func (*View) GoToDestination ¶ added in v0.17.0
func (v_ *View) GoToDestination(destination *Destination)
GoToDestination wraps the corresponding Objective-C method.
func (*View) GoToFirstPage ¶ added in v0.17.0
GoToFirstPage wraps the corresponding Objective-C method.
func (*View) GoToLastPage ¶ added in v0.17.0
GoToLastPage wraps the corresponding Objective-C method.
func (*View) GoToNextPage ¶ added in v0.17.0
GoToNextPage wraps the corresponding Objective-C method.
func (*View) GoToPreviousPage ¶ added in v0.17.0
GoToPreviousPage wraps the corresponding Objective-C method.
func (*View) GoToRectOnPage ¶ added in v0.17.0
func (v_ *View) GoToRectOnPage(rect corefoundation.CGRect, page *Page)
GoToRectOnPage wraps the corresponding Objective-C method.
func (*View) GoToSelection ¶ added in v0.17.0
GoToSelection wraps the corresponding Objective-C method.
func (*View) GreekingThreshold ¶ added in v0.17.0
GreekingThreshold returns the greeking threshold.
func (*View) HighlightedSelections ¶ added in v0.18.0
HighlightedSelections returns the highlighted selections.
func (*View) InterpolationQuality ¶ added in v0.17.0
func (v_ *View) InterpolationQuality() InterpolationQuality
InterpolationQuality returns the interpolation quality.
func (*View) IsEqual ¶ added in v0.17.0
IsEqual reports Objective-C equality (isEqual:) with another object.
func (*View) IsInMarkupMode ¶ added in v0.17.0
IsInMarkupMode reports whether the object is in markup mode.
func (*View) IsKind ¶ added in v0.17.0
IsKind reports whether the object is an instance of the named class or a subclass.
func (*View) LayoutDocumentView ¶ added in v0.17.0
func (v_ *View) LayoutDocumentView()
LayoutDocumentView wraps the corresponding Objective-C method.
func (*View) MaxScaleFactor ¶ added in v0.17.0
MaxScaleFactor returns the max scale factor.
func (*View) MinScaleFactor ¶ added in v0.17.0
MinScaleFactor returns the min scale factor.
func (*View) PageBreakMargins ¶ added in v0.17.0
func (v_ *View) PageBreakMargins() foundation.NSEdgeInsets
PageBreakMargins returns the page break margins.
func (*View) PageForPointNearest ¶ added in v0.17.0
func (v_ *View) PageForPointNearest(point corefoundation.CGPoint, nearest bool) *Page
PageForPointNearest wraps the corresponding Objective-C method.
func (*View) PageOverlayViewProvider ¶ added in v0.18.0
PageOverlayViewProvider returns the page overlay view provider.
func (*View) PageShadowsEnabled ¶ added in v0.17.0
PageShadowsEnabled wraps the corresponding Objective-C method.
func (*View) PerformAction ¶ added in v0.17.0
PerformAction performs action.
func (*View) PrintWithInfoAutoRotate ¶ added in v0.17.0
PrintWithInfoAutoRotate wraps the corresponding Objective-C method.
func (*View) PrintWithInfoAutoRotatePageScaling ¶ added in v0.17.0
func (v_ *View) PrintWithInfoAutoRotatePageScaling(printInfo obj.Object, doRotate bool, scale PrintScalingMode)
PrintWithInfoAutoRotatePageScaling wraps the corresponding Objective-C method.
func (*View) RowSizeForPage ¶ added in v0.17.0
func (v_ *View) RowSizeForPage(page *Page) corefoundation.CGSize
RowSizeForPage wraps the corresponding Objective-C method.
func (*View) ScaleFactor ¶ added in v0.17.0
ScaleFactor returns the scale factor.
func (*View) ScaleFactorForSizeToFit ¶ added in v0.17.0
ScaleFactorForSizeToFit returns the scale factor for size to fit.
func (*View) ScrollSelectionToVisible ¶ added in v0.17.0
ScrollSelectionToVisible scrolls selection to visible.
func (*View) SetCurrentSelectionAnimate ¶ added in v0.17.0
SetCurrentSelectionAnimate wraps the corresponding Objective-C method.
func (*View) SetCursorForAreaOfInterest ¶ added in v0.17.0
func (v_ *View) SetCursorForAreaOfInterest(area AreaOfInterest)
SetCursorForAreaOfInterest wraps the corresponding Objective-C method.
func (*View) ShouldAntiAlias ¶ added in v0.17.0
ShouldAntiAlias wraps the corresponding Objective-C method.
func (*View) String ¶ added in v0.17.0
String returns the object's -description text, so a wrapper prints usefully under fmt.
func (*View) TakeBackgroundColorFrom ¶ added in v0.17.0
TakeBackgroundColorFrom wraps the corresponding Objective-C method.
func (*View) TakePasswordFrom ¶ added in v0.17.0
TakePasswordFrom unlocks with the password from the specified sender.
func (*View) VisiblePages ¶ added in v0.18.0
VisiblePages returns the visible pages.
func (*View) WithAcceptsDraggedFiles ¶ added in v0.17.0
WithAcceptsDraggedFiles sets the accepts dragged files.
func (*View) WithAllowsDragging ¶ added in v0.17.0
WithAllowsDragging sets the allows dragging.
func (*View) WithAutoScales ¶ added in v0.17.0
WithAutoScales sets the auto scales.
func (*View) WithBackgroundColor ¶ added in v0.17.0
WithBackgroundColor sets the background color.
func (*View) WithCurrentSelection ¶ added in v0.17.0
WithCurrentSelection sets the current selection.
func (*View) WithDelegate ¶ added in v0.17.0
func (v_ *View) WithDelegate(delegate ViewDelegate) *View
WithDelegate sets returns the view’s delegate.
func (*View) WithDisplayBox ¶ added in v0.17.0
func (v_ *View) WithDisplayBox(displayBox DisplayBox) *View
WithDisplayBox sets the display box.
func (*View) WithDisplayDirection ¶ added in v0.17.0
func (v_ *View) WithDisplayDirection(displayDirection DisplayDirection) *View
WithDisplayDirection sets the display direction.
func (*View) WithDisplayMode ¶ added in v0.17.0
func (v_ *View) WithDisplayMode(displayMode DisplayMode) *View
WithDisplayMode sets the display mode.
func (*View) WithDisplaysAsBook ¶ added in v0.17.0
WithDisplaysAsBook sets the displays as book.
func (*View) WithDisplaysPageBreaks ¶ added in v0.17.0
WithDisplaysPageBreaks sets the displays page breaks.
func (*View) WithDisplaysRTL ¶ added in v0.17.0
WithDisplaysRTL sets the displays rtl.
func (*View) WithDocument ¶ added in v0.17.0
WithDocument sets returns the document associated with a PDFView object.
func (*View) WithEnableDataDetectors ¶ added in v0.17.0
WithEnableDataDetectors sets the enable data detectors.
func (*View) WithGreekingThreshold ¶ added in v0.17.0
WithGreekingThreshold sets the greeking threshold.
func (*View) WithHighlightedSelections ¶ added in v0.17.0
WithHighlightedSelections sets the highlighted selections.
func (*View) WithInMarkupMode ¶ added in v0.17.0
WithInMarkupMode sets the in markup mode.
func (*View) WithInterpolationQuality ¶ added in v0.17.0
func (v_ *View) WithInterpolationQuality(interpolationQuality InterpolationQuality) *View
WithInterpolationQuality sets the interpolation quality.
func (*View) WithMaxScaleFactor ¶ added in v0.17.0
WithMaxScaleFactor sets the max scale factor.
func (*View) WithMinScaleFactor ¶ added in v0.17.0
WithMinScaleFactor sets the min scale factor.
func (*View) WithPageBreakMargins ¶ added in v0.17.0
func (v_ *View) WithPageBreakMargins(pageBreakMargins foundation.NSEdgeInsets) *View
WithPageBreakMargins sets the page break margins.
func (*View) WithPageOverlayViewProvider ¶ added in v0.17.0
WithPageOverlayViewProvider sets the page overlay view provider.
func (*View) WithPageShadowsEnabled ¶ added in v0.17.0
WithPageShadowsEnabled sets the page shadows enabled.
func (*View) WithScaleFactor ¶ added in v0.17.0
WithScaleFactor sets the scale factor.
func (*View) WithShouldAntiAlias ¶ added in v0.17.0
WithShouldAntiAlias sets the should anti alias.
type ViewDelegate ¶ added in v0.17.0
type ViewDelegate interface {
}
ViewDelegate receives the callbacks of the Objective-C protocol PDFViewDelegate. Pass an implementation to the matching With… setter; the wrapper builds the Objective-C delegate object for you. Every method listed here is required. The protocol's optional methods are separate one-method interfaces (ViewDelegate…Handler): implement the ones you need on the same value and the framework will call them too.
type ViewDelegatePDFViewOpenPDFForRemoteGoToActionHandler ¶ added in v0.17.0
type ViewDelegatePDFViewOpenPDFForRemoteGoToActionHandler interface {
PDFViewOpenPDFForRemoteGoToAction(sender *View, action *ActionRemoteGoTo)
}
ViewDelegatePDFViewOpenPDFForRemoteGoToActionHandler is the optional PDFViewDelegate method PDFViewOpenPDF:forRemoteGoToAction:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewPerformFindHandler ¶ added in v0.17.0
type ViewDelegatePDFViewPerformFindHandler interface {
PDFViewPerformFind(sender *View)
}
ViewDelegatePDFViewPerformFindHandler is the optional PDFViewDelegate method PDFViewPerformFind:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewPerformGoToPageHandler ¶ added in v0.17.0
type ViewDelegatePDFViewPerformGoToPageHandler interface {
PDFViewPerformGoToPage(sender *View)
}
ViewDelegatePDFViewPerformGoToPageHandler is the optional PDFViewDelegate method PDFViewPerformGoToPage:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewPerformPrintHandler ¶ added in v0.17.0
type ViewDelegatePDFViewPerformPrintHandler interface {
PDFViewPerformPrint(sender *View)
}
ViewDelegatePDFViewPerformPrintHandler is the optional PDFViewDelegate method PDFViewPerformPrint:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewPrintJobTitleHandler ¶ added in v0.17.0
type ViewDelegatePDFViewPrintJobTitleHandler interface {
PDFViewPrintJobTitle(sender *View) string
}
ViewDelegatePDFViewPrintJobTitleHandler is the optional PDFViewDelegate method PDFViewPrintJobTitle:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewWillChangeScaleFactorToScaleHandler ¶ added in v0.17.0
type ViewDelegatePDFViewWillChangeScaleFactorToScaleHandler interface {
PDFViewWillChangeScaleFactorToScale(sender *View, scaler float64) float64
}
ViewDelegatePDFViewWillChangeScaleFactorToScaleHandler is the optional PDFViewDelegate method PDFViewWillChangeScaleFactor:toScale:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type ViewDelegatePDFViewWillClickOnLinkWithURLHandler ¶ added in v0.17.0
type ViewDelegatePDFViewWillClickOnLinkWithURLHandler interface {
PDFViewWillClickOnLinkWithURL(sender *View, url string)
}
ViewDelegatePDFViewWillClickOnLinkWithURLHandler is the optional PDFViewDelegate method PDFViewWillClickOnLink:withURL:. Implement it on a ViewDelegate value to receive that callback; a value without it is simply never sent one.
type VirtualMemoryGuardExceptionCode ¶ added in v0.17.0
type VirtualMemoryGuardExceptionCode uint32
const ( KGUARD_EXC_DEALLOC_GAP VirtualMemoryGuardExceptionCode = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE VirtualMemoryGuardExceptionCode = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE VirtualMemoryGuardExceptionCode = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE VirtualMemoryGuardExceptionCode = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE VirtualMemoryGuardExceptionCode = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE VirtualMemoryGuardExceptionCode = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE VirtualMemoryGuardExceptionCode = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION VirtualMemoryGuardExceptionCode = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY VirtualMemoryGuardExceptionCode = 13 KGUARD_EXC_SEC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT VirtualMemoryGuardExceptionCode = 99 KGUARD_EXC_SEC_COPY_DENIED VirtualMemoryGuardExceptionCode = 100 KGUARD_EXC_SEC_SHARING_DENIED VirtualMemoryGuardExceptionCode = 101 KGUARD_EXC_MTE_SYNC_FAULT VirtualMemoryGuardExceptionCode = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT VirtualMemoryGuardExceptionCode = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT VirtualMemoryGuardExceptionCode = 204 )
func (VirtualMemoryGuardExceptionCode) String ¶ added in v0.17.0
func (e VirtualMemoryGuardExceptionCode) String() string
String returns the VirtualMemoryGuardExceptionCode constant's name, or its numeric form when the value is not a known constant.
type WidgetCellState ¶ added in v0.17.0
type WidgetCellState int64
The state of a button annotation, either on, off, or mixed.
const ( // The button widget is in a mixed state, neither on nor off. KPDFWidgetMixedState WidgetCellState = -1 // The button widget is in an unselected state. KPDFWidgetOffState WidgetCellState = 0 // The button widget is in a selected state. KPDFWidgetOnState WidgetCellState = 1 )
func (WidgetCellState) String ¶ added in v0.17.0
func (e WidgetCellState) String() string
String returns the WidgetCellState constant's name, or its numeric form when the value is not a known constant.
type WidgetControlType ¶ added in v0.17.0
type WidgetControlType int64
The types of annotation buttons.
const ( // Unknown control type. KPDFWidgetUnknownControl WidgetControlType = -1 // Push button control. KPDFWidgetPushButtonControl WidgetControlType = 0 // Radio button control. KPDFWidgetRadioButtonControl WidgetControlType = 1 // Check box control. KPDFWidgetCheckBoxControl WidgetControlType = 2 )
func (WidgetControlType) String ¶ added in v0.17.0
func (e WidgetControlType) String() string
String returns the WidgetControlType constant's name, or its numeric form when the value is not a known constant.
type XpcListenerCreateFlags ¶ added in v0.17.0
type XpcListenerCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcListenerCreateFlagsNone XpcListenerCreateFlags = 0 XpcListenerCreateFlagsInactive XpcListenerCreateFlags = 1 XpcListenerCreateFlagsForceMach XpcListenerCreateFlags = 2 XpcListenerCreateFlagsForceXpcservice XpcListenerCreateFlags = 4 )
func (XpcListenerCreateFlags) String ¶ added in v0.17.0
func (e XpcListenerCreateFlags) String() string
String returns the XpcListenerCreateFlags constant's name, or its numeric form when the value is not a known constant.
type XpcSessionCreateFlags ¶ added in v0.17.0
type XpcSessionCreateFlags uint64
Bitmask — values may be combined with |.
const ( XpcSessionCreateFlagsNone XpcSessionCreateFlags = 0 XpcSessionCreateFlagsInactive XpcSessionCreateFlags = 1 XpcSessionCreateFlagsMachPrivileged XpcSessionCreateFlags = 2 )
func (XpcSessionCreateFlags) String ¶ added in v0.17.0
func (e XpcSessionCreateFlags) String() string
String returns the XpcSessionCreateFlags constant's name, or its numeric form when the value is not a known constant.
Source Files
¶
- PDFActionGoTo_generated.go
- PDFActionNamed_generated.go
- PDFActionRemoteGoTo_generated.go
- PDFActionResetForm_generated.go
- PDFActionURL_generated.go
- PDFAction_generated.go
- PDFAnnotationButtonWidget_generated.go
- PDFAnnotationChoiceWidget_generated.go
- PDFAnnotationCircle_generated.go
- PDFAnnotationFreeText_generated.go
- PDFAnnotationInk_generated.go
- PDFAnnotationLine_generated.go
- PDFAnnotationLink_generated.go
- PDFAnnotationMarkup_generated.go
- PDFAnnotationPopup_generated.go
- PDFAnnotationSquare_generated.go
- PDFAnnotationStamp_generated.go
- PDFAnnotationTextWidget_generated.go
- PDFAnnotationText_generated.go
- PDFAnnotation_generated.go
- PDFAppearanceCharacteristics_generated.go
- PDFBorder_generated.go
- PDFDestination_generated.go
- PDFDocumentDelegate_delegate_generated.go
- PDFDocument_generated.go
- PDFOutline_generated.go
- PDFPage_generated.go
- PDFSelection_generated.go
- PDFThumbnailView_generated.go
- PDFViewDelegate_delegate_generated.go
- PDFView_generated.go
- doc.go
- pdfkit_classmethods_generated.go
- pdfkit_constants_generated.go
- pdfkit_enums_generated.go
- pdfkit_protocols_generated.go
- pdfkit_providers_generated.go
- pdfkit_runtime_generated.go