OpenOffice and LibreOffice use a file format called the OpenDocument Format (ODF). These files have various extensions, such as .odt for Writer and .ods for Calc. PowerGREP comes preconfigured to handle all the extensions with the file mask *.od[bcfgimpst]. This format is officially documented, and even standardized. Still, it is incredibly complex, simply because OpenOffice and LibreOffice offer a tremendous amount of features.
ODF files are technically ZIP archives that contain a bunch of XML files along with support files such as images. While PowerGREP treats ZIP archives as compressed folders, transparently zipping and unzipping files inside them, PowerGREP treats ODF files as single document files. If this sounds confusing: PowerGREP simply treats your OpenOffice and LibreOffice files the way you expect it to when marking files to be searched through, and when telling PowerGREP to copy or move files around. The whole ODF file will be moved, rather than the XML files inside of it.
If you have OpenOffice or LibreOffice installed then by default PowerGREP uses the IFilter that is included with OpenOffice and LibreOffice to extract the text from ODF files. You'll see a plain text representation of your ODF files in PowerGREP. When using the IFilter, PowerGREP cannot modify ODF files because the IFilter system is read-only.
If you disable the IFilter, or if you do not have a recent version of OpenOffice or LibreOffice installed, then PowerGREP searches through the raw XML content of ODF files. PowerGREP can also search-and-replace through ODF files in this mode. Though all those XML tags may seem to get into your way at first, that extra bit of complexity actually opens up a whole world of possibilities. The XML tags represent your document's formatting. By searching for, removing and inserting the XML tags, you can search for and alter the formatting of your document. To find out which tags to use, simply create a few test documents in OpenOffice or LibreOffice using the formatting you want. Navigate inside the ODF files in PowerGREP's File Selector. Right-click on one of the XML files inside it, and select Edit. PowerGREP's editor will show you the raw XML code that PowerGREP searches through.
If you have OpenOffice 4.1.0 or later and PowerGREP 4.6.1 or later installed then PowerGREP automatically uses the OpenOffice IFilter by default. Earlier OpenOffice releases do not correctly install the IFilter, making it unusable by PowerGREP (or any other application). Earlier PowerGREP releases require *.od[bcfgimpst] to be added to the IFilter file masks in the File Formats Preferences.
If you have LibreOffice 4.2.4
and PowerGREP 4.6.1 or later installed on 32-bit Windows, then PowerGREP will use the LibreOffice IFilter. On 64-bit Windows, you will need to install the 64-bit Visual C++ runtime
before PowerGREP (or any other 64-bit application) can use the LibreOffice IFilter. Earlier PowerGREP releases require *.od[bcfgimpst]
to be added to the IFilter file masks in the File Formats Preferences. We have not tested earlier releases of LibreOffice.