com.aspose.note

Class Title

    • Constructor Detail

      • Title

        public Title(Document document)

        Initializes a new instance of the Title class.

        Parameters:
        document - The parent document of the title.
      • Title

        public Title()

        Initializes a new instance of the Title class.

    • Method Detail

      • isComposite

        public boolean isComposite()

        Gets a value indicating whether this node is composite. If true the node can have child nodes.

        Overrides:
        isComposite in class Node
      • getLastModifiedTime

        public Date getLastModifiedTime()

        Gets or sets the last modified time.

      • setLastModifiedTime

        public void setLastModifiedTime(Date value)

        Gets or sets the last modified time.

      • getTitleText

        public RichText getTitleText()

        Gets or sets the text of the title.

      • setTitleText

        public final void setTitleText(RichText value)

        Gets or sets the text of the title.

      • getTitleDate

        public final RichText getTitleDate()

        Gets or sets a string representation of the date in the title.

      • setTitleDate

        public final void setTitleDate(RichText value)

        Gets or sets a string representation of the date in the title.

      • getTitleTime

        public final RichText getTitleTime()

        Gets or sets a string representation of the time in the title.

      • setTitleTime

        public final void setTitleTime(RichText value)

        Gets or sets a string representation of the time in the title.

      • setHorizontalOffset

        public final void setHorizontalOffset(float value)

        Gets or sets the horizontal offset.

        Specified by:
        setHorizontalOffset in interface IPageChildNode
      • getVerticalOffset

        public final float getVerticalOffset()

        Gets or sets the vertical offset.

        Specified by:
        getVerticalOffset in interface IPageChildNode
      • setVerticalOffset

        public final void setVerticalOffset(float value)

        Gets or sets the vertical offset.

        Specified by:
        setVerticalOffset in interface IPageChildNode
      • accept

        public void accept(DocumentVisitor visitor)

        Accepts the visitor of the node.

        Specified by:
        accept in interface INode
        Specified by:
        accept in class Node
        Parameters:
        visitor - The object of a class derived from the DocumentVisitor.
      • getChildNodes

        public <T1 extends INodeList<T1> getChildNodes(Class<T1> typeParameterClass)

        Get all child nodes by the node type.

        Specified by:
        getChildNodes in interface ICompositeNode
        Returns:
        A list of child nodes.

        T1: The type of elements in the returned list.

      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<RichText> iterator()

        Returns an enumerator that iterates through child nodes of the Title.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<RichText>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<RichText>
        Specified by:
        iterator in interface Iterable<RichText>
        Returns:
        The IEnumerator.