3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 open (IN
, "<custom-shapes.log");
23 s/.*shape name: '([^']+)'.*/$1/;
28 if (/==csdata== begin/)
39 $sources{$name} = [ @code ];
61 open (OUT
, ">oox-drawingml-cs-presets");
63 foreach $shape (sort(keys %$sources))
65 printf OUT
"/* %s */\n", $shape;
66 print OUT @
{$sources->{$shape}};
72 generateData
(loadData
());
74 # vim:set ft=perl shiftwidth=4 softtabstop=4 expandtab: #