summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-04-15 17:19:48 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-15 18:08:16 +0200
commitb1017281562a0b6e35fb17bc2af5585411a0dacd (patch)
treecd5f4b96414520193f3d8086b7604007ec1c427f /oox
parent160c5846b1762da88d9713cfae0b80cf746bd71d (diff)
oox custom shape code generator: stop running LO interactively
Change-Id: Ic90f40c10b7d640d3dadc3c21d0060b351d08195
Diffstat (limited to 'oox')
-rwxr-xr-xoox/source/drawingml/customshapes/README10
1 files changed, 2 insertions, 8 deletions
diff --git a/oox/source/drawingml/customshapes/README b/oox/source/drawingml/customshapes/README
index 23765205dd60..69d1b5e68b95 100755
--- a/oox/source/drawingml/customshapes/README
+++ b/oox/source/drawingml/customshapes/README
@@ -25,17 +25,11 @@ make oox.clean && make oox dbglevel=2
(cd oox/source/drawingml/customshapes && ./generatePresetsPPTXs.pl)
-# Then load it and store the debugging output. Note that this will run
-# an *interactive* LO, and you need to quit it manually.
-
-echo
-echo "Starting LibreOffice, quit once you see the slide."
-echo
-
+# Then load it and store the debugging output.
# We need only the SAL_INFO output with tag "oox.cscode", plus stderr
# for PropertyMap::dumpCode() output.
-SAL_LOG='+INFO.oox.cscode-WARN' instdir/program/soffice oox/source/drawingml/customshapes/pptx/cshape-all.pptx > oox/source/drawingml/customshapes/custom-shapes.log 2>&1
+SAL_LOG='+INFO.oox.cscode-WARN' instdir/program/soffice --headless --convert-to odp --outdir oox/source/drawingml/customshapes/ oox/source/drawingml/customshapes/pptx/cshape-all.pptx > oox/source/drawingml/customshapes/custom-shapes.log 2>&1
# Now run a script that reads the above log file and generates the