Re[2]: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread Yegor Kozlov
We still have files without the proper ASF header.

Run the following command from the trunk directory:

$grep -rL Licensed to the Apache Software Foundation . | grep .java$ 

./src/java/org/apache/poi/ddf/EscherBitmapBlip.java
./src/java/org/apache/poi/hpsf/SummaryInformation.java
./src/java/org/apache/poi/hssf/record/aggregates/ColumnInfoRecordsAggregate.java
./src/java/org/apache/poi/hssf/usermodel/HSSFPicture.java
./src/java/org/apache/poi/util/DoubleList2d.java
./src/java/org/apache/poi/util/IntList2d.java
./src/java/org/apache/poi/util/List2d.java
./src/scratchpad/src/org/apache/poi/hslf/model/MasterSheet.java
./src/scratchpad/src/org/apache/poi/hslf/model/Picture.java
./src/scratchpad/src/org/apache/poi/hslf/record/Comment2000.java
./src/scratchpad/src/org/apache/poi/hslf/record/CString.java
./src/scratchpad/src/org/apache/poi/hslf/record/ParentAwareRecord.java
./src/scratchpad/src/org/apache/poi/hslf/record/PPDrawingGroup.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AddEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/Area2DEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/Area3DEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/AreaEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/BlankEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/BoolEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ConcatEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/DivideEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/EqualEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ErrorEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/Eval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/FunctionEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/FuncVarEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/GreaterEqualEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/GreaterThanEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/LessEqualEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/LessThanEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/MultiplyEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/NotEqualEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/NumberEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/NumericOperationEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/NumericValueEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/OperationEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/PowerEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/Ref2DEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/Ref3DEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RefEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/RelationalOperationEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringOperationEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/StringValueEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/SubtractEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/UnaryMinusEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/UnaryPlusEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEval.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/eval/ValueEvalToNumericXlator.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Abs.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Absref.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Acos.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Acosh.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Activecell.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Address.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/And.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Areas.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Argument.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Asc.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Asin.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Asinh.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Atan.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Atan2.java
./src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/Atanh.java

Bug 41064

2007-01-15 Thread julien . kirch

Hi

could a developper have a look at bug 41064, I have provided a patch and
would now if it's valid before releasing the patched version ?

Thanks

Julien Kirch


This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 30310] - File with cell comments won't open in Excel

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30310.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30310


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 01:39 ---
Should work now. See Bug 41242 for the details.

Yegor

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 22872] - [RFE]: inserting of dinamicaly made picture

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=22872.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=22872


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 01:44 ---
Implemented.
HSSFWorkbook.addPicture  adds a picture to a workbook. See the docs and 
examples.

Regards,
Yegor

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread Martin van den Bemt
I have add you to the jakarta-poi group.. Let me know if there are any 
problems..

Mvgr,
Martin

Mark Thomas wrote:
 Andrew C. Oliver wrote:
 Oh nm.  Didn't see the @apache.org address.  Can you please state that
 you are not bound and have never been bound by an NDA or other such
 exclusionary agreement with Microsoft?  If so I remove my objection.

 -andy
 
 I am not, and have never been, bound by an NDA or other such
 exclusionary agreement with Microsoft.
 
 Mark
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 Mailing List:http://jakarta.apache.org/site/mail2.html#poi
 The Apache Jakarta POI Project: http://jakarta.apache.org/poi/
 
 
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 41366] - [HSSF] Bugzilla cleanup

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41366.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41366





--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 04:29 ---
Created an attachment (id=19404)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19404action=view)
more unit tests added to org.apache.poi.hssf.usermodel.TestBugs


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



DO NOT REPLY [Bug 41366] - [HSSF] Bugzilla cleanup

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41366.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41366





--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 04:30 ---
Created an attachment (id=19405)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19405action=view)
test xls files to add to HSSF.testdata.path


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496307 - /jakarta/poi/trunk/changelog.xsl

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 05:16:45 2007
New Revision: 496307

URL: http://svn.apache.org/viewvc?view=revrev=496307
Log:
Remove copyright notice - it is now in the notice file.

Modified:
jakarta/poi/trunk/changelog.xsl

Modified: jakarta/poi/trunk/changelog.xsl
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/changelog.xsl?view=diffrev=496307r1=496306r2=496307
==
--- jakarta/poi/trunk/changelog.xsl (original)
+++ jakarta/poi/trunk/changelog.xsl Mon Jan 15 05:16:45 2007
@@ -1,6 +1,4 @@
 ?xml version=1.0 encoding=ISO-8859-1?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
-
 xsl:stylesheet
 xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
 version='1.0'



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread Mark Thomas
Martin van den Bemt wrote:
 I have add you to the jakarta-poi group.. Let me know if there are any 
 problems..

All is working perfectly. Many thanks.

Mark


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



functions with empty parameterlist not working?

2007-01-15 Thread Michael Perkonigg

Hello,

I'm new to POI and this mailing list.

I tried POI 3.0 and I ran into troubles using Excel functions like 
TODAY() with an empty parameter list.


