public final class Title extends CompositeNodeBase implements ICompositeNodeT<RichText>, IPageChildNode
Represents a title.
Constructor and Description |
---|
Title()
Initializes a new instance of the
Title class. |
Title(Document document)
Deprecated.
Obsolete since 22.1 release. Use other constructors instead.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(DocumentVisitor visitor)
Accepts the visitor of the node.
|
<T1 extends INode> |
getChildNodes(Class<T1> typeParameterClass)
Get all child nodes by the node type.
|
List<INode> |
getChildNodes(int type)
Deprecated.
|
float |
getHorizontalOffset()
Gets or sets the horizontal offset.
|
Date |
getLastModifiedTime()
Gets or sets the last modified time.
|
RichText |
getTitleDate()
Gets or sets a string representation of the date in the title.
|
RichText |
getTitleText()
Gets or sets the text of the title.
|
RichText |
getTitleTime()
Gets or sets a string representation of the time in the title.
|
float |
getVerticalOffset()
Gets or sets the vertical offset.
|
boolean |
isComposite()
Gets a value indicating whether this node is composite.
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<RichText> |
iterator()
Returns an enumerator that iterates through child nodes of the
Title . |
void |
setHorizontalOffset(float value)
Gets or sets the horizontal offset.
|
void |
setLastModifiedTime(Date value)
Gets or sets the last modified time.
|
void |
setTitleDate(RichText value)
Gets or sets a string representation of the date in the title.
|
void |
setTitleText(RichText value)
Gets or sets the text of the title.
|
void |
setTitleTime(RichText value)
Gets or sets a string representation of the time in the title.
|
void |
setVerticalOffset(float value)
Gets or sets the vertical offset.
|
getDocument, getNextSibling, getNodeType, getParentNode, getPreviousSibling
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
getNextSibling, getPreviousSibling
@Deprecated public Title(Document document)
Initializes a new instance of the Title
class.
document
- The parent document of the title.public Title()
Initializes a new instance of the Title
class.
public boolean isComposite()
Gets a value indicating whether this node is composite. If true the node can have child nodes.
isComposite
in class Node
public Date getLastModifiedTime()
Gets or sets the last modified time.
public void setLastModifiedTime(Date value)
Gets or sets the last modified time.
public RichText getTitleText()
Gets or sets the text of the title.
public final void setTitleText(RichText value)
Gets or sets the text of the title.
public final RichText getTitleDate()
Gets or sets a string representation of the date in the title.
public final void setTitleDate(RichText value)
Gets or sets a string representation of the date in the title.
public final RichText getTitleTime()
Gets or sets a string representation of the time in the title.
public final void setTitleTime(RichText value)
Gets or sets a string representation of the time in the title.
public final float getHorizontalOffset()
Gets or sets the horizontal offset.
getHorizontalOffset
in interface IPageChildNode
public final void setHorizontalOffset(float value)
Gets or sets the horizontal offset.
setHorizontalOffset
in interface IPageChildNode
public final float getVerticalOffset()
Gets or sets the vertical offset.
getVerticalOffset
in interface IPageChildNode
public final void setVerticalOffset(float value)
Gets or sets the vertical offset.
setVerticalOffset
in interface IPageChildNode
public void accept(DocumentVisitor visitor)
Accepts the visitor of the node.
@Deprecated public List<INode> getChildNodes(int type)
public <T1 extends INode> List<T1> getChildNodes(Class<T1> typeParameterClass)
Get all child nodes by the node type.
getChildNodes
in interface ICompositeNode
T1
: The type of elements in the returned list.
Copyright (c) 2002-2022 Aspose. All Rights Reserved.