Class PDFTexts
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.RenderElement
-
- com.cloudofficeprint.RenderElements.PDF.PDFTexts
-
public class PDFTexts extends RenderElement
Group of different PDF texts as one RenderElement. There can only be one PDFTexts element in the JSON for Cloud Office Print.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gson.JsonObject
getJSON()
java.util.Set<java.lang.String>
getTemplateTags()
PDFText[]
getTexts()
void
setTexts(PDFText[] texts)
-
Methods inherited from class com.cloudofficeprint.RenderElements.RenderElement
getName, getValue, setName, setValue
-
-
-
-
Constructor Detail
-
PDFTexts
public PDFTexts(PDFText[] texts)
- Parameters:
texts
- Group of different PDF texts as one RenderElement. There can only be one PDFTexts element in the JSON for AOP.
-
-
Method Detail
-
getTexts
public PDFText[] getTexts()
- Returns:
- The texts to add to the PDF.
-
setTexts
public void setTexts(PDFText[] texts)
- Parameters:
texts
- The texts 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.
-
-