|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IContentEntity
Generic content entity.
It provides common ways to convert any content into content stream objects.
Method Summary | |
---|---|
ContentObject |
toInlineObject(PrimitiveComposer composer)
Converts this entity to its equivalent inline (dependent) object representation [PDF:1.6:4.8.6]. |
XObject |
toXObject(Document context)
Converts this entity to its equivalent external (independent) object representation [PDF:1.6:4.7]. |
Method Detail |
---|
ContentObject toInlineObject(PrimitiveComposer composer)
This method creates and shows an inline object within the target content context, returning it.
Due to its direct-content nature (opposite to the indirect-content nature of
external objects (see toXObject(Document)
)), the resulting object should be shown
only one time in order not to wastefully duplicate its data.
composer
- Target content composer.
XObject toXObject(Document context)
This method creates an external object within the target document, returning it. To show it
in a content context (for example: a page), then it must be applied in an appropriate manner (see
PrimitiveComposer
object).
context
- Target document.
|
PDF Clown 0.1.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |