isection-ag凯发旗舰厅



com.spire.doc.interfaces
interface isection

all superinterfaces:
icompositeobject, idocumentobject
all known implementing classes:
section

public interface isection
extends icompositeobject

represents a section inside a document.


method summary
 column addcolumn(float width, float spacing)
          adds new column to the section.
 paragraph addparagraph()
          adds a paragraph.
 table addtable()
          adds a table.
 section deepclone()
          clones it self.
 body getbody()
          gets the section body.
 sectionbreaktype getbreakcode()
          returns break code.
 columncollection getcolumns()
          get collection of columns which logically divide page on many printing/publishing areas.
 headersfooters getheadersfooters()
          gets headers/footers of current section
 pagesetup getpagesetup()
          gets page setup of current section.
 paragraphcollection getparagraphs()
          gets the paragraphs.
 boolean getprotectform()
          gets a value indicating whether [protect form].
 tablecollection gettables()
          gets the tables.
 void makecolumnssamewidth()
          makes all columns in current section to be of equal width.
 void setbreakcode(sectionbreaktype value)
          sets break code.
 void setprotectform(boolean value)
          sets a value indicating whether [protect form].
 
methods inherited from interface com.spire.doc.interfaces.icompositeobject
getchildobjects
 
methods inherited from interface com.spire.doc.interfaces.idocumentobject
getdocument, getdocumentobjecttype, getnextsibling, getowner, getprevioussibling, iscomposite
 
method detail

getparagraphs

paragraphcollection getparagraphs()
gets the paragraphs.
returns:
the paragraphs.

gettables

tablecollection gettables()
gets the tables.
returns:
the tables.

getbody

body getbody()
gets the section body.
returns:
the body.

getpagesetup

pagesetup getpagesetup()
gets page setup of current section.
returns:
the pagesetup

getcolumns

columncollection getcolumns()
get collection of columns which logically divide page on many printing/publishing areas.
returns:
the collection of the columns

getbreakcode

sectionbreaktype getbreakcode()
returns break code.
returns:
the break code

setbreakcode

void setbreakcode(sectionbreaktype value)
sets break code.
parameters:
value - the break code

getprotectform

boolean getprotectform()
gets a value indicating whether [protect form].
returns:
true if [protect form]; otherwise, false

setprotectform

void setprotectform(boolean value)
sets a value indicating whether [protect form].
parameters:
value - true if [protect form]; otherwise, false

addcolumn

column addcolumn(float width,
                 float spacing)
adds new column to the section.
parameters:
width - the width of the column
spacing - the spacing of the column
returns:
the column

addparagraph

paragraph addparagraph()
adds a paragraph.
returns:
the paragraph

addtable

table addtable()
adds a table.
returns:
the table

deepclone

section deepclone()
clones it self.
specified by:
deepclone in interface idocumentobject
returns:
the new section

makecolumnssamewidth

void makecolumnssamewidth()
makes all columns in current section to be of equal width.

getheadersfooters

headersfooters getheadersfooters()
gets headers/footers of current section
returns:
the headers/footers


网站地图