Class PDFImages
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.PDF.PDFImages
-
public class PDFImages extends RenderElement
Group of different PDF images as one RenderElement. There can only be one PDFImages element in the JSON for Cloud Office Print.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PDFImage[]
getImages()
com.google.gson.JsonObject
getJSON()
java.util.Set<java.lang.String>
getTemplateTags()
void
setImages(PDFImage[] images)
-
Methods inherited from class com.cloudofficeprint.RenderElements.RenderElement
getName, getValue, setName, setValue
-
-
-
-
Constructor Detail
-
PDFImages
public PDFImages(PDFImage[] images)
- Parameters:
images
- Group of different PDF images as one RenderElement. There can only be one PDFImage element in the JSON for Cloud Office Print.
-
-
Method Detail
-
getImages
public PDFImage[] getImages()
- Returns:
- The images to add to the PDF.
-
setImages
public void setImages(PDFImage[] images)
- Parameters:
images
- The images to add to the PDF.
-
getJSON
public com.google.gson.JsonObject getJSON()
- Specified by:
getJSON
in classRenderElement
- Returns:
- JSONObject with the tags for this element for the Cloud Office Print server.
-
getTemplateTags
public java.util.Set<java.lang.String> getTemplateTags()
- Specified by:
getTemplateTags
in classRenderElement
- Returns:
- An immutable set containing all available template tags this element can replace.
-
-