Class TextToPdfContentTransformer

    • Constructor Detail

      • TextToPdfContentTransformer

        public TextToPdfContentTransformer()
    • Method Detail

      • setStandardFont

        public void setStandardFont​(java.lang.String fontName)
      • setFontSize

        public void setFontSize​(int fontSize)
      • transformInternal

        protected void transformInternal​(org.alfresco.service.cmr.repository.ContentReader reader,
                                         org.alfresco.service.cmr.repository.ContentWriter writer,
                                         TransformationOptions options)
                                  throws java.lang.Exception
        Description copied from class: AbstractContentTransformer2
        Method to be implemented by subclasses wishing to make use of the common infrastructural code provided by this class.
        Specified by:
        transformInternal in class AbstractContentTransformer2
        Parameters:
        reader - the source of the content to transform
        writer - the target to which to write the transformed content
        options - a map of options to use when performing the transformation. The map will never be null.
        Throws:
        java.lang.Exception - exceptions will be handled by this class - subclasses can throw anything
      • buildReader

        protected java.io.InputStreamReader buildReader​(java.io.InputStream is,
                                                        java.lang.String encoding,
                                                        java.lang.String node)