It seems that in the FormulaParser class in Ident at the end of the 
method an empty parameter list is taken as a cell reference:


...
   } else {
   //this can be either a cell ref or a named range !!
   boolean cellRef = true ; //we should probably do it with reg 
exp??

   boolean boolLit = (name.equals(TRUE) || name.equals(FALSE));
   if (boolLit) {
   tokens.add(new BoolPtg(name));
   } else if (cellRef) {
   tokens.add(new ReferencePtg(name));
   }else {
   //handle after named range is integrated!!
   }
   }
   }


This results in a formula string like:

TODAY(ATTR(semiVolatile))

which excepts:

java.lang.IllegalArgumentException: Invalid Formula cell reference: 
'SEMIVOLATILE'

   at org.apache.poi.hssf.util.CellReference.init(CellReference.java:47)


Actually it strikes me that this semiVolatile might be created much 
earlier and the Ident just assumes it must be a cell reference...



Is that a bug and is someone working at it or is there no hope for a 
solution soon?


Thanks in advance for any comments,
Mike

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread Mark Thomas
Yegor Kozlov wrote:
 We still have files without the proper ASF header.

I have patches ready to go for all of these and a few others. I've
just seen Martin has enabled my commit access so I should have these
fixed soon - I want to do a few more tests before committing.

The committers repository contains a couple of useful licensing tools.
I have been using insert_license.pl that does a good audit of all file
types (properties, java, html, xml etc)

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496325 - in /jakarta/poi/trunk/src/scratchpad/src/org/apache/poi: ./ hslf/ hslf/blip/ hslf/dev/ hslf/exceptions/ hslf/extractor/ hslf/model/ hslf/record/ hslf/usermodel/ hslf/util/ hssf/r

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 06:19:03 2007
New Revision: 496325

URL: http://svn.apache.org/viewvc?view=revrev=496325
Log:
Add standard svn properties

