Class RMTextShapePdfr<T extends RMTextShape>
- java.lang.Object
- 
- com.inductiveautomation.rm.pdf.writer.RMObjectPdfr<T>
- 
- com.inductiveautomation.rm.pdf.writer.RMShapePdfr<T>
- 
- com.inductiveautomation.rm.pdf.writer.RMTextShapePdfr<T>
 
 
 
- 
 public class RMTextShapePdfr<T extends RMTextShape> extends RMShapePdfr<T> This class generates PDF for an RMText. This would be a simple matter of using the PDF set-font and show-text operators, except that we need to embed PDF type3 fonts (really char paths) for all chars printed in non-standard fonts. We do this by tracking used chars in the PDFText.FontEntry class. Used chars in the ASCII range (0-255) make up a base font "Font0", while chars beyond 255 get written out as separate PDF fonts for each block of 256 ("Font0.1", "Font0.2", etc.).
- 
- 
Constructor SummaryConstructors Constructor Description RMTextShapePdfr()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidwriteRun(RMTextShape aText, RMTextRun aRun, RMTextRun aLastRun, RMPDFWriter aWriter)Writes the given text run.protected voidwriteShape(T aTextShape, RMPDFWriter aWriter)Writes a given RMShape hierarchy to a PDF file (recursively).- 
Methods inherited from class com.inductiveautomation.rm.pdf.writer.RMShapePdfrgetPdfr, writePDF, writeShapeAfter, writeShapeAll, writeShapeBefore, writeShapeChildren
 - 
Methods inherited from class com.inductiveautomation.rm.pdf.writer.RMObjectPdfrgetPdfr
 
- 
 
- 
- 
- 
Method Detail- 
writeShapeprotected void writeShape(T aTextShape, RMPDFWriter aWriter) Writes a given RMShape hierarchy to a PDF file (recursively).- Overrides:
- writeShapein class- RMShapePdfr<T extends RMTextShape>
 
 - 
writeRunpublic void writeRun(RMTextShape aText, RMTextRun aRun, RMTextRun aLastRun, RMPDFWriter aWriter) Writes the given text run.
 
- 
 
-