poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1553421 - in /poi/site: publish/casestudies.html publish/encryption.html src/documentation/content/xdocs/casestudies.xml
Date Wed, 25 Dec 2013 21:34:20 GMT
Author: centic
Date: Wed Dec 25 21:34:20 2013
New Revision: 1553421

URL: http://svn.apache.org/r1553421
Log:
Add case-study, see http://mail-archives.apache.org/mod_mbox/poi-general/201312.mbox/ajax/%3C52A5CED2.8080005%40rewoo.com%3E
also generate changes for encryption-docs

Modified:
    poi/site/publish/casestudies.html
    poi/site/publish/encryption.html
    poi/site/src/documentation/content/xdocs/casestudies.xml

Modified: poi/site/publish/casestudies.html
URL: http://svn.apache.org/viewvc/poi/site/publish/casestudies.html?rev=1553421&r1=1553420&r2=1553421&view=diff
==============================================================================
--- poi/site/publish/casestudies.html (original)
+++ poi/site/publish/casestudies.html Wed Dec 25 21:34:20 2013
@@ -286,6 +286,22 @@ if (VERSION > 3) {
 </div>
             
               
+<a name="REWOO+Scope"></a>
+<div class="h4">
+<h4>REWOO Scope</h4>
+</div>
+              
+<p>
+              
+<a href="http://www.rewoo.de/">REWOO Scope</a> is a modern and easy to use web-based
enterprise content management system. It supports knowledge workers and managers in making
the right decisions based upon all relevant information.
+              </p>
+              
+<p>
+              The system uses Apache POI to extract information stored within excel files
and use it transparently within REWOO Scope. Thus, POI allows our customers to work in their
standard office environment while also having all important information in the REWO Scope
system.
+              </p>
+              
+
+              
 <a name="QuestionPro"></a>
 <div class="h4">
 <h4>QuestionPro</h4>
@@ -638,7 +654,7 @@ format,
     
     
 
-<div id="authors" align="right">by&nbsp;Andrew C. Oliver,&nbsp;Cameron Riley,&nbsp;David
Fisher</div>
+<div id="authors" align="right">by&nbsp;Andrew C. Oliver,&nbsp;Cameron Riley,&nbsp;David
Fisher,&nbsp;Dominik Stadler</div>
 </div>
 </div>
 </div>

Modified: poi/site/publish/encryption.html
URL: http://svn.apache.org/viewvc/poi/site/publish/encryption.html?rev=1553421&r1=1553420&r2=1553421&view=diff
==============================================================================
--- poi/site/publish/encryption.html (original)
+++ poi/site/publish/encryption.html Wed Dec 25 21:34:20 2013
@@ -280,9 +280,9 @@ if (VERSION > 3) {
     
 
     
-<a name="XML-based+formats"></a>
+<a name="XML-based+formats+-+Decryption"></a>
 <div class="h3">
-<h3>XML-based formats</h3>
+<h3>XML-based formats - Decryption</h3>
 </div>
 	
 <p>XML-based formats are stored in OLE-package stream "EncryptedPackage". Use org.apache.poi.poifs.crypt.Decryptor
@@ -310,6 +310,37 @@ try {
 	
 <p>If you want to read file encrypted with build-in password, use Decryptor.DEFAULT_PASSWORD.</p>
      
+     
+     
+<a name="XML-based+formats+-+Encryption"></a>
+<div class="h3">
+<h3>XML-based formats - Encryption</h3>
+</div>
+     
+<p>Encrypting a file is similar to the above decryption process. Basically you'll need
to choose between
+     <a href="http://msdn.microsoft.com/en-us/library/dd952186(v=office.12).aspx">standard
and agile encryption</a>.
+     Apart of the CipherMode, the EncryptionInfo class provides further parameters to specify
the cipher and
+     hashing algorithm to be used.</p>
+     
+     
+<pre class="code">
+POIFSFileSystem fs = new POIFSFileSystem();
+EncryptionInfo info = new EncryptionInfo(fs, EncryptionMode.agile);
+// EncryptionInfo info = new EncryptionInfo(fs, EncryptionMode.agile, CipherAlgorithm.aes192,
HashAlgorithm.sha384, -1, -1, null);
+
+Encryptor enc = info.getEncryptor();
+enc.confirmPassword("foobaa");
+
+OPCPackage opc = OPCPackage.open(new File("..."), PackageAccess.READ_WRITE);
+OutputStream os = enc.getDataStream(fs);
+opc.save(os);
+opc.close();
+
+FileOutputStream fos = new FileOutputStream("...");
+fs.writeFilesystem(fos);
+fos.close();     
+     </pre>
+     
   
 
   

Modified: poi/site/src/documentation/content/xdocs/casestudies.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/casestudies.xml?rev=1553421&r1=1553420&r2=1553421&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/casestudies.xml (original)
+++ poi/site/src/documentation/content/xdocs/casestudies.xml Wed Dec 25 21:34:20 2013
@@ -25,7 +25,8 @@
         <authors>
             <person id="AO" name="Andrew C. Oliver" email="acoliver@apache.org"/>
             <person id="CR" name="Cameron Riley" email="crileyNO@SPAMekmail.com"/>
-	    <person id="DF" name="David Fisher" email="dfisher@jmlafferty.com"/>
+            <person id="DF" name="David Fisher" email="dfisher@jmlafferty.com"/>
+            <person id="DS" name="Dominik Stadler" email="centic@apache.org"/>
         </authors>
     </header>
 
@@ -54,6 +55,15 @@
         </section>
         <section>
             <title>Case Studies</title>
+              <section><title>REWOO Scope</title>
+              <p>
+              <link href="http://www.rewoo.de/">REWOO Scope</link> is a modern
and easy to use web-based enterprise content management system. It supports knowledge workers
and managers in making the right decisions based upon all relevant information.
+              </p>
+              <p>
+              The system uses Apache POI to extract information stored within excel files
and use it transparently within REWOO Scope. Thus, POI allows our customers to work in their
standard office environment while also having all important information in the REWO Scope
system.
+              </p>
+              </section>
+
               <section><title>QuestionPro</title>
               <p>
               <link href="http://www.questionpro.com">QuestionPro</link> is an
online service allowing businesses and individuals to create, deploy and do in-depth analysis
of Online Surveys. The technology is build on open-source frameworks like Struts, Velocity,
POI, Lucene ... the List goes on.  The application deployment is on a Linux Application Cluster
farm with a Mysql database.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message