add setOutputPassword for HSLFSlideShow and HWPFDocument#1050
Merged
pjfanning merged 7 commits intoapache:trunkfrom Apr 23, 2026
Merged
add setOutputPassword for HSLFSlideShow and HWPFDocument#1050pjfanning merged 7 commits intoapache:trunkfrom
pjfanning merged 7 commits intoapache:trunkfrom
Conversation
…Show/HWPFDocument Agent-Logs-Url: https://github.com/pjfanning/poi/sessions/c3e970da-a269-4a43-b2ce-1cabede8daee Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>
…add updateEncryptionRecord overload Agent-Logs-Url: https://github.com/pjfanning/poi/sessions/badb4a65-eb67-4c7f-af19-c30f8f2b20aa Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
setOutputPasswordtoHSLFSlideShowandHSLFSlideShowImplsetOutputPasswordtoHWPFDocumentCoreHSLFSlideShowEncrypted:updateEncryptionRecord(records, password)overload that takes password directlyupdateEncryptionRecord(records)(which reads fromBiff8EncryptionKey)HSLFSlideShowImpl.write():Biff8EncryptionKeymanipulation (set/restore)_outputPassword→Biff8EncryptionKeyfallback, constructor password NOT used)updateEncryptionRecord(records, password)overload directlysetOutputPassword()HSLFSlideShow.setOutputPassword(): updated javadocHWPFDocumentCore.updateEncryptionInfo():_password(constructor password) from the fallback chain_outputPasswordChars→Biff8EncryptionKey.getCurrentUserPassword()setOutputPassword()