New PowerPoint Import for KOffice
Since Nokia's takeover of Trolltech and the increased presence of Qt, the KOffice suite has been gaining prominence on mobile devices. Developers have been working on new import opportunities of Microsoft Office formats.
On September 17 Nokia's KOffice developer Thomas Zander announced in his blog that the document viewer for the next Maemo 5 platform will be based on KOffice2. At the same time the KOffice team released a new beta version with a vastly improved MS Word import filter.
Now Jos van den Oever has written some further software to improve importing MS Office documents to KOffice: a parser that converts PowerPoint format to XML. As he reports in his blog, the documentation describing the PPT format encompasses 663 pages, with the one on drawings, essential to presentations, encompassing 620 pages as a PDF file. To prevent from having to scroll through all the pages, van den Oever converted the documents to machine-readable format and developed a parser from it to convert PowerPoint files to XML format. The method allows large amounts of PowerPoint data to be read in to make it easier to find weaknessses and errors. The resulting XML files can then be used as a basis for an import filter.
The product is a Qt program called
pptotoxml
with a C++ and Java parser that is now available for download. Jos van den Oever encourages other project developers to write parsers in their favorite languages, requiring fewer than 700 lines of code.
Interested parties in Msoscheme for machine-readable MS Office files who want to participate in the project can access the source code as follows:
git clone git://gitorious.org/msoscheme/msoscheme.git mkdir msoscheme/cpp/build cd msoscheme/cpp/build cmake .. make ./ppttoxml myfile.ppt myfile.xml
A driving force behind the newest KOffice development is the KO GmbH open document company, where van den Oever is also a member.
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.