Class HSLFSlideShowEncrypted

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    @Internal
    public class HSLFSlideShowEncrypted
    extends java.lang.Object
    implements java.io.Closeable
    This class provides helper functions for encrypted PowerPoint documents.
    • Constructor Detail

      • HSLFSlideShowEncrypted

        protected HSLFSlideShowEncrypted​(byte[] docstream,
                                         java.util.NavigableMap<java.lang.Integer,​Record> recordMap)
    • Method Detail

      • encryptRecord

        protected java.io.OutputStream encryptRecord​(java.io.OutputStream plainStream,
                                                     int persistId,
                                                     Record record)
      • decryptRecord

        protected void decryptRecord​(byte[] docstream,
                                     int persistId,
                                     int offset)
      • decryptPicture

        protected void decryptPicture​(byte[] pictstream,
                                      int offset)
      • encryptPicture

        protected void encryptPicture​(byte[] pictstream,
                                      int offset)
      • updateEncryptionRecord

        protected Record[] updateEncryptionRecord​(Record[] records)
      • removeEncryptionRecord

        protected static Record[] removeEncryptionRecord​(Record[] records)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException