Aspose::Pdf::LogicalStructure::MCRElement Class Referencefinal

Represents marked-content reference object in logical structure. More...

Inherits Aspose::Pdf::LogicalStructure::Element.

Public Member Functions

System::String get_ImageSrc () const
 
System::String get_Content () const
 
int32_t get_MCID ()
 Gets MCID of marked-content reference object. More...
 
virtual System::String ToString ()
 Returns a string that represents the current object. More...
 
- Public Member Functions inherited from Aspose::Pdf::LogicalStructure::Element
System::SharedPtr< Elementget_ParentElement () const
 Get parent element. More...
 
System::SharedPtr< ElementListget_ChildElements () const
 Gets children collection of T:/Aspose::Pdf::LogicalStructure::Element objects. More...
 
template<typename T >
System::SharedPtr< System::Collections::Generic::List< T > > FindElements (bool recursiveSearch=false)
 Find Elements of a given type More...
 
System::SharedPtr< ElementAppendChild (System::SharedPtr< Element > element)
 Append T:/Aspose::Pdf::LogicalStructure::Element to collection of children. More...
 
- 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 refernce 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 int 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 void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Protected Member Functions

bool get_IsCreatedElement ()
 
System::SharedPtr< Aspose::Pdf::Pageget_Page ()
 
void set_Page (System::SharedPtr< Aspose::Pdf::Page > value)
 
System::SharedPtr< Aspose::Pdf::Text::TextFragmentget_TextFragment ()
 
void set_TextFragment (System::SharedPtr< Aspose::Pdf::Text::TextFragment > value)
 
System::SharedPtr< StructureElementget_ParentStructureElement ()
 
System::SharedPtr< ITextElementget_ParentTextElement ()
 
System::SharedPtr< BLSTextElementget_ParentBLSTextElement ()
 
System::SharedPtr< Paragraphsget_ContextParagraphs ()
 
int32_t get_NewMCID () const
 
void set_NewMCID (int32_t value)
 
System::SharedPtr< Operators::BDCget_BdcOperator () const
 
void set_BdcOperator (System::SharedPtr< Operators::BDC > value)
 
void set_ImageSrc (System::String value)
 
System::Nullable< double > get_ImageResolution () const
 
void set_ImageResolution (System::Nullable< double > value)
 
System::Nullable< double > get_ImageWidth () const
 
void set_ImageWidth (System::Nullable< double > value)
 
System::Nullable< double > get_ImageHeight () const
 
void set_ImageHeight (System::Nullable< double > value)
 
void set_Content (System::String value)
 
void set_MCID (int32_t value)
 Gets MCID of marked-content reference object. More...
 
void SetHyperlink (System::SharedPtr< Hyperlink > hyperlink)
 
 MCRElement (System::SharedPtr< Aspose::Pdf::Tagged::TaggedContext > taggedContext, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive > pdfEngineEntity)
 
virtual void PreSave ()
 
virtual void Save ()
 
virtual bool CanBeAppended (System::SharedPtr< Element > element)
 
virtual ~MCRElement ()
 
- Protected Member Functions inherited from Aspose::Pdf::LogicalStructure::Element
System::SharedPtr< ElementPdfEngine > get_ElementEngine () const
 
System::SharedPtr< Aspose::Pdf::Engine::Data::ITrailerable > get_Trailer ()
 
System::SharedPtr< Aspose::Pdf::Tagged::ITaggedContentget_TaggedContent ()
 
 Element (System::SharedPtr< Aspose::Pdf::Tagged::TaggedContext > taggedContext, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfName > pdfObjectType, System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive > pdfEngineEntity)
 
virtual void SetParentElement (System::SharedPtr< Element > parentElement)
 
virtual ~Element ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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 ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents marked-content reference object in logical structure.

Constructor & Destructor Documentation

◆ MCRElement()

Aspose::Pdf::LogicalStructure::MCRElement::MCRElement ( System::SharedPtr< Aspose::Pdf::Tagged::TaggedContext >  taggedContext,
System::SharedPtr< Aspose::Pdf::Engine::Data::IPdfPrimitive >  pdfEngineEntity 
)
protected

◆ ~MCRElement()

virtual Aspose::Pdf::LogicalStructure::MCRElement::~MCRElement ( )
protectedvirtual

Member Function Documentation

◆ CanBeAppended()

virtual bool Aspose::Pdf::LogicalStructure::MCRElement::CanBeAppended ( System::SharedPtr< Element element)
protectedvirtual

◆ get_BdcOperator()

System::SharedPtr<Operators::BDC> Aspose::Pdf::LogicalStructure::MCRElement::get_BdcOperator ( ) const
protected

◆ get_Content()

System::String Aspose::Pdf::LogicalStructure::MCRElement::get_Content ( ) const

Gets text content for marked-content reference element.

For just created object wich implement Aspose::Pdf::LogicalStructure::ITextElement. Is null in other cases.

Text content for marked-content reference element.

◆ get_ContextParagraphs()

