Commit Graph

1964 Commits

Author SHA1 Message Date
Yegor Kozlov
c52a8b10af Rich text in HSSFTextbox must have at least one format run. Make sure it is so and apply th default fopnt if no formats were applied.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648623 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 08:43:08 +00:00
Yegor Kozlov
9b786497f8 bug #41071 is fixed in trunk. Added a unit test and resolved.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648589 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 07:47:16 +00:00
Josh Micich
35d89933c9 Conditional Formatting (30311) - API improvements, added HSSFSheetConditionalFormatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648334 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 17:07:06 +00:00
Nick Burch
a51afa06f4 Nice and small change here... Update the formula parser code to use usermodel.HSSFWorkbook instead of model.Workbook. This should keep things a bit cleaner, and make it much easier for the formula code to work with XSSF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648303 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 16:00:50 +00:00
Yegor Kozlov
437dc3b77d Improved factoring of ppt objects. For ppt tabels Slide.getShapes() returns the Table object (was ShapeGroup)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648276 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:12:58 +00:00
Yegor Kozlov
e643ec7129 TextSpecInfoAtom is present in PPT 2003+. When the text is changed we must update this record, otherwise the ppt becomes corrupted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648274 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 15:11:13 +00:00
Yegor Kozlov
0d790c922c start improving handling of resources in HSLF. PPFont object represents a font in a presenatation.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 10:05:22 +00:00
Yegor Kozlov
149e87cda0 TextShape is a common superclass of all shapes that can hold text. The subclasses are TextBox and AutoShape.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@648156 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 07:54:20 +00:00
Yegor Kozlov
82bb0bc7ef make sure all hslf classes use POI loggers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647824 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 14:58:18 +00:00
Nick Burch
a23a1f11fc Switch to using our own logger, rather than the commons one
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647738 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 11:47:47 +00:00
Yegor Kozlov
7bf8c0afbe misc usermodel improvements. Also added the source code for the ApacheconEU08 FFT presentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647713 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 09:21:57 +00:00
Yegor Kozlov
874b349c58 use commons logging throughout the code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647712 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 09:20:20 +00:00
Nick Burch
0d7b9ae941 Add information of EventBasedExcelExtractor to the documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647577 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 15:13:17 +00:00
Nick Burch
5a36ce6ec3 Finish off eventusermodel based Excel Extractor, and update the xls to csv converter (moved to correct place) based on discoveries for the text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647576 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 15:09:42 +00:00
Nick Burch
497c9eb3c6 Start on a eventusermodel based excel text extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647574 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 14:58:27 +00:00
Nick Burch
205b021a27 Various new bits of documentation on embeded files and text extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647567 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 13:16:36 +00:00
Josh Micich
6f04c746ac fixed typo and formatting in class javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647278 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 19:36:37 +00:00
Nick Burch
3e3895049c Update HSLFSlideShow and HSSFWorkbook to take advantage of POIFS updates, and allow reading embeded documents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647186 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 14:43:05 +00:00
Nick Burch
425305fd67 Update the sample embeded documents to be from know sources, so we can test better
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@647152 13f79535-47bb-0310-9956-ffa450edef68
2008-04-11 13:04:11 +00:00
Nick Burch
beed69a11e Improve how POIFS works with directory entries, and update HWPFDocument to support reading an embeded word document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646870 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 16:59:10 +00:00
Nick Burch
f8c6a52a2c Initial support for getting and changing chart titles and series titles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646854 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 15:54:02 +00:00
Josh Micich
7024f8896e bugzilla 44792 - fixed encode/decode problems in ExternalNameRecord and CRNRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646666 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 07:06:55 +00:00
Nick Burch
63409a6647 Implement a proxy HSSFListener which tracks the format records, and lets you lookup the format string for a given cell. Convert the xls to csv example to use it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646405 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:36:39 +00:00
Nick Burch
3a7871a2dd Provide a common ole2 implementation of POITextExtractor, which gives access to the document metadata
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646312 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 12:46:42 +00:00
Josh Micich
08802e667e some more tweaks for bug 30311. Set some (unused) bits in FontFormatting to match Excel.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@646194 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 05:56:50 +00:00
Yegor Kozlov
e534579881 fix bug #44770: RuntimeException: Couldn't instantiate the class for type with id 1036 on class class org.apache.poi.hslf.record.PPDrawing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645952 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 14:49:59 +00:00
Yegor Kozlov
3174b1bf34 misc usermodel improvements in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645567 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:35:49 +00:00
Yegor Kozlov
4e58d9cff9 empty.ppt with the master styles compatible with PPT 2003
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645566 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:34:53 +00:00
Nick Burch
0d6a3d651d Fix 43670, 44501 - Fix how HDGF deals with trailing data in the list of chunk headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645560 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:20:57 +00:00
Josh Micich
05eb15b87e 30311 - More work on Conditional Formatting - patch from Dmitriy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645352 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:23:04 +00:00
Josh Micich
27761348b9 refactored all hssf junits to get test sample data in the in one place
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@645348 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 03:02:03 +00:00
Josh Micich
1051e2853c Follow up fix after r644473 (bug 44739) TestHSSFConditionalFormatting had a bug and wasn't yet included in the test suite hierarchy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644509 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 21:17:26 +00:00
Josh Micich
dff9b26565 Fix for bug 44739 - Conditional formatting (regions with max row/col index)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644473 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 20:25:53 +00:00
Nick Burch
78c69f1230 Make a bit of a start on being able to edit chart titles, based on the email to user@poi from Russ on the 2nd of April. Not quite there though
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@644343 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 15:04:52 +00:00
Yegor Kozlov
a4cb19f0e8 Fixed inconsistency between HSSFSHeet.getColumnWidth and HSSFSheet.getDefaultColumnWidth: getColumnWidth should always return width measured in 1/256th units.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643834 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 10:25:18 +00:00
Yegor Kozlov
65c16252b7 added set accessor to indentation level
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643831 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 10:20:31 +00:00
Rainer Klute
6f72f010bb Restored an entry that had been deleted by chance.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643672 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 00:55:52 +00:00
Rainer Klute
5c7ca6b786 44694 - HPSF: Support for property sets without sections
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643670 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 00:50:45 +00:00
Josh Micich
b0825f0e98 fix for bug 44710 - Incorrect skip() of second formula in DATAVALIDATION record
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643654 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 23:53:51 +00:00
Josh Micich
e6fb5e7d7b Bug #44733 - DPRODUCT function should be index 189, not 191
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@643625 13f79535-47bb-0310-9956-ffa450edef68
2008-04-01 22:18:25 +00:00
Yegor Kozlov
a3af5d5ddc Implement Sheet.removeShape(Shape shape) in HSLF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642946 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 09:58:27 +00:00
Josh Micich
5b0efa8e57 changes/status for #44675, #44695, #44691
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642904 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 06:55:04 +00:00
Josh Micich
ede1814a1d silenced noisy tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642891 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:56:11 +00:00
Josh Micich
9f66b9c5f4 removed incorrect test case methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642880 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:19:00 +00:00
Josh Micich
05fb78c5d4 More work on Conditional Formatting (bug 30311) junit and fixes from Dmitriy. Some other clean-up.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642878 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 05:10:35 +00:00
Nick Burch
37e1487670 Update Formula test spreadsheet for count, and also do a copy as an ooxml .xlsx file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642738 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 13:40:34 +00:00
Nick Burch
4451a53ad3 Count implementation from ooxml branch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642737 13f79535-47bb-0310-9956-ffa450edef68
2008-03-30 13:39:51 +00:00
Nick Burch
603e445dce Documentation update
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642575 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 18:27:08 +00:00
Nick Burch
ef5d5cb3d4 Move the FormulaEvaluator code out of scratchpad
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642574 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 18:23:33 +00:00
Nick Burch
0b41e55761 Merge several bug tests into one file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@642571 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 18:11:48 +00:00