Modified:
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/POIDocument.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/EncryptedSlideShow.java
   (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/Bitmap.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/DIB.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/EMF.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/JPEG.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/Metafile.java 
  (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/PICT.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/PNG.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/blip/WMF.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/SLWTListing.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/SlideIdListing.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/exceptions/CorruptPowerPointFileException.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/exceptions/EncryptedPowerPointFileException.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/extractor/ImageExtractor.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/AutoShape.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Background.java  
 (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Fill.java   
(props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Line.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/MasterSheet.java 
  (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java
   (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Picture.java 
  (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Placeholder.java 
  (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/Shape.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/ShapeFactory.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/ShapeGroup.java  
 (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/ShapeTypes.java  
 (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SimpleShape.java 
  (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java 
  (props changed)
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextBox.java 
  (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/CString.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/Comment2000.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/Comment2000Atom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/Document.java   
(props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/DocumentEncryptionAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/Environment.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/MainMaster.java 
  (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/OEPlaceholderAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/OutlineTextRefAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/PPDrawingGroup.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/TxMasterStyleAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/PictureData.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/util/SystemTimeUtils.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/If.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hssf/record/formula/functions/LogicalFunction.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/extractor/WordExtractor.java
   (props changed)


svn commit: r496330 - in /jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi: ./ hslf/ hslf/model/ hslf/record/ hslf/usermodel/ hslf/util/ hwpf/ hwpf/extractor/ hwpf/model/

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 06:34:55 2007
New Revision: 496330

URL: http://svn.apache.org/viewvc?view=revrev=496330
Log:
Add standard svn properties

Modified:

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/TestPOIDocument.java  
 (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestBackground.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestLine.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestPPGraphics2D.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSetBoldItalic.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestShapes.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlideMaster.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlides.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestTextRunReWrite.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestCString.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestComment2000Atom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocument.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestDocumentEncryptionAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestAddingSlides.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestReOrderingSlides.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestSlideOrdering.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/util/TestSystemTimeUtils.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/TestHWPFPictures.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java
   (props changed)

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestSavedByTable.java
   (props changed)

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/TestPOIDocument.java
--
svn:eol-style = native

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/TestPOIDocument.java
--
svn:keywords = Author Date Id Revision

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java
--
svn:eol-style = native

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/TestEncryptedFile.java
--
svn:keywords = Author Date Id Revision

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestBackground.java
--
svn:eol-style = native

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestBackground.java
--
svn:keywords = Author Date Id Revision

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestLine.java
--
svn:eol-style = native

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestLine.java
--
svn:keywords = Author Date Id Revision

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestPPGraphics2D.java

svn commit: r496331 - in /jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi: hslf/usermodel/ hssf/record/formula/eval/ hssf/record/formula/functions/ hwpf/extractor/

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 06:36:03 2007
New Revision: 496331

URL: http://svn.apache.org/viewvc?view=revrev=496331
Log: (empty)

Modified:

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/GenericFormulaTestCase.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/TestEverything.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/functions/AbstractNumericTestCase.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/functions/TestEverything.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/functions/TestFinanceLib.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/functions/TestMathX.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/functions/TestStatsLib.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestDifferentRoutes.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hwpf/extractor/TestWordExtractor.java

Modified: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java?view=diffrev=496331r1=496330r2=496331
==
--- 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestRichTextRun.java
 Mon Jan 15 06:36:03 2007
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the License); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an AS IS BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.poi.hslf.usermodel;
 
 import java.io.ByteArrayInputStream;

Modified: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/GenericFormulaTestCase.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/GenericFormulaTestCase.java?view=diffrev=496331r1=496330r2=496331
==
--- 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/GenericFormulaTestCase.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/GenericFormulaTestCase.java
 Mon Jan 15 06:36:03 2007
@@ -1,4 +1,20 @@
 /*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the License); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an AS IS BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+/*
  * Created on May 11, 2005
  *
  */

Modified: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/TestEverything.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/TestEverything.java?view=diffrev=496331r1=496330r2=496331
==
--- 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/TestEverything.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hssf/record/formula/eval/TestEverything.java
 Mon Jan 15 06:36:03 2007
@@ -1,4 +1,20 @@
 /*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the 

svn commit: r496369 - in /jakarta/poi/trunk/src/scratchpad: src/org/apache/poi/hslf/record/StyleTextPropAtom.java testcases/org/apache/poi/hslf/record/TestStyleTextPropAtom.java

2007-01-15 Thread nick
Author: nick
Date: Mon Jan 15 07:22:39 2007
New Revision: 496369

URL: http://svn.apache.org/viewvc?view=revrev=496369
Log:
Update the order of the TextProps, as it seems not to be based quite on the 
mask order. Fix from Yegor, from bug #40143

Modified:

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestStyleTextPropAtom.java

Modified: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java?view=diffrev=496369r1=496368r2=496369
==
--- 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java
 Mon Jan 15 07:22:39 2007
@@ -25,6 +25,8 @@
 import java.io.ByteArrayOutputStream;
 import java.util.LinkedList;
 import java.util.Vector;
+import java.util.List;
+import java.util.Iterator;
 
 /**
  * A StyleTextPropAtom (type 4001). Holds basic character properties 
@@ -90,33 +92,33 @@
bullet, bullet.hardfont, 
bullet.hardcolor, bullet.hardsize}
),
+new TextProp(2, 0x80, bullet.char),
new TextProp(2, 0x10, bullet.font),
new TextProp(4, 0x20, bullet.color),
new TextProp(2, 0x40, bullet.size),
-   new TextProp(2, 0x80, bullet.char),
-   new TextProp(2, 0x100, text.offset),
+new AlignmentTextProp(),
+new TextProp(2, 0x400, bullet.offset),
new TextProp(2, 0x200, para_unknown_2),
-   new TextProp(2, 0x400, bullet.offset),
-   new AlignmentTextProp(), // 0x800
+new TextProp(2, 0x100, text.offset),
new TextProp(2, 0x1000, linespacing),
new TextProp(2, 0x2000, spacebefore),
new TextProp(2, 0x4000, spaceafter),
new TextProp(2, 0x8000, para_unknown_4),
new TextProp(2, 0x1, para_unknown_5),
-   new TextProp(2, 0xA, para_unknown_6),
+   new TextProp(2, 0xE, para_unknown_6),
new TextProp(2, 0x20, para_unknown_7)
};
/** All the different kinds of character properties we might handle */
public static TextProp[] characterTextPropTypes = new TextProp[] {
new CharFlagsTextProp(),
new TextProp(2, 0x1, font.index),
+new TextProp(2, 0x20, asian_or_complex),
+new TextProp(2, 0x40, char_unknown_2),
+new TextProp(2, 0x80, symbol),
new TextProp(2, 0x2, font.size),
new TextProp(4, 0x4, font.color),
new TextProp(2, 0x8, offset),
new TextProp(2, 0x10, char_unknown_1),
-   new TextProp(2, 0x20, asian_or_complex),
-   new TextProp(2, 0x40, char_unknown_2),
-   new TextProp(2, 0x80, symbol),
new TextProp(2, 0x100, char_unknown_3),
new TextProp(2, 0x200, char_unknown_4),
new TextProp(2, 0x400, char_unknown_5),
@@ -127,7 +129,6 @@
new TextProp(2, 0x8000, char_unknown_10),
};
 
-   
/* *** record code follows ** */
 
/** 
@@ -730,4 +731,34 @@
);
}
}
+
+/**
+ * Dump the record content into codeStringBuffer/code
+ *
+ * @return the string representation of the record data
+ */
+public String toString(){
+StringBuffer out = new StringBuffer();
+out.append(Paragraph properties\n);
+for (Iterator it1 = getParagraphStyles().iterator(); it1.hasNext();) {
+TextPropCollection pr = (TextPropCollection)it1.next();
+out.append(  chars covered:  + pr.getCharactersCovered() + \n);
+for (Iterator it2 = pr.getTextPropList().iterator(); 
it2.hasNext(); ) {
+TextProp p = (TextProp)it2.next();
+out.append( + p.getName() +  =  + p.getValue() + \n);
+}
+}
+

DO NOT REPLY [Bug 40143] - HSLF: RichTextRun returns wrong style attributes

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40143.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40143


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 07:24 ---
Patch applied, cheers for that Yegor

Did you find some method to the madness of the ordering of the TextProps, or was
it just trial and error?

Tales - Hopefully this fixes your problem, but shout if there's still more we
need to sort.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496398 - in /jakarta/poi/trunk/src/scratchpad: src/org/apache/poi/hslf/HSLFSlideShow.java testcases/org/apache/poi/hslf/data/PictureLengthZero.ppt testcases/org/apache/poi/hslf/usermodel/

2007-01-15 Thread nick
Author: nick
Date: Mon Jan 15 08:40:03 2007
New Revision: 496398

URL: http://svn.apache.org/viewvc?view=revrev=496398
Log:
Fix for bug #41357, by moving byte array creation until after we've decided 
that we have a valid picture

Added:

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/data/PictureLengthZero.ppt
   (with props)
Modified:
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java

Modified: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java?view=diffrev=496398r1=496397r2=496398
==
--- jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java 
(original)
+++ jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/HSLFSlideShow.java 
Mon Jan 15 08:40:03 2007
@@ -270,8 +270,6 @@
 // Image size (excluding the 8 byte header)
 int imgsize = LittleEndian.getInt(pictstream, pos);
 pos += LittleEndian.INT_SIZE;
-byte[] imgdata = new byte[imgsize];
-System.arraycopy(pictstream, pos, imgdata, 0, imgdata.length);
 
// The image size must be 0 or greater
// (0 is allowed, but odd, since we do wind on by the 
header each
@@ -282,8 +280,15 @@
 
// If they type (including the bonus 0xF018) is 0, skip 
it
if(type == 0) {
-   System.err.println(Problem reading picture: 
Invalid image type 0, on picture with length + imgsize + .\nYou document will 
probably become corrupted if you save it!);
+   System.err.println(Problem reading picture: 
Invalid image type 0, on picture with length  + imgsize + .\nYou document 
will probably become corrupted if you save it!);
+   System.err.println(pos);
} else {
+   // Copy the data, ready to pass to PictureData
+   byte[] imgdata = new byte[imgsize];
+   if(imgsize  0) {
+   System.arraycopy(pictstream, pos, imgdata, 0, 
imgdata.length);
+   }
+   
// Build the PictureData object from the data
try {
PictureData pict = 
PictureData.create(type - 0xF018);

Added: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/data/PictureLengthZero.ppt
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/data/PictureLengthZero.ppt?view=autorev=496398
==
Binary file - no diff available.

Propchange: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/data/PictureLengthZero.ppt
--
svn:mime-type = application/octet-stream

Modified: 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java?view=diffrev=496398r1=496397r2=496398
==
--- 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/usermodel/TestPictures.java
 Mon Jan 15 08:40:03 2007
@@ -387,9 +387,54 @@
assertEquals(Picture.WMF, hslf.getPictures()[0].getType());
assertEquals(Picture.WMF, hslf.getPictures()[1].getType());
 
-   // TODO: DISABLED: Pending bug #41176
+   // Now test what happens when we use the SlideShow interface
+   SlideShow ppt = new SlideShow(hslf);
+Slide[] slides = ppt.getSlides();
+PictureData[] pictures = ppt.getPictureData();
+assertEquals(12, slides.length);
+assertEquals(2, pictures.length);
+
+   Picture pict;
+   PictureData pdata;
+   
+pict = (Picture)slides[0].getShapes()[1]; // 2nd object on 1st slide
+pdata = pict.getPictureData();
+assertTrue(pdata instanceof WMF);
+assertEquals(Picture.WMF, pdata.getType());
+   
+pict = (Picture)slides[0].getShapes()[2]; // 3rd object on 1st slide
+pdata = pict.getPictureData();
+assertTrue(pdata instanceof WMF);
+assertEquals(Picture.WMF, pdata.getType());
+   }
+   
+   public void testZeroPictureLength() throws Exception {
+   

DO NOT REPLY [Bug 41357] - OutOfMemoryException and Infinite Loop in HSLFSlideShow

2007-01-15 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41357.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41357


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-15 08:41 ---
Ah, I was being bitten by java's garbage collection not playing nicely with
loops of the kind we're using

I've shifted the byte array creation until after we've decided we have a real
picture. That fixes the memory exception for me. (I've also added a test to the
suite, using your sample doc, to check it stays fixed)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496405 - in /jakarta/poi/trunk/src/scratchpad: src/org/apache/poi/hslf/dev/ src/org/apache/poi/hslf/model/ src/org/apache/poi/hslf/model/textproperties/ src/org/apache/poi/hslf/record/ sr

2007-01-15 Thread nick
Author: nick
Date: Mon Jan 15 09:00:41 2007
New Revision: 496405

URL: http://svn.apache.org/viewvc?view=revrev=496405
Log:
Refactor the TextPropCollection and TextProp classes into their own model 
package. Some of the logic in StyleTextPropAtom should probably be refactored 
out too, but that's still to do

Added:

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/AlignmentTextProp.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/BitMaskTextProp.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/CharFlagsTextProp.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TextProp.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/TextPropCollection.java
Modified:

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/TextStyleListing.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/StyleTextPropAtom.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/record/TxMasterStyleAtom.java

jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/RichTextRun.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestSlideMaster.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/model/TestTextRun.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestStyleTextPropAtom.java

jakarta/poi/trunk/src/scratchpad/testcases/org/apache/poi/hslf/record/TestTxMasterStyleAtom.java

Modified: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/TextStyleListing.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/TextStyleListing.java?view=diffrev=496405r1=496404r2=496405
==
--- 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/TextStyleListing.java
 (original)
+++ 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/dev/TextStyleListing.java
 Mon Jan 15 09:00:41 2007
@@ -21,6 +21,9 @@
 package org.apache.poi.hslf.dev;
 
 import org.apache.poi.hslf.*;
+import org.apache.poi.hslf.model.textproperties.BitMaskTextProp;
+import org.apache.poi.hslf.model.textproperties.TextProp;
+import org.apache.poi.hslf.model.textproperties.TextPropCollection;
 import org.apache.poi.hslf.record.*;
 import org.apache.poi.hslf.record.StyleTextPropAtom.*;
 

Modified: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java?view=diffrev=496405r1=496404r2=496405
==
--- 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java 
(original)
+++ 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/SlideMaster.java 
Mon Jan 15 09:00:41 2007
@@ -17,6 +17,8 @@
 
 package org.apache.poi.hslf.model;
 
+import org.apache.poi.hslf.model.textproperties.TextProp;
+import org.apache.poi.hslf.model.textproperties.TextPropCollection;
 import org.apache.poi.hslf.record.*;
 import org.apache.poi.hslf.usermodel.SlideShow;
 import org.apache.poi.hslf.record.StyleTextPropAtom.*;

Modified: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java?view=diffrev=496405r1=496404r2=496405
==
--- jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java 
(original)
+++ jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/TextRun.java 
Mon Jan 15 09:00:41 2007
@@ -23,8 +23,8 @@
 import java.util.LinkedList;
 import java.util.Vector;
 
+import org.apache.poi.hslf.model.textproperties.TextPropCollection;
 import org.apache.poi.hslf.record.*;
-import org.apache.poi.hslf.record.StyleTextPropAtom.TextPropCollection;
 import org.apache.poi.hslf.usermodel.RichTextRun;
 import org.apache.poi.hslf.usermodel.SlideShow;
 import org.apache.poi.util.StringUtil;

Added: 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/AlignmentTextProp.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/AlignmentTextProp.java?view=autorev=496405
==
--- 
jakarta/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/model/textproperties/AlignmentTextProp.java
 (added)

HSLF TextProp refactoring

2007-01-15 Thread Nick Burch

Hi All

Just a heads-up that I've done the easy bit of the HSLF TextProp 
refactoring. I've moved the definitions for TextPropCollection and 
the TextProps into model.textproperties. All the tests still pass.


Next up, we should probably shift some of the logic for dealing with 
TextProps out of TxMasterStyleAtom and StyleTextPropAtom. While we're at 
it, we can probably make TxMasterStyleAtom and StyleTextPropAtom more 
similar. However, it'll require some thought on the best way to do all of 
this.


So, any suggestions on the best way to refactor this lot appreciated :)

Nick

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496419 - /jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java

2007-01-15 Thread klute
Author: klute
Date: Mon Jan 15 09:56:52 2007
New Revision: 496419

URL: http://svn.apache.org/viewvc?view=revrev=496419
Log:
License comment fixed.

Modified:
jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java

Modified: jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java?view=diffrev=496419r1=496418r2=496419
==
--- jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java 
(original)
+++ jakarta/poi/trunk/src/java/org/apache/poi/hpsf/SummaryInformation.java Mon 
Jan 15 09:56:52 2007
@@ -1,20 +1,19 @@
-/*
- * 
- * Copyright 2002-2006 Apache Software Foundation
- * 
- * Licensed under the Apache License, Version 2.0 (the License); you may not
- * use this file except in compliance with the License. You may obtain a copy 
of
- * the License at
- * 
- * http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations 
under
- * the License.
- * 
- */
+/* 
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+ */
 
 package org.apache.poi.hpsf;
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread Mark Thomas
Avik Sengupta wrote:
 Thanks for the effort Mark.
 
 Can I  just ask that if you're doing any changes to the build, you run it 
 past 
 this list, since it'll interest everybody?

Happy to. I am not planning any changes to the build at the moment. If
this changes I'll let the list know. Most of what I still have to
commit is setting svn properties and inserting / changing licence text
which should, unless I mess something up, have zero impact on poi
functionality or on the build.

Two things I think it would be good to do but some feedback before I
do then would be nice are:
1. Delete /src/documentation/content/xdocs/dtd since they aren't used
for validation and the xml doesn't conform to them (older dtds from
forrest are used instead)
2. Add a some trademark usage words (like that on
http://tomcat.apache.org/legal.html

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496523 - in /jakarta/poi/trunk/src/contrib: poi-ruby/tests/tc_base_tests.rb poi-ruby/tests/tc_gc.rb poi-ruby/tests/ts_all.rb src/org/apache/poi/contrib/poibrowser/package.html

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 14:41:39 2007
New Revision: 496523

URL: http://svn.apache.org/viewvc?view=revrev=496523
Log:
Add standard licence header for contrib directory

Modified:
jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_base_tests.rb
jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_gc.rb
jakarta/poi/trunk/src/contrib/poi-ruby/tests/ts_all.rb

jakarta/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/package.html

Modified: jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_base_tests.rb
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_base_tests.rb?view=diffrev=496523r1=496522r2=496523
==
--- jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_base_tests.rb (original)
+++ jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_base_tests.rb Mon Jan 15 
14:41:39 2007
@@ -1,3 +1,20 @@
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the License); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an AS IS BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#  
+
 require 'test/unit'
 require 'release/poi4r'
 

Modified: jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_gc.rb
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_gc.rb?view=diffrev=496523r1=496522r2=496523
==
--- jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_gc.rb (original)
+++ jakarta/poi/trunk/src/contrib/poi-ruby/tests/tc_gc.rb Mon Jan 15 14:41:39 
2007
@@ -1,3 +1,20 @@
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the License); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an AS IS BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#  
+
 require 'test/unit'
 require 'release/poi4r'
 

Modified: jakarta/poi/trunk/src/contrib/poi-ruby/tests/ts_all.rb
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/contrib/poi-ruby/tests/ts_all.rb?view=diffrev=496523r1=496522r2=496523
==
--- jakarta/poi/trunk/src/contrib/poi-ruby/tests/ts_all.rb (original)
+++ jakarta/poi/trunk/src/contrib/poi-ruby/tests/ts_all.rb Mon Jan 15 14:41:39 
2007
@@ -1,3 +1,20 @@
+#  
+#  Licensed to the Apache Software Foundation (ASF) under one or more
+#  contributor license agreements.  See the NOTICE file distributed with
+#  this work for additional information regarding copyright ownership.
+#  The ASF licenses this file to You under the Apache License, Version 2.0
+#  (the License); you may not use this file except in compliance with
+#  the License.  You may obtain a copy of the License at
+#
+#  http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an AS IS BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#  
+
 require 'test/unit'
 require 'tests/tc_base_tests'
 require 'tests/tc_gc'

Modified: 
jakarta/poi/trunk/src/contrib/src/org/apache/poi/contrib/poibrowser/package.html
URL: 

svn commit: r496525 - /jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 14:44:18 2007
New Revision: 496525

URL: http://svn.apache.org/viewvc?view=revrev=496525
Log:
Add standard licence header for src/examples directory

Modified:
jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp

Modified: jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp?view=diffrev=496525r1=496524r2=496525
==
--- jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp (original)
+++ jakarta/poi/trunk/src/examples/jsp/HSSFExample.jsp Mon Jan 15 14:44:18 2007
@@ -1,3 +1,19 @@
+!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the License); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an AS IS BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+--
 [EMAIL PROTECTED] contentType=text/html 
 
import=java.io.*,org.apache.poi.poifs.filesystem.POIFSFileSystem,org.apache.poi
 
.hssf.record.*,org.apache.poi.hssf.model.*,org.apache.poi.hssf.usermodel.*,org.a



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/



svn commit: r496532 - in /jakarta/poi/trunk/src/testcases/org/apache/poi: hssf/model/ hssf/usermodel/ util/

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 15:00:17 2007
New Revision: 496532

URL: http://svn.apache.org/viewvc?view=revrev=496532
Log:
Add standard licence header for src/testcases directory
Set svn properties where not already set

Modified:

jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestDrawingManager2.java

jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFComment.java
   (props changed)

jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java

jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUnicodeWorkbook.java
   (contents, props changed)

jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUppercaseWorkbook.java
   (contents, props changed)
jakarta/poi/trunk/src/testcases/org/apache/poi/util/TestDoubleList2d.java
jakarta/poi/trunk/src/testcases/org/apache/poi/util/TestIntList2d.java
jakarta/poi/trunk/src/testcases/org/apache/poi/util/TestList2d.java

Modified: 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestDrawingManager2.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestDrawingManager2.java?view=diffrev=496532r1=496531r2=496532
==
--- 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestDrawingManager2.java
 (original)
+++ 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/model/TestDrawingManager2.java
 Mon Jan 15 15:00:17 2007
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the License); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an AS IS BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.poi.hssf.model;
 
 import junit.framework.TestCase;

Propchange: 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFComment.java
--
svn:eol-style = native

Propchange: 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFComment.java
--
svn:keywords = Author Date Id Revision

Modified: 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java?view=diffrev=496532r1=496531r2=496532
==
--- 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java
 (original)
+++ 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java
 Mon Jan 15 15:00:17 2007
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with
+* this work for additional information regarding copyright ownership.
+* The ASF licenses this file to You under the Apache License, Version 2.0
+* (the License); you may not use this file except in compliance with
+* the License.  You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an AS IS BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
 package org.apache.poi.hssf.usermodel;
 
 import junit.framework.*;

Modified: 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUnicodeWorkbook.java
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUnicodeWorkbook.java?view=diffrev=496532r1=496531r2=496532
==
--- 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUnicodeWorkbook.java
 (original)
+++ 
jakarta/poi/trunk/src/testcases/org/apache/poi/hssf/usermodel/TestUnicodeWorkbook.java
 Mon Jan 15 15:00:17 2007
@@ -1,3 +1,19 @@
+/*
+* Licensed to the Apache Software Foundation (ASF) under one or more
+* contributor license agreements.  See the NOTICE file distributed with

svn commit: r496533 - in /jakarta/poi/trunk/src/types: definitions/ styles/

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 15:04:42 2007
New Revision: 496533

URL: http://svn.apache.org/viewvc?view=revrev=496533
Log:
Add standard licence header for src/types directory

Modified:
jakarta/poi/trunk/src/types/definitions/chp_type.xml
jakarta/poi/trunk/src/types/definitions/dop_type.xml
jakarta/poi/trunk/src/types/definitions/fib_type.xml
jakarta/poi/trunk/src/types/definitions/pap_type.xml
jakarta/poi/trunk/src/types/definitions/sep_type.xml
jakarta/poi/trunk/src/types/definitions/tap_type.xml
jakarta/poi/trunk/src/types/definitions/tc_type.xml
jakarta/poi/trunk/src/types/styles/hdftype.xsl
jakarta/poi/trunk/src/types/styles/hdftype_document.xsl
jakarta/poi/trunk/src/types/styles/hdftype_test.xsl

Modified: jakarta/poi/trunk/src/types/definitions/chp_type.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/types/definitions/chp_type.xml?view=diffrev=496533r1=496532r2=496533
==
--- jakarta/poi/trunk/src/types/definitions/chp_type.xml (original)
+++ jakarta/poi/trunk/src/types/definitions/chp_type.xml Mon Jan 15 15:04:42 
2007
@@ -1,4 +1,22 @@
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+?xml version=1.0?
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   
+--
 record id=0x101B name=CHP package=org.apache.poi.hwpf.model.types
 suffixAbstractType/suffix
 extendsHDFType/extends

Modified: jakarta/poi/trunk/src/types/definitions/dop_type.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/types/definitions/dop_type.xml?view=diffrev=496533r1=496532r2=496533
==
--- jakarta/poi/trunk/src/types/definitions/dop_type.xml (original)
+++ jakarta/poi/trunk/src/types/definitions/dop_type.xml Mon Jan 15 15:04:42 
2007
@@ -1,4 +1,22 @@
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+?xml version=1.0?
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   
+--
 record fromfile=true name=DOP package=org.apache.poi.hwpf.model.types
 suffixAbstractType/suffix
 extendsHDFType/extends

Modified: jakarta/poi/trunk/src/types/definitions/fib_type.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/types/definitions/fib_type.xml?view=diffrev=496533r1=496532r2=496533
==
--- jakarta/poi/trunk/src/types/definitions/fib_type.xml (original)
+++ jakarta/poi/trunk/src/types/definitions/fib_type.xml Mon Jan 15 15:04:42 
2007
@@ -1,4 +1,22 @@
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+?xml version=1.0?
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You 

svn commit: r496534 - in /jakarta/poi/trunk/src/documentation/skins: common/xslt/fo/ common/xslt/html/ poi-site/css/ poi-site/xslt/fo/ poi-site/xslt/html/

2007-01-15 Thread markt
Author: markt
Date: Mon Jan 15 15:06:53 2007
New Revision: 496534

URL: http://svn.apache.org/viewvc?view=revrev=496534
Log:
Add standard licence header for src/documentation/skins directory
Add XML declaration where not present

Modified:
jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/document2fo.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/footerinfo.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/pdfoutline.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/book2menu.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/document2html.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/dotdots.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/pathutils.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/renderlogo.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/site2xhtml.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/split.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/tab2menu.xsl
jakarta/poi/trunk/src/documentation/skins/common/xslt/html/tabutils.xsl
jakarta/poi/trunk/src/documentation/skins/poi-site/css/mysite.css
jakarta/poi/trunk/src/documentation/skins/poi-site/css/print.css
jakarta/poi/trunk/src/documentation/skins/poi-site/css/site.css
jakarta/poi/trunk/src/documentation/skins/poi-site/css/tigris.css
jakarta/poi/trunk/src/documentation/skins/poi-site/xslt/fo/document2fo.xsl
jakarta/poi/trunk/src/documentation/skins/poi-site/xslt/html/book2menu.xsl

jakarta/poi/trunk/src/documentation/skins/poi-site/xslt/html/document2html.xsl
jakarta/poi/trunk/src/documentation/skins/poi-site/xslt/html/site2xhtml.xsl
jakarta/poi/trunk/src/documentation/skins/poi-site/xslt/html/tab2menu.xsl

Modified: 
jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/document2fo.xsl
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/document2fo.xsl?view=diffrev=496534r1=496533r2=496534
==
--- jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/document2fo.xsl 
(original)
+++ jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/document2fo.xsl 
Mon Jan 15 15:06:53 2007
@@ -1,5 +1,22 @@
 ?xml version=1.0?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   
+--
 
 xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
 xmlns:fo=http://www.w3.org/1999/XSL/Format;

Modified: 
jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/footerinfo.xsl
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/footerinfo.xsl?view=diffrev=496534r1=496533r2=496534
==
--- jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/footerinfo.xsl 
(original)
+++ jakarta/poi/trunk/src/documentation/skins/common/xslt/fo/footerinfo.xsl Mon 
Jan 15 15:06:53 2007
@@ -1,5 +1,22 @@
 ?xml version=1.0 encoding=UTF-8?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing 

svn commit: r496536 [3/3] - in /jakarta/poi/trunk/src/documentation: ./ content/xdocs/ content/xdocs/getinvolved/ content/xdocs/hpsf/ content/xdocs/hslf/ content/xdocs/hssf/ content/xdocs/hwpf/ conten

2007-01-15 Thread markt
Modified: 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml?view=diffrev=496536r1=496535r2=496536
==
--- 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml
 (original)
+++ 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/record-generator.xml
 Mon Jan 15 15:11:09 2007
@@ -1,5 +1,22 @@
 ?xml version=1.0 encoding=UTF-8?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   
+--
 !DOCTYPE document PUBLIC -//APACHE//DTD Documentation V1.1//EN 
../dtd/document-v11.dtd
 
 document

Modified: 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/use-case.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/use-case.xml?view=diffrev=496536r1=496535r2=496536
==
--- 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/use-case.xml 
(original)
+++ 
jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/hssf/use-case.xml 
Mon Jan 15 15:11:09 2007
@@ -1,5 +1,22 @@
 ?xml version=1.0 encoding=UTF-8?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   
+--
 !DOCTYPE document PUBLIC -//APACHE//DTD Documentation V1.1//EN 
../dtd/document-v11.dtd 
  
 document

Modified: jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/index.xml
URL: 
http://svn.apache.org/viewvc/jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/index.xml?view=diffrev=496536r1=496535r2=496536
==
--- jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/index.xml 
(original)
+++ jakarta/poi/trunk/src/documentation/content/xdocs/trans/es/index.xml Mon 
Jan 15 15:11:09 2007
@@ -1,5 +1,22 @@
 ?xml version=1.0 encoding=ISO-8859-1?
-!-- Copyright (C) 2004 The Apache Software Foundation. All rights reserved. 
--
+!--
+   
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the License); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an AS IS BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+   

Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread David Fisher

Hi -


2. Add a some trademark usage words (like that on
http://tomcat.apache.org/legal.html


Yes, please!

I'd like to acknowledge POI properly (along with Apache Tomcat)

Thanks! Thanks again.

Regards,
Dave Fisher




Re: Build/release stuff WAS Re: What Are Current POI Release Plans?

2007-01-15 Thread David Fisher
Certainly some of the following may be wrong like Apache Jakarta  
PMC and there is probably no Powered by POI logo.


Also, Is Apache POI or is Apache Jakarta POI or Jakarta POI  
better? The logo says Apache POI


Other than the other trademark list is the following helpful?

Regards,
Dave Fisher

Legal Stuff They Make Us Say

All material on this website is Copyright © 2001-2007, The  
Apache Software Foundation


   Microsoft, Excel, Word, PowerPoint and Office are registered  
trademarks of Microsoft Corporation. All other product names  
mentioned herein and throughout the entire web site are trademarks of  
their respective owners.



The Apache License

All software produced by The Apache Software Foundation or any  
of its projects or subjects is licensed according to the terms of  
Apache License, Version 2.0 (current).



Trademarks

Apache POI and POI are trademarks of the Apache Software  
Foundation. Use of these trademarks is subject to the terms of  
section 6 of Apache License, Version 2.0 (current).


If you create a product that uses Apache POI software or  
provides additional functionality to that software then:


* When referring to Apache POI software, please use the full  
name of Apache POI for at least the first reference on any web  
page, help file or similar. Subsequent references may refer to POI.

* You may use the Powered by POI logo.
* You may not use the POI logo without the permission of the  
Apache Jakarta PMC.
* If you use the words POI or Apache in your product  
name then you must call your product ... for Apache POI or ... for  
POI. You may not call your product Apache ... or POI 



On Jan 15, 2007, at 6:41 PM, David Fisher wrote:


Hi -


2. Add a some trademark usage words (like that on
http://tomcat.apache.org/legal.html


Yes, please!

I'd like to acknowledge POI properly (along with Apache Tomcat)

Thanks! Thanks again.

Regards,
Dave Fisher





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/