|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.DocumentContainer
com.spire.doc.Section
public class Section
| Constructor Summary | |
|---|---|
Section(IDocument doc)
Initializes a new instance of the |
|
| Method Summary | |
|---|---|
Column |
addColumn(float width,
float spacing)
Adds new column to the section. |
Paragraph |
addParagraph()
Adds the paragraph. |
Table |
addTable()
Adds the table. |
Table |
addTable(boolean showBorder)
Adds the table. |
void |
cloneSectionPropertiesTo(Section destSection)
Clones the properties of the current to the destination section. |
Section |
deepClone()
Clones it self. |
Body |
getBody()
Gets the section body. |
SectionBreakType |
getBreakCode()
Returns or sets break code. |
DocumentObjectCollection |
getChildObjects()
Gets the child objects. |
ColumnCollection |
getColumns()
Get collection of columns which logically divide page on many. |
DocumentObjectType |
getDocumentObjectType()
Gets the type of the document object. |
FootEndnoteOptions |
getEndnoteOptions()
Gets or sets options that control numbering and positioning of endnotes in current section. |
FootEndnoteOptions |
getFootnoteOptions()
Gets or sets options that control numbering and positioning of footnote in current section. |
HeadersFooters |
getHeadersFooters()
Gets headers/footers of current section. |
PageSetup |
getPageSetup()
Gets page Setup of current section. |
ParagraphCollection |
getParagraphs()
Gets the paragraphs. |
boolean |
getProtectForm()
Gets or sets a value indicating whether [protect form]. |
TableCollection |
getTables()
Gets the tables. |
TextDirection |
getTextDirection()
|
void |
makeColumnsSameWidth()
Makes all columns in current section to be of equal width. |
void |
setBreakCode(SectionBreakType value)
Returns or sets break code. |
void |
setProtectForm(boolean value)
Gets or sets a value indicating whether [protect form]. |
void |
setTextDirection(TextDirection value)
|
| Methods inherited from class com.spire.doc.DocumentContainer |
|---|
getCount, getIndex |
| Methods inherited from class com.spire.doc.DocumentObject |
|---|
getFirstChild, getLastChild, getNextSibling, getNextWidgetSibling, getOwner, getPreviousSibling, getPreviousWidgetSibling, isComposite, prependChild, toString |
| Methods inherited from class com.spire.doc.OwnerHolder |
|---|
getDocument |
| Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
|---|
getDocument, getNextSibling, getOwner, getPreviousSibling, isComposite |
| Constructor Detail |
|---|
public Section(IDocument doc)
doc - The doc.| Method Detail |
|---|
public Body getBody()
ISection
getBody in interface ISectionpublic FootEndnoteOptions getEndnoteOptions()
public FootEndnoteOptions getFootnoteOptions()
public HeadersFooters getHeadersFooters()
getHeadersFooters in interface ISectionpublic PageSetup getPageSetup()
getPageSetup in interface ISectionpublic ColumnCollection getColumns()
getColumns in interface ISectionpublic SectionBreakType getBreakCode()
getBreakCode in interface ISectionpublic void setBreakCode(SectionBreakType value)
setBreakCode in interface ISectionvalue - The break codepublic DocumentObjectType getDocumentObjectType()
getDocumentObjectType in interface IDocumentObjectgetDocumentObjectType in class DocumentObjectpublic DocumentObjectCollection getChildObjects()
getChildObjects in interface ICompositeObjectgetChildObjects in class DocumentObjectpublic ParagraphCollection getParagraphs()
getParagraphs in interface ISectionpublic TableCollection getTables()
getTables in interface ISectionpublic TextDirection getTextDirection()
public void setTextDirection(TextDirection value)
public boolean getProtectForm()
getProtectForm in interface ISectionpublic void setProtectForm(boolean value)
setProtectForm in interface ISectionvalue - true if [protect form]; otherwise, false
public Column addColumn(float width,
float spacing)
addColumn in interface ISectionwidth - The width.spacing - The spacing.
public void makeColumnsSameWidth()
makeColumnsSameWidth in interface ISectionpublic Section deepClone()
deepClone in interface IDocumentObjectdeepClone in interface ISectiondeepClone in class DocumentObjectpublic void cloneSectionPropertiesTo(Section destSection)
destSection - The destination section.public Paragraph addParagraph()
addParagraph in interface ISectionpublic Table addTable()
addTable in interface ISectionpublic Table addTable(boolean showBorder)
showBorder - Display table borders.True to display;False does not display.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||