Class PPDrawing

  • public final class PPDrawing
    extends RecordAtom
    These are actually wrappers onto Escher drawings. Make use of the DDF classes to do useful things with them. For now, creates a tree of the Escher records, and then creates any PowerPoint (hslf) records found within the EscherTextboxRecord (msofbtClientTextbox) records. Also provides easy access to the EscherTextboxRecords, so that their text may be extracted and used in Sheets
    • Constructor Detail

      • PPDrawing

        public PPDrawing()
        Creates a new, empty, PPDrawing (typically for use with a new Slide or Notes)
    • Method Detail

      • getEscherRecords

        public java.util.List<EscherRecord> getEscherRecords()
        Get access to the underlying Escher Records
      • getTextboxWrappers

        public EscherTextboxWrapper[] getTextboxWrappers()
        Get access to the atoms inside Textboxes
      • getRecordType

        public long getRecordType()
        We are type 1036
        Specified by:
        getRecordType in class Record
      • writeOut

        public void writeOut​( out)
        Write the contents of the record back, so it can be written to disk Walks the escher layer to get the contents
        Specified by:
        writeOut in class Record
      • addTextboxWrapper

        public void addTextboxWrapper​(EscherTextboxWrapper txtbox)
        Add a new EscherTextboxWrapper to this PPDrawing.
      • getDgContainer

        public EscherContainerRecord getDgContainer()
        the container record for drawings
        POI 3.14-Beta2
      • getEscherDgRecord

        public EscherDgRecord getEscherDgRecord()
        Return EscherDgRecord which keeps track of the number of shapes and shapeId in this drawing group