PortionFactory

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IPortionFactory

public class PortionFactory implements IPortionFactory

Allows to create test portions


For COM comparibility

Constructors

Constructor Description
PortionFactory()

Methods

Method Description
createPortion() Creates an empty text portion.
createPortion(String str) Creates a text portion from specified string.
createPortion(IPortion portion) Creates a portion with the using of a specified portion data.

PortionFactory()

public PortionFactory()

createPortion()

public final IPortion createPortion()

Creates an empty text portion.

Returns: IPortion - Portion.

createPortion(String str)

public final IPortion createPortion(String str)

Creates a text portion from specified string.

Parameters:

Parameter Type Description
str java.lang.String String.

Returns: IPortion - Portion.

createPortion(IPortion portion)

public final IPortion createPortion(IPortion portion)

Creates a portion with the using of a specified portion data.

Parameters:

Parameter Type Description
portion IPortion A portion to use.

Returns: IPortion - Portion.