aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hpsf/MutableSection.java
Commit message (Collapse)AuthorAgeFilesLines
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-141-43/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808403 13f79535-47bb-0310-9956-ffa450edef68
* #60331 - Remove deprecated classes - deprecate Mutable* property classesAndreas Beeker2016-11-271-668/+12
| | | | | | sonarcube fix - make protected attributes private git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771640 13f79535-47bb-0310-9956-ffa450edef68
* FindBugs fixesAndreas Beeker2015-10-311-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711708 13f79535-47bb-0310-9956-ffa450edef68
* fixed sonar issues and eclipse warningsAndreas Beeker2015-10-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1706742 13f79535-47bb-0310-9956-ffa450edef68
* Fix Eclipse warnings, unnecessary casts, use generics, static access...Dominik Stadler2014-12-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648156 13f79535-47bb-0310-9956-ffa450edef68
* Deprecate the old HPSF codepage Constants list, and change the code to use ↵Nick Burch2013-06-261-7/+6
| | | | | | the new CodePageUtil class instead for their codepage work git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1497035 13f79535-47bb-0310-9956-ffa450edef68
* Remove some generics warnings from the HPSF custom properties and sections partsNick Burch2010-01-131-25/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@898804 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47962 - Fixed some potential NPEs. Avoided unnecessary creation of ↵Josh Micich2009-10-081-27/+26
| | | | | | box instances. Applied patch with mods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@823348 13f79535-47bb-0310-9956-ffa450edef68
* removed '@version $Id:$' tags (all were in javadoc comments)Josh Micich2009-06-011-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@780832 13f79535-47bb-0310-9956-ffa450edef68
* Applying the copy2license.pl script (with tiny modification to allow for ↵Henri Yandell2006-12-221-5/+6
| | | | | | more whitespace than it expects in the POI header) to all files. ant jar succeeds, and the svn diff has been verified by eye. Still more files to do, this is the first pass. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@489730 13f79535-47bb-0310-9956-ffa450edef68
* * Writing support added to the SummaryInformation and ↵Rainer Klute2006-03-031-22/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DocumentSummaryInformation classes. These classes now have methods for setting and removing properties. Coherent extensions are: ** Documentation section about writing standard properties added to the HPSF HOW-TO. ** Example application added showing how to modify the document summary information. ** Testcases added for testing modifying summary information and document summary information. ** PropertySetFactory extended to create SummaryInformation and DocumentSummaryInformation instances. * Added MutablePropertySet.write(DirectoryEntry, String) to ease writing a property set to a POI filesystem document. * Improved codepage handling. * Bug fixed: Integral values were read and written as unsigned instead of signed. * Reworked the mapping between variant types and Java types: Variant.VT_I4 is mapped to Integer now and Variant.VT_I8 to Long. This might cause incompatibilities if you are doing low-level HPSF programming. * Changed SectionIDMap.DOCUMENT_SUMMARY_INFORMATION_ID from a byte[] to a byte[][] in order to contain the format ID of the first and the second section. This is an incompatible change! * Added PropertySet.getFirstSection(). This method is similar to getSingleSection() won't choke if the property set has more than one section. * Support for low-level reading and writing of Variant.VT_I8 type properties added. * Unnecessary casts removed. * Poibrowser's display format changed slightly. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@382887 13f79535-47bb-0310-9956-ffa450edef68
* Bug 34247 fixed. Dictionaries are read with the specified codepage now.Rainer Klute2005-04-011-10/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353636 13f79535-47bb-0310-9956-ffa450edef68
* - A section's size is a multiple of 4 now. The Windows explorer seems to be ↵Rainer Klute2004-08-311-28/+50
| | | | | | | | | constrained to this requirement in order to display custom properties. - Custom properties may be written in character encodings different from Unicode. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353596 13f79535-47bb-0310-9956-ffa450edef68
* Some code and documentation cleanup.Rainer Klute2004-08-151-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353584 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug where a mutable section's format ID was written in the wrong ↵Rainer Klute2004-08-131-1/+7
| | | | | | byte order. Thanks to Bernd Freigang for pointing this out! git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353581 13f79535-47bb-0310-9956-ffa450edef68
* - Fix: HPSF now ensures that string properties are always written with the ↵Rainer Klute2004-06-221-5/+2
| | | | | | | | | | type Variant.VT_LPWSTR instead of Variant.VT_LPSTR if the codepage is 1200 (Unicode). - Code cleanup (propertyCount in MutableSection removed). - Codepage numbers aggregated in the new class org.apache.poi.hpsf.Constants. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353561 13f79535-47bb-0310-9956-ffa450edef68
* - Write properties sorted by property ID now. This hopefully fixes M$ Word ↵Rainer Klute2004-06-091-2/+20
| | | | | | compatibility. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353558 13f79535-47bb-0310-9956-ffa450edef68
* New licence changes.Glen Stampoultzis2004-04-091-54/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
* HPSF: codepage support addedRainer Klute2003-12-021-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353460 13f79535-47bb-0310-9956-ffa450edef68
* - Added Robert Flaherty's method getCustomProperties() (refactored)Rainer Klute2003-10-231-2/+2
| | | | | | | | - Got rid of the PropertySet instance variable sectionCount. Use getSectionCount() instead! - Minor fixes git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353409 13f79535-47bb-0310-9956-ffa450edef68
* These changes introduce the following HPSF enhancements and fixes:Rainer Klute2003-09-181-7/+179
| | | | | | | | | | | - Section dictionaries (aka custom properties) can be written now. - Constructor MutableProperty(PropertySet) sets the class ID correctly now. - Possible invalid section count fixed - More testcases - Cosmetics git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353360 13f79535-47bb-0310-9956-ffa450edef68
* *** empty log message ***Rainer Klute2003-09-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353354 13f79535-47bb-0310-9956-ffa450edef68
* - PropertySetFactory.create(InputStream) no longer throws an ↵Rainer Klute2003-09-131-1/+0
| | | | | | | | | | | UnexpectedPropertySetTypeException. - HPSFRuntimeException is thrown when the application tries to read a non-integer property with Section.getPropertyIntValue(long). - Package description updated. - ClassIDhashCode() implemented. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353349 13f79535-47bb-0310-9956-ffa450edef68
* Writing: API enhanced, bugs fixed, performance improvements, code ↵Rainer Klute2003-09-041-70/+76
| | | | | | simplifications, two new testcases, more int to long promotions. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353341 13f79535-47bb-0310-9956-ffa450edef68
* HPSF writing capability added.Rainer Klute2003-08-301-0/+426
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353321 13f79535-47bb-0310-9956-ffa450edef68