Hi,

On Wednesday, 2011-08-10 17:48:14 +0200, Stephan Bergmann wrote:

> For performance reasons, it (like all the other xcu files, too) got
> folded into a single large main.xcd.  (Beware, very long lines.  You
> may want to pipe it through an XML pretty printer if you want to edit
> it manually.)

For which I always recommend xmlpp,
http://software.decisionsoft.com/tools.html

Works also nicely for inspecting ODF files, my viewodf wrapper:

#!/bin/sh
if [ ! -f "$1" ]; then
    echo "Usage: $0 ODF-file"
    exit 1
fi
unzip -p "$1" content.xml styles.xml settings.xml | xmlpp.pl | vim -


Similar for OOXML spreadsheet files:

#!/bin/sh
if [ ! -f "$1" ]; then
    echo "Usage: $0 MOOXML-file"
    exit 1
fi
unzip -p "$1" 'xl/workbook.xml' 'xl/worksheets/*.xml' 'xl/styles.xml' | 
xmlpp.pl | vim -


  Eike

-- 
 PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
 Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD

Attachment: pgpkl1KpPbYqV.pgp
Description: PGP signature

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to