Bienvenue à Blogs CodeS-SourceS Identification | Inscription | Aide

Julien Chable

He blogs, you blog, I blog ...

[OpenXML4J] OpenXML4J moves into Beta

The OpenXML4J project begins the open source adventure in August 2006. Since then, some people (including some POI developers - they are truly great guys !) join the project to contribute to OpenXML4J, a Java API for the Office Open XML file format IS 29500.

Today OpenXML4J moves to Beta ! You can download these new builds which fix some bugs from the Alpha version here.

image

You can visit the official project website at : http://www.openxml4j.org

 

OpenXML4J currently handles the Open Packaging Convention of the Open XML format like this :

// Open the package
Package p = Package.open("Sample.docx", PackageAccess.READ);
// Get documents core properties part relationship
PackageRelationship corePropertiesRelationship = p .getRelationshipsByType(PackageRelationshipTypes.CORE_DOCUMENT) .getRelationship(0);
// Get core properties part from the relationship.
PackagePart coreDocument = p.getPart(corePropertiesRelationship);
// Retrieve and display the URI and the content type of the core
// properties part of the document.

System.out.println(coreDocument.getUri() + " -> " + coreDocument.getContentType());

You want to contribute or help the project ? Contact us : julien@wygwam.com

Ce post vous a plu ? Ajoutez le dans vos favoris pour ne pas perdre de temps à le retrouver le jour où vous en aurez besoin :
Posted: jeudi 10 avril 2008 23:00 par neodante
Classé sous : ,

Commentaires

Pas de commentaires

Les commentaires anonymes sont désactivés

Les 10 derniers blogs postés

- MBA : Pourquoi faire et comment le choisir ? par Blog Technique de Romelard Fabrice le il y a 16 heures et 22 minutes

- Y'a des erreurs qui peuvent rendre le développeur violent par Aleks's Blog le 02-02-2012, 16:33

- [Hyper-V 3] Présentation des commandlets PowerShell par Blog de SPBrouillet (Pierrick BROUILLET) le 01-31-2012, 16:01

- IIS7 – Compression GZIP par Atteint de JavaScriptite Aiguë [Cyril Durand] le 01-31-2012, 15:52

- SharePoint 15 Technical Preview Managed Object Model Software Development Kit par Matthew le 01-31-2012, 12:34

- Office 15 Technical Preview - Open specification Update par Matthew le 01-31-2012, 10:14

- TFS Integration Tools – Installation par Vivien Fabing le 01-31-2012, 00:06

- Test par RonnyK le 01-30-2012, 16:56

- [SharePoint 2010] Désactiver le correcteur orthographique dans les pages d’un site de publication par Jean-Christophe Brabant le 01-30-2012, 09:30

- [SharePoint 2010] Site internet et performances : poids et nombre des ressources par Arnault Nouvel le 01-30-2012, 00:52