Package com.datalogics.PDFL
Class Group
java.lang.Object
com.datalogics.PDFL.Element
com.datalogics.PDFL.Group
A set of elements to be used within a PDF document. A Group represents objects in a content object, but it resides in memory.
Therefore the group has no state and is not represented in any way in a PDF content stream. When used in a Clip, a group is used to associate Text objects into a single clipping object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Makes a copy of the group.clone(EnumSet<ElementCloneFlags> cloneFlags) Makes a copy of the group.colorConvert(Document document, ColorProfile prof, RenderIntent intent, boolean embed) Applies the specified ICC ColorProfile to the elements in the Group objectvoiddelete()Obtain the content of a Group.voidsetContent(Content content) Set the content of a Group.
-
Constructor Details
-
Group
public Group()Create a new Group. -
Group
Create a Group with the given Content.- Parameters:
content- The new Content of the group.
-
-
Method Details
-
delete
public void delete() -
setContent
Set the content of a Group.- Parameters:
content- The new Content of the group.
-
getContent
Obtain the content of a Group. -
clone
Makes a copy of the group.Make a copy of an group to obtain a new group that has a distinct set of attributes.
-
clone
Makes a copy of the group.Make a copy of an group to obtain a new group that has a distinct set of attributes.
-
colorConvert
Applies the specified ICC ColorProfile to the elements in the Group object- Parameters:
document- The document the element belongs to.prof- The ICC ColorProfile to be applied.intent- The ICC Rendering Intent for the ColorProfileembed- If true, embed the color space and make the object calibrated. If it is false and the target profile is CMYK, RGB, or Gray, the colors space of the resulting objects, after conversion, will be DeviceCMYK, DeviceRGB, or DeviceGray, respectively.- Returns:
- A new Group object with the applied ICC ColorProfile.
-