|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IParagraph
Represents a paragraph inside a Section.
| Method Summary | |
|---|---|
BookmarkEnd |
appendBookmarkEnd(java.lang.String name)
Appends end of the bookmark with specified name into paragraph. |
BookmarkStart |
appendBookmarkStart(java.lang.String name)
Appends start of the bookmark with specified name into paragraph. |
Break |
appendBreak(BreakType breakType)
Appends break to end of paragraph. |
CheckBoxFormField |
appendCheckBox()
Appends the check box. |
CheckBoxFormField |
appendCheckBox(java.lang.String checkBoxName,
boolean defaultCheckBoxValue)
Appends the check box. |
Comment |
appendComment(java.lang.String text)
Appends the comment. |
DropDownFormField |
appendDropDownFormField()
Appends the drop down form field. |
DropDownFormField |
appendDropDownFormField(java.lang.String dropDropDownName)
Appends the drop down form field. |
Field |
appendField(java.lang.String fieldName,
FieldType fieldType)
Appends field to the end of paragraph |
Footnote |
appendFootnote(FootnoteType type)
Appends the footnote. |
void |
appendHTML(java.lang.String html)
Appends the HTML. |
Field |
appendHyperlink(java.lang.String link,
DocPicture picture,
HyperlinkType type)
Appends the hyperlink. |
Field |
appendHyperlink(java.lang.String link,
java.lang.String text,
HyperlinkType type)
Appends the hyperlink. |
DocOleObject |
appendOleObject(byte[] oleBytes,
DocPicture olePicture,
OleLinkType oleLinkType)
Appends the OLE object. |
DocOleObject |
appendOleObject(byte[] oleBytes,
DocPicture olePicture,
OleObjectType type)
Appends the OLE object. |
DocOleObject |
appendOleObject(byte[] oleBytes,
DocPicture olePicture,
java.lang.String fileExtension)
Appends the openpackage OLE object (ole object without specified type). |
DocOleObject |
appendOleObject(java.io.InputStream stream,
DocPicture pic,
OleLinkType oleLinkType)
Appends the OLE object into paragraph. |
DocOleObject |
appendOleObject(java.io.InputStream oleStream,
DocPicture olePicture,
OleObjectType type)
Appends the OLE object. |
DocOleObject |
appendOleObject(java.io.InputStream oleStream,
DocPicture olePicture,
java.lang.String fileExtension)
Appends the openpackage OLE object (ole object without specified type). |
DocOleObject |
appendOleObject(java.lang.String pathToFile,
DocPicture olePicture)
Appends the OLE object. |
DocOleObject |
appendOleObject(java.lang.String pathToFile,
DocPicture olePicture,
OleObjectType type)
Appends the OLE object. |
DocPicture |
appendPicture(byte[] imageBytes)
Appends picture to the end of paragraph. |
DocPicture |
appendPicture(java.io.InputStream inputStream)
Appends picture to the end of paragraph. |
DocPicture |
appendPicture(java.lang.String filePath)
Appends picture to the end of paragraph. |
Symbol |
appendSymbol(byte characterCode)
Appends symbol to the end of paragraph. |
TextRange |
appendText(java.lang.String text)
Appends text to the end of paragraph. |
TextBox |
appendTextBox(float width,
float height)
Appends textbox to the end of the paragraph |
TextFormField |
appendTextFormField(java.lang.String defaultText)
Appends the text form field. |
TextFormField |
appendTextFormField(java.lang.String formFieldName,
java.lang.String defaultText)
Appends the text form field. |
TableOfContent |
appendTOC(int lowerHeadingLevel,
int upperHeadingLevel)
Appends the TOC. |
ParagraphBase |
get(int index)
Gets the ParagraphBase at the specified index. |
CharacterFormat |
getBreakCharacterFormat()
Gets the character format for the break symbol. |
ParagraphFormat |
getFormat()
Gets the paragraph format. |
ParagraphItemCollection |
getItems()
Gets the paragraph items. |
ListFormat |
getListFormat()
Gets list formatting for the paragraph. |
ParagraphStyle |
getStyle()
Gets related style. |
java.lang.String |
getText()
Returns paragraph text. |
boolean |
isEndOfDocument()
Gets a value indicating whether this paragraph is end of document. |
boolean |
isEndOfSection()
Gets a value indicating whether this paragraph is end of section. |
boolean |
isInCell()
Gets a value indicating whether this paragraph is in cell. |
void |
removeAbsPosition()
Removes the absolute position data. |
int |
replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord)
Replaces all entries of matchString string with TextRangesHolder, taking into consideration caseSensitive and wholeWord options. |
void |
setText(java.lang.String value)
Sets paragraph text. |
| Methods inherited from interface com.spire.doc.documents.IBodyRegion |
|---|
replace, replace, replace |
| Methods inherited from interface com.spire.doc.interfaces.IDocumentObject |
|---|
deepClone, getDocument, getDocumentObjectType, getNextSibling, getOwner, getPreviousSibling, isComposite |
| Methods inherited from interface com.spire.doc.interfaces.IStyleHolder |
|---|
applyStyle, applyStyle, getStyleName |
| Method Detail |
|---|
java.lang.String getText()
void setText(java.lang.String value)
value - valueParagraphBase get(int index)
ParagraphBase at the specified index.
index - index
ParagraphItemCollection getItems()
ParagraphFormat getFormat()
ListFormat getListFormat()
CharacterFormat getBreakCharacterFormat()
boolean isInCell()
boolean isEndOfSection()
boolean isEndOfDocument()
TextRange appendText(java.lang.String text)
text - the text.
DocPicture appendPicture(java.io.InputStream inputStream)
inputStream - the file input stream
DocPicture appendPicture(java.lang.String filePath)
filePath - the file path
DocPicture appendPicture(byte[] imageBytes)
imageBytes - the image bytes.
Field appendField(java.lang.String fieldName,
FieldType fieldType)
fieldName - name of the field.fieldType - type of the field.
BookmarkStart appendBookmarkStart(java.lang.String name)
name - the name.
BookmarkEnd appendBookmarkEnd(java.lang.String name)
name - the name.
Comment appendComment(java.lang.String text)
text - text
Footnote appendFootnote(FootnoteType type)
type - the type.
TextBox appendTextBox(float width,
float height)
width - textbox widthheight - textbox height
Symbol appendSymbol(byte characterCode)
characterCode - the character code.
Break appendBreak(BreakType breakType)
breakType - type of the break.
void appendHTML(java.lang.String html)
html - the HTML.ParagraphStyle getStyle()
int replace(java.lang.String given,
TextSelection textSelection,
boolean caseSensitive,
boolean wholeWord)
given - the matchString.textSelection - the text selection.caseSensitive - if it specifies case sensitive search, set to wholeWord - if it specifies the whole word to be newValue, set to CheckBoxFormField appendCheckBox()
TextFormField appendTextFormField(java.lang.String defaultText)
defaultText - the default text.
DropDownFormField appendDropDownFormField()
CheckBoxFormField appendCheckBox(java.lang.String checkBoxName,
boolean defaultCheckBoxValue)
checkBoxName - name of the check box.defaultCheckBoxValue - default checkbox value.
TextFormField appendTextFormField(java.lang.String formFieldName,
java.lang.String defaultText)
formFieldName - name of the form field.defaultText - the default text.
DropDownFormField appendDropDownFormField(java.lang.String dropDropDownName)
dropDropDownName - name of the drop drop down
Field appendHyperlink(java.lang.String link,
java.lang.String text,
HyperlinkType type)
link - the link.text - the text to display.type - the hyperlink type.
Field appendHyperlink(java.lang.String link,
DocPicture picture,
HyperlinkType type)
link - the link.picture - the picture to display.type - the type of hyperlink.
void removeAbsPosition()
TableOfContent appendTOC(int lowerHeadingLevel,
int upperHeadingLevel)
lowerHeadingLevel - the lower heading level.upperHeadingLevel - the upper heading level.
DocOleObject appendOleObject(java.io.InputStream oleStream,
DocPicture olePicture,
OleObjectType type)
oleStream - the OLE stream.olePicture - the OLE picture.type - type
DocOleObject appendOleObject(byte[] oleBytes,
DocPicture olePicture,
OleObjectType type)
oleBytes - the OLE bytes.olePicture - the OLE picture.type - type
DocOleObject appendOleObject(java.lang.String pathToFile,
DocPicture olePicture,
OleObjectType type)
pathToFile - the path to file.olePicture - the OLE picture.type - type of the OLE object file
DocOleObject appendOleObject(java.lang.String pathToFile,
DocPicture olePicture)
pathToFile - the path to file.olePicture - the OLE picture.
DocOleObject appendOleObject(java.io.InputStream stream,
DocPicture pic,
OleLinkType oleLinkType)
stream - the OLE storage.pic - the OLE picture.oleLinkType - the type of OLE object link type.
DocOleObject appendOleObject(byte[] oleBytes,
DocPicture olePicture,
OleLinkType oleLinkType)
oleBytes - the OLE storage bytes.olePicture - the OLE picture.oleLinkType - type of the OLE link.
DocOleObject appendOleObject(byte[] oleBytes,
DocPicture olePicture,
java.lang.String fileExtension)
oleBytes - the OLE object bytes.olePicture - the OLE picture.fileExtension - the file extension.
DocOleObject appendOleObject(java.io.InputStream oleStream,
DocPicture olePicture,
java.lang.String fileExtension)
oleStream - the OLE file stream.olePicture - the OLE picturefileExtension - the file extension.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||