Class Formula


  • public class Formula
    extends RenderElement
    Only supported in Excel. This class represents an Excel formula. Note that no validation is performed on this formula.
    • Constructor Summary

      Constructors 
      Constructor Description
      Formula​(java.lang.String name, java.lang.String formula)
      Represents an Excel formula.
    • Constructor Detail

      • Formula

        public Formula​(java.lang.String name,
                       java.lang.String formula)
        Represents an Excel formula. Note that no validation is performed on this formula.
        Parameters:
        name - Name of the formula for the tag.
        formula - Excel formula to replace the tag with.
    • Method Detail

      • getJSON

        public com.google.gson.JsonObject getJSON()
        Specified by:
        getJSON in class RenderElement
        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 class RenderElement
        Returns:
        An immutable set containing all available template tags this element can replace.