public final class Title extends CompositeNode<Outline> implements IPageChildNode
Represents a title.
| Constructor and Description |
|---|
Title(Document document)
Initializes a new instance of the
Title class. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(DocumentVisitor visitor)
Accepts the visitor of the node.
|
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.
|
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.
|
appendChildFirst, appendChildLast, getChildNodes, getChildren, getFirstChild, getLastChild, insertChild, insertChildrenRange, insertChildrenRange, isComposite, iterator, removeChildgetDocument, getNextSibling, getNodeType, getParentNode, getPreviousSiblingequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextSibling, getPreviousSiblingforEach, spliteratorpublic Title(Document document)
Initializes a new instance of the Title class.
document - The parent document of the title.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 IPageChildNodepublic final void setHorizontalOffset(float value)
Gets or sets the horizontal offset.
setHorizontalOffset in interface IPageChildNodepublic final float getVerticalOffset()
Gets or sets the vertical offset.
getVerticalOffset in interface IPageChildNodepublic final void setVerticalOffset(float value)
Gets or sets the vertical offset.
setVerticalOffset in interface IPageChildNodepublic void accept(DocumentVisitor visitor)
Accepts the visitor of the node.
accept in interface INodeaccept in class CompositeNode<Outline>visitor - The object of a class derived from the DocumentVisitor.Copyright (c) 2002-2021 Aspose. All Rights Reserved.