System::SharedPtr<Paragraphs> Aspose::Pdf::LogicalStructure::MCRElement::get_ContextParagraphs ( )
protected

◆ get_ImageHeight()

System::Nullable<double> Aspose::Pdf::LogicalStructure::MCRElement::get_ImageHeight ( ) const
protected

◆ get_ImageResolution()

System::Nullable<double> Aspose::Pdf::LogicalStructure::MCRElement::get_ImageResolution ( ) const
protected

◆ get_ImageSrc()

System::String Aspose::Pdf::LogicalStructure::MCRElement::get_ImageSrc ( ) const

Gets image source for marked-content reference element.

For just created Aspose::Pdf::LogicalStructure::IllustrationElement. Is null in other cases.

Image source for marked-content reference element.

◆ get_ImageWidth()

System::Nullable<double> Aspose::Pdf::LogicalStructure::MCRElement::get_ImageWidth ( ) const
protected

◆ get_IsCreatedElement()

bool Aspose::Pdf::LogicalStructure::MCRElement::get_IsCreatedElement ( )
protected

◆ get_MCID()

int32_t Aspose::Pdf::LogicalStructure::MCRElement::get_MCID ( )

Gets MCID of marked-content reference object.

MCID of marked-content reference object.

◆ get_NewMCID()

int32_t Aspose::Pdf::LogicalStructure::MCRElement::get_NewMCID ( ) const
protected

◆ get_Page()

System::SharedPtr<Aspose::Pdf::Page> Aspose::Pdf::LogicalStructure::MCRElement::get_Page ( )
protected

◆ get_ParentBLSTextElement()

System::SharedPtr<BLSTextElement> Aspose::Pdf::LogicalStructure::MCRElement::get_ParentBLSTextElement ( )
protected

◆ get_ParentStructureElement()

System::SharedPtr<StructureElement> Aspose::Pdf::LogicalStructure::MCRElement::get_ParentStructureElement ( )
protected

◆ get_ParentTextElement()

System::SharedPtr<ITextElement> Aspose::Pdf::LogicalStructure::MCRElement::get_ParentTextElement ( )
protected

◆ get_TextFragment()

System::SharedPtr<Aspose::Pdf::Text::TextFragment> Aspose::Pdf::LogicalStructure::MCRElement::get_TextFragment ( )
protected

◆ PreSave()

virtual void Aspose::Pdf::LogicalStructure::MCRElement::PreSave ( )
protectedvirtual

◆ Save()

virtual void Aspose::Pdf::LogicalStructure::MCRElement::Save ( )
protectedvirtual

◆ set_BdcOperator()

void Aspose::Pdf::LogicalStructure::MCRElement::set_BdcOperator ( System::SharedPtr< Operators::BDC value)
protected

◆ set_Content()

void Aspose::Pdf::LogicalStructure::MCRElement::set_Content ( System::String  value)
protected

Gets text content for marked-content reference element.

For just created object wich implement Aspose::Pdf::LogicalStructure::ITextElement. Is null in other cases.

Text content for marked-content reference element.

◆ set_ImageHeight()

void Aspose::Pdf::LogicalStructure::MCRElement::set_ImageHeight ( System::Nullable< double >  value)
protected

◆ set_ImageResolution()

void Aspose::Pdf::LogicalStructure::MCRElement::set_ImageResolution ( System::Nullable< double >  value)
protected

◆ set_ImageSrc()

void Aspose::Pdf::LogicalStructure::MCRElement::set_ImageSrc ( System::String  value)
protected

Gets image source for marked-content reference element.

For just created Aspose::Pdf::LogicalStructure::IllustrationElement. Is null in other cases.

Image source for marked-content reference element.

◆ set_ImageWidth()

void Aspose::Pdf::LogicalStructure::MCRElement::set_ImageWidth ( System::Nullable< double >  value)
protected

◆ set_MCID()

void Aspose::Pdf::LogicalStructure::MCRElement::set_MCID ( int32_t  value)
protected

Gets MCID of marked-content reference object.

MCID of marked-content reference object.

◆ set_NewMCID()

void Aspose::Pdf::LogicalStructure::MCRElement::set_NewMCID ( int32_t  value)
protected

◆ set_Page()

void Aspose::Pdf::LogicalStructure::MCRElement::set_Page ( System::SharedPtr< Aspose::Pdf::Page value)
protected

◆ set_TextFragment()

void Aspose::Pdf::LogicalStructure::MCRElement::set_TextFragment ( System::SharedPtr< Aspose::Pdf::Text::TextFragment value)
protected

◆ SetHyperlink()

void Aspose::Pdf::LogicalStructure::MCRElement::SetHyperlink ( System::SharedPtr< Hyperlink hyperlink)
protected

◆ ToString()

virtual System::String Aspose::Pdf::LogicalStructure::MCRElement::ToString ( )
virtual

Returns a string that represents the current object.

Returns
String that represents the current object.

Reimplemented from Aspose::Pdf::LogicalStructure::Element.