[GitHub] poi pull request #103: hsmf: support writing properties, fix reading embedde...

2018-04-01 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/poi/pull/103


---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[GitHub] poi pull request #103: hsmf: support writing properties, fix reading embedde...

2018-03-15 Thread dhoelzl
GitHub user dhoelzl opened a pull request:

https://github.com/apache/poi/pull/103

hsmf: support writing properties, fix reading embedded message properties, 
support getting actual type of property value

Hello!

I have found a problem reading properties chunks of embedded/attached MSGs 
inside a MSG file.
There are 8 bytes less reserved bytes in the header sequence.

Further I have added support for writing message properties chunks and 
getting the actual property type (not only the usual type) and the raw bytes 
value from a property value.

This ca be e.g. used when extracting embedded/attached MSGs from a MSG file.

* MessagePropertiesChunk: Fix reading properties from embedded/attached MSG
* Add support for writing MessagePropertiesChunk
* PropertyValue: Add support for getting the actual property type and 
getting the raw bytes

Regards,
Dominik

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/dhoelzl/poi trunk

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/poi/pull/103.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #103


commit 029e910186d18f71af5cc7f50a260c2dc59a6a3e
Author: Dominik Hölzl 
Date:   2018-03-15T16:58:39Z

hsmf: support writing properties, fix reading embedded message properties, 
support getting actual type of property value

* Add support for writing MessagePropertiesChunk
* MessagePropertiesChunk: Fix reading properties from embedded/attached MSG
* PropertyValue: Add support for getting the actual property type and 
getting the raw bytes




---

-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org