summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-03-02 12:52:09 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-03-02 17:10:24 +0000
commitb52ccb87d8f768c2a9cecccbcf50623646ccbc11 (patch)
tree1afa09899448f8284cebff9527cdb68f5115d18c /oox
parent470036efe4db4e9773825c1277a659f3b50c5b48 (diff)
document customshapes (re-)generation flow.
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapes/README18
1 files changed, 18 insertions, 0 deletions
diff --git a/oox/source/drawingml/customshapes/README b/oox/source/drawingml/customshapes/README
new file mode 100644
index 000000000000..d32d1cd2f703
--- /dev/null
+++ b/oox/source/drawingml/customshapes/README
@@ -0,0 +1,18 @@
+This code is used to generate the customshapepresets source code.
+
+To re-generate the code first you need to re-build oox with:
+
+make oox.clean oox dbglevel=2
+
+Then load the cshape-all.pptx file[1]
+
+SAL_LOG='+INFO+WARN' ./soffice /path/to/oox/pptx/cshape-all.pptx 2>& | tee /path/to/oox/custom-shapes.log
+
+Now run:
+
+generatePresetsCXX.pl # this operates on custom-shapes.log in the CWD
+
+And this will re-generate the .cxx sources we need to embed the right
+custom shapes into the source code.
+
+[1] - this file is built by generatePresetsPPTXs.pl incidentally.