Apache Jakarta and Beyond: A Java Programmeramp;#039;s Introduction [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Apache Jakarta and Beyond: A Java Programmeramp;#039;s Introduction [Electronic resources] - نسخه متنی

Larne Pekowsky

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید







15.6. Beyond This Book


As mentioned at the start of this chapter, there are open source programs that allow users to edit Excel and Word documents. It is natural to wonder whether any of these can also be used programmatically. The answer is a limited yes. In particular, OpenOffice provides a set of Java APIs by which an external program can invoke Chapter 9. An advantage to this approach is that the program needs to know nothing about Excel per se and can concentrate on building XML. An additional advantage is that OpenOffice already supports Word, and it supports a greater subset of Excel than POI does, including formulas.

POI is also in the process of moving to an XML-based system. The HSSF

serializer, the code responsible for translating to and from the binary BIFF8 representation, is moving to Apache Cocoon. Cocoon is a toolkit that enables components to be assembled into an XML pipeline. When this move is completed, it will be possible to feed an XML document to Cocoon and get an Excel file out, and vice versa. Pipeline components can also pull data from a database and inject it into XML prior to translation to Excel. Cocoon is discussed in Chapter 20.


/ 207