|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPortion
Represents a portion of text inside a text paragraph.
Method Summary | |
---|---|
void |
addField(IFieldType fieldType)
Converts this portion to the automaticaly updated field. |
void |
addField(java.lang.String internalString)
Converts this portion to the automaticaly updated field. |
IPortionFormatEffectiveData |
createPortionFormatEffective()
Creates and returns IPortionFormatEffectiveData object which contains
current portion formatting properties, including inherited. |
IField |
getField()
Returns a field of this portion. |
IPortionFormat |
getPortionFormat()
Returns formatting object which contains explicitly set formatting properties of the text portion with no inheritance applied. |
java.lang.String |
getText()
Gets or sets the plain text of a portion. |
void |
removeField()
Converts this field portion to the simple portion. |
void |
setText(java.lang.String value)
Gets or sets the plain text of a portion. |
Methods inherited from interface com.aspose.slides.ISlideComponent |
---|
getSlide |
Methods inherited from interface com.aspose.slides.IPresentationComponent |
---|
getPresentation |
Method Detail |
---|
IPortionFormat getPortionFormat()
Returns formatting object which contains explicitly set formatting properties of the text portion with no inheritance applied.
Read-only IPortionFormat
.
The formatting object contains the formatting parameters defined for the current portion only, inherited data is not applied.
In order to get the effective values including inherited ones use the CreatePortionFormatEffective
method.
IPortionFormatEffectiveData createPortionFormatEffective()
Creates and returns IPortionFormatEffectiveData
object which contains
current portion formatting properties, including inherited.
IPortionFormatEffectiveData
instance.java.lang.String getText()
Gets or sets the plain text of a portion.
Read/write String
.
void setText(java.lang.String value)
Gets or sets the plain text of a portion.
Read/write String
.
IField getField()
Returns a field of this portion.
Read-only IField
.
void addField(IFieldType fieldType)
Converts this portion to the automaticaly updated field.
void addField(java.lang.String internalString)
Converts this portion to the automaticaly updated field.
internalString
- Internal name of FieldTypeEx.void removeField()
Converts this field portion to the simple portion.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |