Aspose::Pdf::Forms::ListBoxField Class Referencefinal

Class represents ListBox field. More...

#include "ListBoxField.h"

Inherits Aspose::Pdf::Forms::ChoiceField.

Public Member Functions

ASPOSE_PDF_SHARED_API int32_t get_TopIndex ()
 Gets index of the top visible element of the list. More...
 
ASPOSE_PDF_SHARED_API void set_TopIndex (int32_t value)
 Sets index of the top visible element of the list. More...
 
ASPOSE_PDF_SHARED_API void set_Selected (int32_t value) override
 Sets index of the selected item. Items are numbered from 1. More...
 
ASPOSE_PDF_SHARED_API void set_SelectedItems (System::ArrayPtr< int32_t > value) override
 Sets array of the selected items in the multiselect list. For single-select list returns array with single item. More...
 
ASPOSE_PDF_SHARED_API ListBoxField ()
 Constructor for ListBoxField to be used in Generator. More...
 
ASPOSE_PDF_SHARED_API ListBoxField (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 Creates new ListBox field. More...
 
ASPOSE_PDF_SHARED_API ListBoxField (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 Constructor for ListBox field. More...
 
- Public Member Functions inherited from Aspose::Pdf::Forms::ChoiceField
ASPOSE_PDF_SHARED_API bool get_CommitImmediately ()
 Gets commit on selection change flag. More...
 
ASPOSE_PDF_SHARED_API void set_CommitImmediately (bool value)
 Sets commit on selection change flag. More...
 
ASPOSE_PDF_SHARED_API bool get_MultiSelect ()
 Gets multiselection flag. More...
 
ASPOSE_PDF_SHARED_API void set_MultiSelect (bool value)
 Sets multiselection flag. More...
 
virtual ASPOSE_PDF_SHARED_API int32_t get_Selected ()
 Gets index of selected option. This property allows to change selection. More...
 
virtual ASPOSE_PDF_SHARED_API System::ArrayPtr< int32_t > get_SelectedItems ()
 Gets array of selected items. For multiselect list array contains more then one item. For single selection list it contains single item. More...
 
virtual ASPOSE_PDF_SHARED_API System::SharedPtr< OptionCollectionget_Options ()
 Gets collection of choice options. More...
 
ASPOSE_PDF_SHARED_API System::String get_Value () override
 Gets value of the field. More...
 
ASPOSE_PDF_SHARED_API void set_Value (System::String value) override
 Sets value of the field. More...
 
ASPOSE_PDF_SHARED_API ChoiceField (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 Constructor for ChoiceField. More...
 
ASPOSE_PDF_SHARED_API ChoiceField (System::SharedPtr< Document > doc)
 Creates choice field (for Generator) More...
 
ASPOSE_PDF_SHARED_API ChoiceField (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 Constructor for ChoiceField. More...
 
virtual ASPOSE_PDF_SHARED_API void AddOption (System::String optionName)
 Adds new option with specified name. More...
 
virtual ASPOSE_PDF_SHARED_API void AddOption (System::String export_, System::String name)
 Adds new option with specified export value and name. More...
 
virtual ASPOSE_PDF_SHARED_API void DeleteOption (System::String optionName)
 Deletes option by its name. More...
 
- Public Member Functions inherited from Aspose::Pdf::Forms::Field
ASPOSE_PDF_SHARED_API System::String get_PartialName ()
 Gets partial name of the field. More...
 
ASPOSE_PDF_SHARED_API void set_PartialName (System::String value)
 Sets partial name of the field. More...
 
ASPOSE_PDF_SHARED_API System::String get_AlternateName ()
 Gets alternate name of the field (An alternate field name that shall be used in place of the actual field name wherever the field shall be identified in the user interface). Alternate name is used as field tooltip in Adobe Acrobat. More...
 
ASPOSE_PDF_SHARED_API void set_AlternateName (System::String value)
 Sets alternate name of the field (An alternate field name that shall be used in place of the actual field name wherever the field shall be identified in the user interface). Alternate name is used as field tooltip in Adobe Acrobat. More...
 
ASPOSE_PDF_SHARED_API System::String get_MappingName ()
 Gets mapping name of the field that shall be used when exporting interactive form field data from the document. More...
 
ASPOSE_PDF_SHARED_API void set_MappingName (System::String value)
 Sets mapping name of the field that shall be used when exporting interactive form field data from the document. More...
 
ASPOSE_PDF_SHARED_API bool get_IsSynchronized ()
 Returns true if dictionary is synchronized. More...
 
ASPOSE_PDF_SHARED_API int32_t get_Count () const override
 Gets number of subfields in this field. (For example number of items in radio button field). More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Objectget_SyncRoot () const
 Synchronization object. More...
 
ASPOSE_PDF_SHARED_API bool get_IsGroup () const
 Gets boolean value which indicates is this field non-terminal field i.e. group of fields. More...
 
ASPOSE_PDF_SHARED_API int32_t get_AnnotationIndex ()
 Gets index of this anotation on the page. More...
 
ASPOSE_PDF_SHARED_API void set_AnnotationIndex (int32_t value)
 Sets index of this anotation on the page. More...
 
ASPOSE_PDF_SHARED_API int32_t get_PageIndex () override
 Gets index of page which contains this field. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Rectangleget_Rect () override
 Gets the field rectangle. More...
 
ASPOSE_PDF_SHARED_API void set_Rect (System::SharedPtr< Rectangle > value) override
 Sets the field rectangle. More...
 
ASPOSE_PDF_SHARED_API bool get_IsSharedField () const
 Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. More...
 
ASPOSE_PDF_SHARED_API void set_IsSharedField (bool value)
 Property for Generator support. Used when field is added to header or footer. If true, this field will created once and it's appearance will be visible on all pages of the document. If false, separated field will be created for every document page. More...
 
ASPOSE_PDF_SHARED_API int32_t get_TabOrder ()
 Gets tab order of the field. More...
 
ASPOSE_PDF_SHARED_API void set_TabOrder (int32_t value)
 Sets tab order of the field. More...
 
ASPOSE_PDF_SHARED_API bool Recalculate ()
 Recaculates all calculated fields on the form. More...
 
ASPOSE_PDF_SHARED_API void CopyTo (System::ArrayPtr< System::SharedPtr< Field >> array, int32_t index)
 Copies subfields of this field into array starting from specified index. More...
 
ASPOSE_PDF_SHARED_API void CopyToWidgetArray (System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >> array, int32_t index)
 Copies subfields of this field into array starting from specified index. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > GetEnumerator () override
 Returns enumerator of contained fields. More...
 
ASPOSE_PDF_SHARED_API Field (System::SharedPtr< Document > doc)
 Creates field for use in Generator. More...
 
ASPOSE_PDF_SHARED_API void Flatten () override
 Removes this field and place its value directly on the page. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationidx_get (System::String name)
 Gets subfield contained in this field by name of the subfield. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationidx_get (int32_t index)
 Gets subfield contained in this field by index. More...
 
virtual ASPOSE_PDF_SHARED_API void SetPosition (System::SharedPtr< Point > point)
 Set position of the field. More...
 
ASPOSE_PDF_SHARED_API void SetTemplateWeakPtr (uint32_t argument) override
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
- Public Member Functions inherited from Aspose::Pdf::Annotations::WidgetAnnotation
ASPOSE_PDF_SHARED_API System::SharedPtr< PdfActionget_OnActivated ()
 An action which shall be performed when the annotation is activated. More...
 
ASPOSE_PDF_SHARED_API void set_OnActivated (System::SharedPtr< PdfAction > value)
 An action which shall be performed when the annotation is activated. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< AnnotationActionCollectionget_Actions () const
 Gets the annotation actions. More...
 
ASPOSE_PDF_SHARED_API HighlightingMode get_Highlighting ()
 Annotation highlighting mode. More...
 
ASPOSE_PDF_SHARED_API void set_Highlighting (HighlightingMode value)
 Annotation highlighting mode. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Forms::Fieldget_Parent ()
 Gets annotation parent. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Annotations::DefaultAppearanceget_DefaultAppearance ()
 Gets default appearance of the field. More...
 
ASPOSE_PDF_SHARED_API void set_DefaultAppearance (System::SharedPtr< Aspose::Pdf::Annotations::DefaultAppearance > value)
 Sets default appearance of the field. More...
 
ASPOSE_PDF_SHARED_API bool get_ReadOnly ()
 Gets read only status of the field. More...
 
ASPOSE_PDF_SHARED_API void set_ReadOnly (bool value)
 Sets read only status of the field. More...
 
ASPOSE_PDF_SHARED_API bool get_Required ()
 Gets required status of the field. More...
 
ASPOSE_PDF_SHARED_API void set_Required (bool value)
 Sets required status of the field. More...
 
ASPOSE_PDF_SHARED_API bool get_Exportable ()
 Gets exportable flag of the field. More...
 
ASPOSE_PDF_SHARED_API void set_Exportable (bool value)
 Sets exportable flag of the field. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::Annotations::AnnotationType get_AnnotationType () override
 Gets type of annotation. More...
 
ASPOSE_PDF_SHARED_API void Accept (System::SharedPtr< AnnotationSelector > visitor) override
 Accepts visitor. More...
 
ASPOSE_PDF_SHARED_API WidgetAnnotation (System::SharedPtr< Document > doc)
 Create annotation (used for Generator) More...
 
ASPOSE_PDF_SHARED_API System::String GetCheckedStateName ()
 Returns name of "checked" state according to existing state names. More...
 
- Public Member Functions inherited from Aspose::Pdf::Annotations::Annotation
ASPOSE_PDF_SHARED_API AnnotationFlags get_Flags ()
 Flags of the annotation. More...
 
ASPOSE_PDF_SHARED_API void set_Flags (AnnotationFlags value)
 Flags of the annotation. More...
 
virtual ASPOSE_PDF_SHARED_API double get_Width ()
 Gets width of the annotation. More...
 
virtual ASPOSE_PDF_SHARED_API void set_Width (double value)
 Sets width of the annotation. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< PdfActionCollectionget_Actions ()
 Gets list of annotatation actions. More...
 
virtual ASPOSE_PDF_SHARED_API double get_Height ()
 Gets height of the annotation. More...
 
virtual ASPOSE_PDF_SHARED_API void set_Height (double value)
 Sets height of the annotation. More...
 
ASPOSE_PDF_SHARED_API System::String get_Contents ()
 Gets annotation text. More...
 
ASPOSE_PDF_SHARED_API void set_Contents (System::String value)
 Sets annotation text. More...
 
ASPOSE_PDF_SHARED_API System::String get_Name ()
 Gets annotation name on the page. More...
 
ASPOSE_PDF_SHARED_API void set_Name (System::String value)
 Sets annotation name on the page. More...
 
ASPOSE_PDF_SHARED_API System::DateTime get_Modified ()
 Gets date and time when annotation was recently modified. More...
 
ASPOSE_PDF_SHARED_API void set_Modified (System::DateTime value)
 Sets date and time when annotation was recently modified. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Colorget_Color ()
 Gets annotation color. More...
 
ASPOSE_PDF_SHARED_API void set_Color (System::SharedPtr< Aspose::Pdf::Color > value)
 Sets annotation color. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Annotations::Borderget_Border () const
 Gets annotation border characteristics. Border More...
 
ASPOSE_PDF_SHARED_API void set_Border (System::SharedPtr< Aspose::Pdf::Annotations::Border > value)
 Sets annotation border characteristics. Border More...
 
virtual ASPOSE_PDF_SHARED_API System::String get_ActiveState ()
 Gets current annotation appearance state. More...
 
virtual ASPOSE_PDF_SHARED_API void set_ActiveState (System::String value)
 Sets current annotation appearance state. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Annotations::Characteristicsget_Characteristics ()
 Gets annotation characteristics. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< AppearanceDictionaryget_States ()
 Gets appearance dictionary of annotation. More...
 
ASPOSE_PDF_SHARED_API TextAlignment get_Alignment ()
 Annotation alignment. This property is obsolete. Use HorizontalAligment instead. More...
 
ASPOSE_PDF_SHARED_API void set_Alignment (TextAlignment value)
 Annotation alignment. This property is obsolete. Use HorizontalAligment instead. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::HorizontalAlignment get_HorizontalAlignment () override
 Gets text alignment for annotation. More...
 
ASPOSE_PDF_SHARED_API void set_HorizontalAlignment (Aspose::Pdf::HorizontalAlignment value) override
 Sets text alignment for annotation. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::HorizontalAlignment get_TextHorizontalAlignment ()
 Gets text alignment for annotation. More...
 
ASPOSE_PDF_SHARED_API void set_TextHorizontalAlignment (Aspose::Pdf::HorizontalAlignment value)
 Sets text alignment for annotation. More...
 
ASPOSE_PDF_SHARED_API System::String get_FullName ()
 Gets full qualified name of the annotation. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< AppearanceDictionaryget_Appearance ()
 Gets appearance dictionary of the annotation. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< RectangleGetRectangle (bool considerRotation)
 Returns rectangle of annotation taking into consideration page rotation. More...
 
virtual ASPOSE_PDF_SHARED_API void ChangeAfterResize (System::SharedPtr< Matrix > transform)
 Update parameters and appearance, according to the matrix transform. More...
 
- Public Member Functions inherited from Aspose::Pdf::BaseParagraph
virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::VerticalAlignment get_VerticalAlignment ()
 Gets a vertical alignment of paragraph More...
 
virtual ASPOSE_PDF_SHARED_API void set_VerticalAlignment (Aspose::Pdf::VerticalAlignment value)
 Sets a vertical alignment of paragraph More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< MarginInfoget_Margin ()
 Gets a outer margin for paragraph (for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_Margin (System::SharedPtr< MarginInfo > value)
 Sets a outer margin for paragraph (for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsFirstParagraphInColumn () const
 Gets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsFirstParagraphInColumn (bool value)
 Sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsKeptWithNext () const
 Gets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsKeptWithNext (bool value)
 Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsInNewPage () const
 Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsInNewPage (bool value)
 Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsInLineParagraph () const
 Gets a paragraph is inline. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsInLineParagraph (bool value)
 Sets a paragraph is inline. Default is false.(for pdf generation) More...
 
virtual ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Hyperlinkget_Hyperlink ()
 Gets the fragment hyperlink(for pdf generator). More...
 
virtual ASPOSE_PDF_SHARED_API void set_Hyperlink (System::SharedPtr< Aspose::Pdf::Hyperlink > value)
 Sets the fragment hyperlink(for pdf generator). More...
 
ASPOSE_PDF_SHARED_API int32_t get_ZIndex () const
 Gets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. More...
 
ASPOSE_PDF_SHARED_API void set_ZIndex (int32_t value)
 Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::ObjectClone () override
 Clones this instance. Virtual method. Always return null. More...
 
ASPOSE_PDF_SHARED_API BaseParagraph ()
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 
- Public Member Functions inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
virtual void CopyTo (System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > array, int arrayIndex)=0
 Copies all collection elements to existing array elements. More...
 
ICollectionoperator= (ICollection &&) noexcept
 Move assignment operator. More...
 
ICollectionoperator= (const ICollection &)
 Move assignment operator. More...
 
 ICollection ()
 Default constructor. More...
 
 ICollection (const ICollection &)
 Copy constructor. More...
 
 ICollection (ICollection &&) noexcept
 Move constructor. More...
 
virtual ~ICollection ()
 Destructor. More...
 
SharedPtr< Objectget_SyncRoot () const
 Gets the object the collection is being synchronized through. More...
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_ElementAt (int index)
 Returns the element at a specified index in a sequence. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_First ()
 Returns the first element of a sequence. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_First (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, bool > &predicate)
 Returns the first element of a sequence that satisfy the specified condition. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_FirstOrDefault ()
 Returns the first element of a sequence, or a default value if the sequence is empty. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_FirstOrDefault (std::function< bool(System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >)> predicate)
 Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_Last ()
 Returns the last element of a sequence. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationLINQ_LastOrDefault ()
 Returns the last element of a sequence, or a default value if the sequence is empty. More...
 
SharedPtr< List< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > LINQ_ToList ()
 Creates a List<T> from a sequence. More...
 
int LINQ_Count ()
 Returns the number of elements in the sequence (calculated via direct counting). More...
 
int LINQ_Count (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, bool > &predicate)
 Returns the number of elements in the sequence that satisfy the specified condition. More...
 
System::ArrayPtr< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > LINQ_ToArray ()
 Creates an array from a sequence. More...
 
bool LINQ_All (std::function< bool(System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >)> predicate)
 Determines whether all elements of a sequence satisfy a condition. More...
 
bool LINQ_Any ()
 Determines whether a sequence contains any elements. More...
 
bool LINQ_Any (std::function< bool(System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >)> predicate)
 Determines whether any element of a sequence exists or satisfies a condition. More...
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > LINQ_Where (std::function< bool(System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >)> predicate)
 Filters a sequence based on the specified predicate. More...
 
bool LINQ_Contains (System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > value)
 Determines if a sequence contains a specified value. More...
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 Casts the elements to the specified type. More...
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > LINQ_OrderBy (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, Key > &keySelector)
 Sorts the elements of a sequence in ascending order according to the key values selected by keySelector. More...
 
SharedPtr< IEnumerable< Source > > LINQ_OrderBy (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > LINQ_OrderByDescending (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, Key > &keySelector)
 Sorts the elements of a sequence in descending order according to the key values selected by keySelector. More...
 
SharedPtr< IEnumerable< Source > > LINQ_OrderByDescending (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 Filters the elements of the sequence based on the specified type. More...
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, ResultType > &selector)
 Transforms elements of a sequence. More...
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, int32_t, ResultType > &selector)
 Transforms each element of a sequence into a new form by incorporating the element's index. More...
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, int32_t, Result > &selector)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > LINQ_Concat (SharedPtr< IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >> sequence)
 Concatenates two sequences. More...
 
System::SharedPtr< IEnumerable< System::SharedPtr< System::Linq::IGrouping< Key, System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > > > > LINQ_GroupBy (System::Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, Key > keyPredicate)
 Groups the elements of a sequence. More...
 
SharedPtr< IEnumerable< SharedPtr< System::Linq::IGrouping< Key, Source > > > > LINQ_GroupBy (System::Func< Source, Key > keyPredicate)
 
SharedPtr< IEnumerable< ResultType > > LINQ_SelectMany (const Func< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >, SharedPtr< IEnumerable< ResultType >>> &selector)
 Projects each element of a sequence and combines the resulting sequences into one sequence. More...
 
SharedPtr< IEnumerable< Result > > LINQ_SelectMany (const Func< Source, SharedPtr< IEnumerable< Result >>> &selector)
 
iterator begin ()
 Gets iterator pointing to the first element (if any) of the collection. This iterator can't be used to change a referenced object because GetEnumerator() returns a copy-object of T. More...
 
const_iterator begin () const
 Gets iterator pointing to the first element (if any) of the const-qualified instance of the collection. More...
 
iterator end ()
 Gets iterator pointing right after the last element (if any) of the collection. This iterator can't be used to change a referenced object because GetEnumerator() returns a copy-object of T. More...
 
const_iterator end () const
 Gets iterator pointing right after the last element (if any) of the const-qualified instance of the collection. More...
 
const_iterator cbegin () const
 Gets iterator pointing to the first const-qualified element (if any) of the collection. More...
 
const_iterator cend () const
 Gets iterator pointing right after the last const-qualified element (if any) of the collection. More...
 
virtual virtualized_iteratorvirtualizeBeginIterator ()
 Gets the implementation of begin iterator for the current container. More...
 
virtual virtualized_iteratorvirtualizeEndIterator ()
 Gets the implementation of end iterator for the current container. More...
 
virtual virtualized_iteratorvirtualizeBeginConstIterator () const
 Gets the implementation of begin const iterator for the current container. More...
 
virtual virtualized_iteratorvirtualizeEndConstIterator () const
 Gets the implementation of end const iterator for the current container. More...
 

Protected Member Functions

 ListBoxField (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document)
 Constructor for ListBoxField class. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (ListBoxField, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document))
 
ASPOSE_PDF_SHARED_API void Initialize (System::SharedPtr< Aspose::Pdf::Engine::Data::ITrailerable > trailer) override
 Initialize the field. More...
 
ASPOSE_PDF_SHARED_API void UpdateAppearance (System::SharedPtr< Aspose::Pdf::Annotations::Annotation > annotation) override
 Updated appearance dictionary of the field. More...
 
ASPOSE_PDF_SHARED_API bool AppearanceSupported () override
 This method must be overriden to return true in classes where apperance generation is supported. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > CreateAppearanceProgram (System::SharedPtr< Aspose::Pdf::Annotations::Annotation::AppearanceParameters > parameters, System::SharedPtr< Aspose::Pdf::Annotations::Annotation > annotation) override
 Returns sequence of operators which are appearance of ListBox. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< FieldCreateCopy () override
 This method is required for Generator support. This method creates copy of field "template" when generator uses Footer/Header functionality. More...
 
virtual ASPOSE_PDF_SHARED_API ~ListBoxField ()
 
- Protected Member Functions inherited from Aspose::Pdf::Forms::ChoiceField
void SetOptions (System::SharedPtr< System::Collections::Generic::List< System::String >> options)
 Replaces the available options with those whose names are given in the options parameter. More...
 
 ChoiceField (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document)
 
 ChoiceField ()
 
virtual ASPOSE_PDF_SHARED_API ~ChoiceField ()
 
- Protected Member Functions inherited from Aspose::Pdf::Forms::Field
System::SharedPtr< System::Xml::XmlNamespaceManagerget_NamespaceManager ()
 
virtual ASPOSE_PDF_SHARED_API bool IsEqualTo (System::String value)
 Operator for comparision field value with given value. More...
 
virtual ASPOSE_PDF_SHARED_API System::String GetConformXFAValue (System::String value)
 Returns value correctly encoded for placing into XFA dataset. More...
 
bool IsCalculated ()
 
void RemoveFromKids (System::SharedPtr< Aspose::Pdf::Annotations::Annotation > fieldInKids)
 
 Field (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Field, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document))
 
ASPOSE_PDF_SHARED_API void Initialize (System::SharedPtr< Aspose::Pdf::Engine::Data::ITrailerable > trailer, System::SharedPtr< Rectangle > rect) override
 Initialize the annotation. More...
 
 Field ()
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Field, CODEPORTING_ARGS())
 
 Field (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Field, CODEPORTING_ARGS(System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect))
 
 Field (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect, bool addToForm=false)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (Field, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect, bool addToForm=false))
 
void RemoveEmptyParents ()
 Cleans field structure when all fields are removed. See PDFNEWNET-37756. More...
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationfindField (System::String name)
 
void addField (System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > field)
 
System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationremove (System::String name)
 
void setValue (System::String value)
 Set value of the field. More...
 
ASPOSE_PDF_SHARED_API void UpdateAppearances () override
 
System::String GetFieldReferencePath ()
 
System::SharedPtr< System::Xml::XmlNodeGetFieldTemplate ()
 
void SetFieldImage (System::SharedPtr< System::IO::Stream > image)
 
System::ArrayPtr< uint8_t > GetFieldImage ()
 
void AddNext (System::SharedPtr< Field > field)
 
void ConvertToFieldWithKids ()
 
System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > CreateKidAnnotation (System::SharedPtr< Rectangle > rect)
 
void EmbedAnnotation ()
 
System::String GetCharacteristicsString (System::String entry)
 
void SetCharacteristicsString (System::String entry, System::String value)
 
virtual ASPOSE_PDF_SHARED_API ~Field ()
 
- Protected Member Functions inherited from Aspose::Pdf::Annotations::WidgetAnnotation
ASPOSE_PDF_SHARED_API void set_Parent (System::SharedPtr< Aspose::Pdf::Forms::Field > value)
 Gets annotation parent. More...
 
bool get_IsCertified ()
 Gets certified status of the field. More...
 
 WidgetAnnotation (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > engineAnnot, System::SharedPtr< Document > document)
 Ititializes Widget annotation with engine annotation object. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (WidgetAnnotation, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > engineAnnot, System::SharedPtr< Document > document))
 
 WidgetAnnotation (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 Creates new Widget annotation on the specified page. More...
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (WidgetAnnotation, CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect))
 
 WidgetAnnotation (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (WidgetAnnotation, CODEPORTING_ARGS(System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect))
 
 WidgetAnnotation ()
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (WidgetAnnotation, CODEPORTING_ARGS())
 
void setFieldFlag (int32_t bit, bool set)
 
ASPOSE_PDF_SHARED_API System::SharedPtr< XFormPrepareAppearance (System::String key, System::SharedPtr< Annotation > annotation) override
 Creates normal appearance for annotation and fills matrix and rectangle for appearance. More...
 
ASPOSE_PDF_SHARED_API void ClearAppearance (System::SharedPtr< OperatorCollection > appearance) override
 Remove operators of old appearance. This may be overriden to remove only required part of appearance (e.g. TextBoxField) More...
 
ASPOSE_PDF_SHARED_API System::Drawing::Color GetBackgroundColor () override
 
virtual ASPOSE_PDF_SHARED_API ~WidgetAnnotation ()
 
- Protected Member Functions inherited from Aspose::Pdf::Annotations::Annotation
System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > get_EngineObj () const
 
System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfDictionary > get_EngineDict ()
 
int32_t get_StructParent ()
 
void set_StructParent (int32_t value)
 
ASPOSE_PDF_SHARED_API System::SharedPtr< XFormget_NormalAppearance ()
 Gets normal appearance. More...
 
bool get_FlatteningState () const
 
void set_FlatteningState (bool value)
 
System::SharedPtr< Aspose::Pdf::Pageget_Page ()
 Gets the page object with which this annotation is associated. More...
 
void set_Page (System::SharedPtr< Aspose::Pdf::Page > value)
 Gets the page object with which this annotation is associated. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Rectangleget_RotatedRect ()
 Gets rotated rectangle. More...
 
virtual ASPOSE_PDF_SHARED_API System::SharedPtr< Rectangleget_InnerRect ()
 Returns internal rectnagle of annotation, i.e. rectangle recalculated according to RD entry of annotation More...
 
double get_TemplateWidth () const
 Property for generator support. This property gets field width originally set by user (width of the "template"). More...
 
double get_TemplateHeight () const
 Property for generator support. This property gets field height originally set by user (height of the "template"). More...
 
virtual ASPOSE_PDF_SHARED_API void DeleteAllChildElements ()
 
void Initialize (System::SharedPtr< Document > doc)
 
void assertAppearance ()
 
virtual ASPOSE_PDF_SHARED_API void AfterImport ()
 Method which must be called after annotation import. More...
 
virtual ASPOSE_PDF_SHARED_API System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > CreateFrame (System::SharedPtr< Annotation::AppearanceParameters > parametes, System::SharedPtr< Annotation > annotation)
 Create frame. More...
 
void AssertNormalAppearance ()
 Fixes the case with invalid (empty) AP stream (PDFNET-54007). More...
 
virtual ASPOSE_PDF_SHARED_API void WriteXfdf (System::SharedPtr< System::Xml::XmlWriter > writer)
 
virtual ASPOSE_PDF_SHARED_API void WriteXfdfAttributes (System::SharedPtr< System::Xml::XmlWriter > writer)
 When overridden in a derived class, exports annotation attributes into XFDF. More...
 
virtual ASPOSE_PDF_SHARED_API void WriteXfdfElements (System::SharedPtr< System::Xml::XmlWriter > writer)
 When overridden in a derived class, exports annotation elements into XFDF. More...
 
virtual ASPOSE_PDF_SHARED_API void ReadXfdf (System::SharedPtr< System::Xml::XmlReader > reader)
 
virtual ASPOSE_PDF_SHARED_API void ReadXfdfAttributes (System::SharedPtr< System::Xml::XmlReader > reader)
 When overridden in a derived class, import annotation attributes from XFDF. More...
 
virtual ASPOSE_PDF_SHARED_API void ReadXfdfElements (System::SharedPtr< System::Collections::Generic::Dictionary< System::String, System::String >> table)
 When overridden in a derived class, import annotation elements from XFDF. More...
 
 Annotation (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document)
 
 Annotation (System::SharedPtr< Document > document)
 Constructor to use in Generator. More...
 
 Annotation ()
 
ASPOSE_PDF_SHARED_API void Initialize (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 Initialize the annotation. More...
 
virtual ASPOSE_PDF_SHARED_API void AttachToPage (System::SharedPtr< Aspose::Pdf::Page > page)
 
ASPOSE_PDF_SHARED_API void Initialize (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 Create annotation data structure. More...
 
ASPOSE_PDF_SHARED_API Annotation (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 Constructor. More...
 
ASPOSE_PDF_SHARED_API Annotation (System::SharedPtr< Document > doc, System::SharedPtr< Rectangle > rect)
 Constructor for Annotation. More...
 
virtual ASPOSE_PDF_SHARED_API void GeneratorUpdateRectangle (System::SharedPtr< Aspose::Pdf::Page > page, System::SharedPtr< Rectangle > rect)
 This method should be called if annotation requires some additional actions when generator updates its rectangle. More...
 
void Initialize (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotEngineObj)
 Initializes this object with internal engine annotation object. More...
 
virtual ASPOSE_PDF_SHARED_API void InternalFlatten (System::SharedPtr< Resources > resources, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators)
 
virtual ASPOSE_PDF_SHARED_API System::String InternalFlatten2 (System::SharedPtr< Resources > resources)
 
virtual ASPOSE_PDF_SHARED_API System::String InternalFlatten3 (System::SharedPtr< Resources > resources)
 
virtual ASPOSE_PDF_SHARED_API bool IsBackground ()
 true if the annotation must be background. More...
 
System::SharedPtr< AppearanceDictionaryGetOrGenerateAppearance ()
 
int32_t GetPageIndex (System::SharedPtr< Annotation > annotation)
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::IO::StreamToImage (System::SharedPtr< System::Drawing::Imaging::ImageFormat > format)
 Converts annotation to image stream. More...
 
virtual ASPOSE_PDF_SHARED_API ~Annotation ()
 
- Protected Member Functions inherited from Aspose::Pdf::BaseParagraph
System::String get_Id () const
 Gets a paragraph id. More...
 
void set_Id (System::String value)
 Sets a paragraph id. More...
 
const System::SharedPtr< Annotations::LinkAnnotation > & get_ReferencedFrom () const
 Gets the fragment hyperlink(for pdf generator internal use). More...
 
void set_ReferencedFrom (System::SharedPtr< Annotations::LinkAnnotation > value)
 Sets the fragment hyperlink(for pdf generator internal use). More...
 
void ChangePosition (double &curX, double &curY, double newX, double newY, bool isNextParagraphInline)
 
void ProcessHyperlink (System::SharedPtr< Page > page, System::SharedPtr< Rectangle > rect)
 
virtual ASPOSE_PDF_SHARED_API void Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer)
 
virtual ASPOSE_PDF_SHARED_API void Deserialize (System::SharedPtr< System::Xml::XmlReader > reader)
 
- Protected Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
 ~IEnumerable () override
 Destructor. More...
 
virtualized_iteratorGetEnumeratorAsVirtualizedIterator ()
 Gets enumerator instance and prepares it to be used as iterator kernel. More...
 
virtualized_iteratorGetEnumeratorAsVirtualizedIterator () const
 Gets enumerator instance and prepares it to be used as iterator kernel. More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Public Types inherited from System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
typedef System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationValueType
 Value type name. More...
 
typedef ICollection< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > ThisType
 Collection type name. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
typedef IEnumerator< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > > IEnumeratorType
 Enumerator type. More...
 
using ValueType = System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >
 
using iterator = System::Details::VirtualizedIterator< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
 Iterator type. More...
 
using const_iterator = System::Details::VirtualizedConstIterator< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
 Const iterator type. More...
 
using virtualized_iterator = System::Details::VirtualizedIteratorBase< System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation > >
 Inner iterator base type. More...
 
using virtualized_iterator_element = System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotation >
 Inner iterator element type. More...
 
- Static Public Member Functions inherited from Aspose::Pdf::Forms::Field
static ASPOSE_PDF_SHARED_API bool get_FitIntoRectangle ()
 If true then font size will reduced to fit text to specified rectangle. More...
 
static ASPOSE_PDF_SHARED_API void set_FitIntoRectangle (bool value)
 If true then font size will reduced to fit text to specified rectangle. More...
 
static ASPOSE_PDF_SHARED_API double get_MaxFontSize ()
 Maximail font size which can be used for field contents. -1 to don't check size. More...
 
static ASPOSE_PDF_SHARED_API void set_MaxFontSize (double value)
 Maximail font size which can be used for field contents. -1 to don't check size. More...
 
static ASPOSE_PDF_SHARED_API double get_MinFontSize ()
 Minimal font size which can be used for field contents. -1 to don't check size. More...
 
static ASPOSE_PDF_SHARED_API void set_MinFontSize (double value)
 Minimal font size which can be used for field contents. -1 to don't check size. More...
 
- Static Public Member Functions inherited from Aspose::Pdf::Annotations::Annotation
static ASPOSE_PDF_SHARED_API bool get_UpdateAppearanceOnConvert ()
 If true, annotation appearance will be updated before converting PF document into image. This allows convert fields correctly but probably demand more time. More...
 
static ASPOSE_PDF_SHARED_API void set_UpdateAppearanceOnConvert (bool value)
 If true, annotation appearance will be updated before converting PF document into image. This allows convert fields correctly but probably demand more time. More...
 
static ASPOSE_PDF_SHARED_API bool get_UseFontSubset ()
 If this property set to true, fonts will be added to document as subsets. Default value is true. More...
 
static ASPOSE_PDF_SHARED_API void set_UseFontSubset (bool value)
 If this property set to true, fonts will be added to document as subsets. Default value is true. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 
- Static Protected Member Functions inherited from Aspose::Pdf::Forms::Field
static System::SharedPtr< Aspose::Pdf::Annotations::WidgetAnnotationCreateField (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > field, System::SharedPtr< Document > document)
 
static void SetCharacteristicsString (System::SharedPtr< Aspose::Pdf::Annotations::Annotation > annot, System::String entry, System::String value)
 
- Static Protected Member Functions inherited from Aspose::Pdf::Annotations::WidgetAnnotation
static int32_t getFieldFlag (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive > field)
 
- Static Protected Member Functions inherited from Aspose::Pdf::Annotations::Annotation
static System::SharedPtr< AnnotationCreateAnnotation (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotEngineObj, System::SharedPtr< Aspose::Pdf::Page > page)
 Initializes annotation from PDF object which describes the annotation. More...
 
static bool IsEmptyAppearance (System::SharedPtr< System::IO::Stream > s)
 
static System::String InternalFlatten4 (System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfDictionary > annotation, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfDictionary > resources)
 
- Static Protected Member Functions inherited from Aspose::Pdf::BaseParagraph
static bool get_IsZIndexSet ()
 Gets the fragment hyperlink(for pdf generator performance internal use). More...
 
static void set_IsZIndexSet (bool value)
 Sets the fragment hyperlink(for pdf generator performance internal use). More...
 
- Protected Attributes inherited from Aspose::Pdf::Forms::Field
System::String _value
 
- Protected Attributes inherited from Aspose::Pdf::Annotations::WidgetAnnotation
int32_t ff
 
- Protected Attributes inherited from Aspose::Pdf::Annotations::Annotation
System::SharedPtr< System::Globalization::CultureInfoCulture
 
System::WeakPtr< Document_document
 
bool _disableUpdateAppearance
 
bool _flatteningState
 
bool needBaseInitialization
 
System::SharedPtr< AppearanceDictionary_states
 
- Static Protected Attributes inherited from Aspose::Pdf::Forms::ChoiceField
static const ASPOSE_PDF_SHARED_API int32_t ValueNotSelected
 
- Static Protected Attributes inherited from Aspose::Pdf::Forms::Field
static const int32_t _NoToggleToOff
 
static const int32_t _Radio
 
static const int32_t _Pushbutton
 
static const int32_t _RadiosInUnison
 
static const int32_t _Multiline
 
static const int32_t _Password
 
static const int32_t _FileSelect
 
static const int32_t _DoNotSpellCheck
 
static const int32_t _DoNotScroll
 
static const int32_t _Comb
 
static const int32_t _RichText
 
static const int32_t _Combo
 
static const int32_t _Edit
 
static const int32_t _Sort
 
static const int32_t _MultiSelect
 
static const int32_t _CommitOnSelChange
 
- Static Protected Attributes inherited from Aspose::Pdf::Annotations::WidgetAnnotation
static const int32_t _ReadOnly
 
static const int32_t _Required
 
static const int32_t _NoExport
 
- Static Protected Attributes inherited from Aspose::Pdf::Annotations::Annotation
static const System::String DefaultFontName
 
static const System::String DefaultFontKey
 
static const float DefaultFontSize
 
static ASPOSE_PDF_SHARED_API System::String message1
 The message. More...
 

Detailed Description

Class represents ListBox field.

Constructor & Destructor Documentation

◆ ListBoxField() [1/4]

ASPOSE_PDF_SHARED_API Aspose::Pdf::Forms::ListBoxField::ListBoxField ( )

Constructor for ListBoxField to be used in Generator.

◆ ListBoxField() [2/4]

ASPOSE_PDF_SHARED_API Aspose::Pdf::Forms::ListBoxField::ListBoxField ( System::SharedPtr< Aspose::Pdf::Page page,
System::SharedPtr< Rectangle rect 
)

Creates new ListBox field.

Parameters
pagePage where list box will be placed.
rectRectangle where list box will be placed on the page.

◆ ListBoxField() [3/4]

ASPOSE_PDF_SHARED_API Aspose::Pdf::Forms::ListBoxField::ListBoxField ( System::SharedPtr< Document doc,
System::SharedPtr< Rectangle rect 
)

Constructor for ListBox field.

Parameters
docDocument to which this field will belong.
rectRectangle where list box will be placed.

◆ ListBoxField() [4/4]

Aspose::Pdf::Forms::ListBoxField::ListBoxField ( System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject >  annotation,
System::SharedPtr< Document document 
)
protected

Constructor for ListBoxField class.

Parameters
annotationList box annotation.
documentDocument which contains list box.

◆ ~ListBoxField()

virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::Forms::ListBoxField::~ListBoxField ( )
protectedvirtual

Member Function Documentation

◆ AppearanceSupported()

ASPOSE_PDF_SHARED_API bool Aspose::Pdf::Forms::ListBoxField::AppearanceSupported ( )
overrideprotectedvirtual

This method must be overriden to return true in classes where apperance generation is supported.

Returns

Reimplemented from Aspose::Pdf::Forms::Field.

◆ CreateAppearanceProgram()

ASPOSE_PDF_SHARED_API System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Operator> > > Aspose::Pdf::Forms::ListBoxField::CreateAppearanceProgram ( System::SharedPtr< Aspose::Pdf::Annotations::Annotation::AppearanceParameters parameters,
System::SharedPtr< Aspose::Pdf::Annotations::Annotation annotation 
)
overrideprotectedvirtual

Returns sequence of operators which are appearance of ListBox.

Parameters
parametersAppearance parameters.
annotationAnnotation for which appearance will be generated.
Returns

Reimplemented from Aspose::Pdf::Annotations::Annotation.

◆ CreateCopy()

ASPOSE_PDF_SHARED_API System::SharedPtr<Field> Aspose::Pdf::Forms::ListBoxField::CreateCopy ( )
overrideprotectedvirtual

This method is required for Generator support. This method creates copy of field "template" when generator uses Footer/Header functionality.

Returns

Reimplemented from Aspose::Pdf::Forms::ChoiceField.

◆ get_TopIndex()

ASPOSE_PDF_SHARED_API int32_t Aspose::Pdf::Forms::ListBoxField::get_TopIndex ( )

Gets index of the top visible element of the list.

◆ Initialize()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Forms::ListBoxField::Initialize ( System::SharedPtr< Aspose::Pdf::Engine::Data::ITrailerable >  trailer)
overrideprotectedvirtual

Initialize the field.

Parameters
pageThe Aspose.Pdf.Page object where the field should be located.

Reimplemented from Aspose::Pdf::Forms::Field.

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION()

Aspose::Pdf::Forms::ListBoxField::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( ListBoxField  ,
CODEPORTING_ARGS(System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfObject > annotation, System::SharedPtr< Document > document)   
)
protected

◆ set_Selected()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Forms::ListBoxField::set_Selected ( int32_t  value)
overridevirtual

Sets index of the selected item. Items are numbered from 1.

Reimplemented from Aspose::Pdf::Forms::ChoiceField.

◆ set_SelectedItems()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Forms::ListBoxField::set_SelectedItems ( System::ArrayPtr< int32_t >  value)
overridevirtual

Sets array of the selected items in the multiselect list. For single-select list returns array with single item.

Reimplemented from Aspose::Pdf::Forms::ChoiceField.

◆ set_TopIndex()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Forms::ListBoxField::set_TopIndex ( int32_t  value)

Sets index of the top visible element of the list.

◆ UpdateAppearance()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Forms::ListBoxField::UpdateAppearance ( System::SharedPtr< Aspose::Pdf::Annotations::Annotation annotation)
overrideprotectedvirtual

Updated appearance dictionary of the field.

Reimplemented from Aspose::Pdf::Annotations::WidgetAnnotation.