public final class Page extends CompositeNode<IPageChildNode>
Represents a page.
Constructor and Description |
---|
Page(Document document)
Initializes a new instance of the
Page class. |
Modifier and Type | Method and Description |
---|---|
void |
accept(DocumentVisitor visitor)
Accepts the visitor of the node.
|
Page |
deepClone()
Clones the page.
|
String |
getAuthor()
Gets or sets the author.
|
String |
getCachedTitleString()
Gets or sets the title string.
|
Date |
getCreationTime()
Gets or sets the creation time.
|
float |
getHeight()
Gets or sets the height.
|
Date |
getLastModifiedTime()
Gets or sets the last modified time.
|
byte |
getLevel()
Gets or sets the level.
|
Margins |
getMargin()
Gets or sets the margin.
|
RevisionSummary |
getPageContentRevisionSummary()
Gets or sets the revision summary for the page and it's child nodes.
|
int |
getSizeType()
Gets or sets the size type of a page.
|
Title |
getTitle()
Gets or sets the title.
|
float |
getWidth()
Gets or sets the width.
|
void |
setAuthor(String value)
Gets or sets the author.
|
void |
setCachedTitleString(String value)
Gets or sets the title string.
|
void |
setCreationTime(Date value)
Gets or sets the creation time.
|
void |
setHeight(float value)
Gets or sets the height.
|
void |
setLastModifiedTime(Date value)
Gets or sets the last modified time.
|
void |
setLevel(byte value)
Gets or sets the level.
|
void |
setMargin(Margins value)
Gets or sets the margin.
|
void |
setPageContentRevisionSummary(RevisionSummary value)
Gets or sets the revision summary for the page and it's child nodes.
|
void |
setSizeType(int value)
Gets or sets the size type of a page.
|
void |
setTitle(Title value)
Gets or sets the title.
|
void |
setWidth(float value)
Gets or sets the width.
|
appendChild, getChildNodes, getChildren, getFirstChild, getLastChild, getText, isComposite, iterator, removeChild
getDocument, getNextSibling, getNodeType, getParentNode, getPreviousSibling
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public Page(Document document)
Initializes a new instance of the Page
class.
document
- The parent document of the page.public RevisionSummary getPageContentRevisionSummary()
Gets or sets the revision summary for the page and it's child nodes.
public void setPageContentRevisionSummary(RevisionSummary value)
Gets or sets the revision summary for the page and it's child nodes.
public Title getTitle()
Gets or sets the title.
Value: TheTitle
.public void setTitle(Title value)
Gets or sets the title.
Value: TheTitle
.public Date getLastModifiedTime()
Gets or sets the last modified time.
public void setLastModifiedTime(Date value)
Gets or sets the last modified time.
public Date getCreationTime()
Gets or sets the creation time.
public void setCreationTime(Date value)
Gets or sets the creation time.
public String getCachedTitleString()
Gets or sets the title string.
public void setCachedTitleString(String value)
Gets or sets the title string.
public byte getLevel()
Gets or sets the level.
public void setLevel(byte value)
Gets or sets the level.
public Margins getMargin()
Gets or sets the margin.
public void setMargin(Margins value)
Gets or sets the margin.
public String getAuthor()
Gets or sets the author.
public void setAuthor(String value)
Gets or sets the author.
public int getSizeType()
Gets or sets the size type of a page.
PageSizeType.SizeByContent
.
public void setSizeType(int value)
Gets or sets the size type of a page.
PageSizeType.SizeByContent
.
public float getWidth()
Gets or sets the width.
public void setWidth(float value)
Gets or sets the width.
public float getHeight()
Gets or sets the height.
public void setHeight(float value)
Gets or sets the height.
public void accept(DocumentVisitor visitor)
Accepts the visitor of the node.
accept
in interface INode
accept
in class CompositeNode<IPageChildNode>
visitor
- The object of a class derived from the DocumentVisitor
.public Page deepClone()
Clones the page.
Copyright (c) 2016 Aspose. All Rights Reserved.