com.aspose.pdf.tagged.logicalstructure.elements

Class MCRElement



  • public final class MCRElement
    extends Element

    Represents marked-content reference object in logical structure.

    • Constructor Detail

      • MCRElement

        public MCRElement(TaggedContext taggedContext,
                          com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
        Constructor
        Parameters:
        taggedContext - TaggedContext instance
        pdfEngineEntity - Internal instance
    • Method Detail

      • setHyperlink

        public final void setHyperlink(Hyperlink hyperlink)
      • isCreatedElement

        public final boolean isCreatedElement()
      • getPage

        public final Page getPage()
        Get Page instance
        Returns:
        Page instance
      • setPage

        public final void setPage(Page value)
        Set Page instance
        Parameters:
        value - Page instance
      • setNewMCID

        public final void setNewMCID(int value)
        Get MCID value
        Parameters:
        value - MCID value
      • setBdcOperator

        public final void setBdcOperator(BDC value)
        Set BDC Operator
        Parameters:
        value - BDC Operator
      • getImageSrc

        public final String getImageSrc()

        Gets image source for marked-content reference element.

        For just created IllustrationElement. Is null in other cases.

        Returns:
        Image source for marked-content reference element.
      • setImageSrc

        public final void setImageSrc(String value)

        Gets image source for marked-content reference element.

        For just created IllustrationElement. Is null in other cases.

        Parameters:
        value - Image source for marked-content reference element.
      • getImageResolution

        public final Double[] getImageResolution()
        For internal usage only
        Returns:
        For internal usage only
      • setImageResolution

        public final void setImageResolution(Double[] value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getImageWidth

        public final Double[] getImageWidth()
        For internal usage only
        Returns:
        For internal usage only
      • setImageWidth

        public final void setImageWidth(Double[] value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getImageHeight

        public final Double[] getImageHeight()
        For internal usage only
        Returns:
        For internal usage only
      • setImageHeight

        public final void setImageHeight(Double[] value)
        For internal usage only
        Parameters:
        value - For internal usage only
      • getContent

        public final String getContent()

        Gets text content for marked-content reference element.

        For just created object wich implement ITextElement. Is null in other cases.

        Returns:
        Text content for marked-content reference element.
      • setContent

        public final void setContent(String value)

        Gets text content for marked-content reference element.

        For just created object wich implement ITextElement. Is null in other cases.

        Parameters:
        value - Text content for marked-content reference element.
      • getMCID

        public final int getMCID()

        Gets MCID of marked-content reference object.

        Returns:
        MCID of marked-content reference object.
      • toString

        public String toString()

        Returns a string that represents the current object.

        Overrides:
        toString in class Element
        Returns:
        String that represents the current object.