Commit Graph

105 Commits

Author SHA1 Message Date
Mark Emlyn David Thomas
346cacfbe3 Add standard licence header for src/examples directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@496525 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 22:44:18 +00:00
Nick Burch
e423cc45ed Comment support from bug 41198, patch from Yegor
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@491629 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 21:02:22 +00:00
Henri Yandell
fca4623791 Applying the copy2license.pl script (with tiny modification to allow for 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
2006-12-22 19:18:16 +00:00
Glen Stampoultzis
bea0a04d24 Support for line thicknes through escher graphics 2d interface.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@398044 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 00:18:16 +00:00
Rainer Klute
bb7ebd3492 * Writing support added to the SummaryInformation and 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
2006-03-03 16:57:55 +00:00
Rainer Klute
c6108bfa64 Minor API doc changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@374728 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:08:14 +00:00
Glen Stampoultzis
0aaf734131 There seems to be a bug with the current implementation that causes problems if you create a row but no sells. This just works around that bug.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353670 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:05:09 +00:00
Glen Stampoultzis
77cbf81c55 Minor mod - keep original
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353669 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 13:04:29 +00:00
Glen Stampoultzis
b94ddd0e9f Added image support for POI. See the quick guide for details. Sponsored through superlink software.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353660 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 11:26:18 +00:00
Rainer Klute
68c9b04b37 - Compiling POI now includes the example classes.
- Javadoc now includes the example classes.
- Added usage instructions to the POI Browser documentation.
- Added references to the examples and the contributed software to the POI overview.
- Added a missing import to an HPSF example class.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353626 13f79535-47bb-0310-9956-ffa450edef68
2005-01-25 20:08:18 +00:00
Glen Stampoultzis
dbacc2b8f3 Centralized creation of temp files and made the default operation to delete on exit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353606 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 05:49:01 +00:00
Glen Stampoultzis
ccee8a80af Even though this is just a simple example it's probably not a good idea to not close the streams correctly.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353602 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 00:42:43 +00:00
Rainer Klute
cdf6826011 Typo fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353591 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 16:56:46 +00:00
Glen Stampoultzis
550682d2b3 Bugzilla Bug 29976 [PATCH] HSSF hyperlink formula size problem
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353589 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 03:17:56 +00:00
Glen Stampoultzis
eeef2a1b12 Merged REL_2_BRANCH to head.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353586 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 08:52:54 +00:00
Rainer Klute
13dd384a09 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353563 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 16:16:33 +00:00
Rainer Klute
efa4e1efb2 - Important fix to actually place the property into the property set.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353560 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 15:36:17 +00:00
Rainer Klute
c2afff5aa3 - Usage message fixed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353557 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 17:50:48 +00:00
Glen Stampoultzis
a4047ad573 New licence changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353545 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 13:05:39 +00:00
Glen Stampoultzis
d335e740b6 Ported the drawing stuff from the rel_2_branch. Given the effort this took I'm really really wanting to move to subversion.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353542 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 11:45:38 +00:00
Rainer Klute
131bb9d0bd HPSF: codepage support added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353460 13f79535-47bb-0310-9956-ffa450edef68
2003-12-02 17:46:01 +00:00
Rainer Klute
8bd4b39387 - Comparing sections refined: For the dictionary (property 0) only the value (Map) is relevant. The dictionary's codepage (property 1) is disregarded.
- New sample application CopyCompare. I'll turn that into a testcase later.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353362 13f79535-47bb-0310-9956-ffa450edef68
2003-09-20 15:43:08 +00:00
Rainer Klute
61f780dba8 These changes introduce the following HPSF enhancements and fixes:
- 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
2003-09-18 18:56:35 +00:00
Rainer Klute
24de462cba *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353352 13f79535-47bb-0310-9956-ffa450edef68
2003-09-15 20:13:45 +00:00
Rainer Klute
a16074257a Sample programs for writing properties using HPSF added
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353348 13f79535-47bb-0310-9956-ffa450edef68
2003-09-13 12:18:34 +00:00
Rainer Klute
fe4ce38e62 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353333 13f79535-47bb-0310-9956-ffa450edef68
2003-09-01 18:54:23 +00:00
Glen Stampoultzis
64967ec532 Changed copyright from 2002 to 2003
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353070 13f79535-47bb-0310-9956-ffa450edef68
2003-04-30 04:39:21 +00:00
Rainer Klute
3639f502a4 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353008 13f79535-47bb-0310-9956-ffa450edef68
2003-02-20 17:51:37 +00:00
Glen Stampoultzis
8d97fa765a Support for freezepanes / split panes / header rows and columns on printouts... see documentation for details.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353002 13f79535-47bb-0310-9956-ffa450edef68
2003-02-06 10:29:45 +00:00
Rainer Klute
000f541cf1 HPSF sample program showing how to read custom property sets.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352998 13f79535-47bb-0310-9956-ffa450edef68
2003-02-02 05:54:09 +00:00
Rainer Klute
3e92d231f4 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352996 13f79535-47bb-0310-9956-ffa450edef68
2003-02-01 13:30:55 +00:00
Avik Sengupta
7c7cbf0a20 Example JSP page using POI/HSSF, submitted by brian westrich
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352989 13f79535-47bb-0310-9956-ffa450edef68
2003-01-26 20:43:02 +00:00
Andrew C. Oliver
8351737023 event record factory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352913 13f79535-47bb-0310-9956-ffa450edef68
2002-11-11 01:34:01 +00:00
Andrew C. Oliver
7000fe4dfb removing for now so that the nightly build will run. Please recommit this
once you figure out what to do for the build.  I think maybe this should go
in contrib with the conveinience functiosn so that the main build isn't
dependant upon contrib...
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352873 13f79535-47bb-0310-9956-ffa450edef68
2002-10-01 20:19:54 +00:00
Glen Stampoultzis
f4440a1c3c Expanded example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352863 13f79535-47bb-0310-9956-ffa450edef68
2002-09-30 23:20:35 +00:00
Glen Stampoultzis
50477722f8 Added a new example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352861 13f79535-47bb-0310-9956-ffa450edef68
2002-09-29 23:59:33 +00:00
Andrew C. Oliver
9f435bb6e8 custom data formats patch: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11068
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352825 13f79535-47bb-0310-9956-ffa450edef68
2002-08-15 14:13:34 +00:00
Glen Stampoultzis
a0e69e8969 Somehow this example went completely missing... oops
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352788 13f79535-47bb-0310-9956-ffa450edef68
2002-07-20 11:53:54 +00:00
Glen Stampoultzis
5140e0261d Merged from 1.5 (SST fixes).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352665 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 12:48:34 +00:00
Glen Stampoultzis
f74b254a40 Fix examples and updated documentation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352556 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 11:08:22 +00:00
Nicola Ken Barozzi
f0f7cd2500 Update of Krysalis Centipede build system to version 1.0-dev
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352315 13f79535-47bb-0310-9956-ffa450edef68
2002-04-03 22:31:45 +00:00
Glen Stampoultzis
b35ea3c6e6 Examples update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352297 13f79535-47bb-0310-9956-ffa450edef68
2002-03-30 06:11:31 +00:00
Glen Stampoultzis
c89676717d Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352293 13f79535-47bb-0310-9956-ffa450edef68
2002-03-28 10:35:38 +00:00
Glen Stampoultzis
5896b13ce4 Extra examples
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352220 13f79535-47bb-0310-9956-ffa450edef68
2002-03-15 12:01:58 +00:00
Glen Stampoultzis
48178f1ae2 Forgot the license
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352209 13f79535-47bb-0310-9956-ffa450edef68
2002-03-12 10:54:56 +00:00
Glen Stampoultzis
db77a6a8dc Small correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352206 13f79535-47bb-0310-9956-ffa450edef68
2002-03-12 10:39:49 +00:00
Glen Stampoultzis
6a3ce6a80d Merged region example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352205 13f79535-47bb-0310-9956-ffa450edef68
2002-03-12 10:38:26 +00:00
Andrew C. Oliver
14940151f7 I got your back brother glen!
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352204 13f79535-47bb-0310-9956-ffa450edef68
2002-03-12 01:01:09 +00:00
Glen Stampoultzis
7355b8fa09 Small update to the border bug.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352201 13f79535-47bb-0310-9956-ffa450edef68
2002-03-11 01:46:47 +00:00
Glen Stampoultzis
490a7eab7f Slight change to sheet example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352171 13f79535-47bb-0310-9956-ffa450edef68
2002-03-10 12:00:57 +00:00
Glen Stampoultzis
14f47e5567 Added fill example and added fill constants
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352135 13f79535-47bb-0310-9956-ffa450edef68
2002-03-03 09:27:13 +00:00
Glen Stampoultzis
a45ba54cb8 Forgot license
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352133 13f79535-47bb-0310-9956-ffa450edef68
2002-03-03 01:15:08 +00:00
Glen Stampoultzis
2b86f81e00 Removed unncessary import
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352132 13f79535-47bb-0310-9956-ffa450edef68
2002-03-03 00:48:32 +00:00
Glen Stampoultzis
decda40702 New example
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352131 13f79535-47bb-0310-9956-ffa450edef68
2002-03-03 00:48:17 +00:00
Glen Stampoultzis
bf0fc069d4 Moved examples and updated build to produce an examples jar file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352120 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 11:07:27 +00:00