Kaydet (Commit) a69df73d authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: add customshapes preset data

This is generated data, meant to replace
source/drawingml/customshapepresets*.cxx soon. Just like the code
before, let's have it in git, generating it requires an already working
Impress, so it's nontrivial to produce it build-time.

Change-Id: Iaf8c77fc6ee0402e3e145b131724b7891d6b6b3f
üst 9de20d1e
......@@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,oox))
$(eval $(call gb_Module_add_targets,oox,\
CustomTarget_generated \
Library_oox \
Package_customshapes \
Package_generated \
))
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Package_Package,oox_customshapes,$(SRCDIR)/oox))
$(eval $(call gb_Package_add_files,oox_customshapes,$(LIBO_SHARE_FOLDER)/filter,\
source/drawingml/customshapes/oox-drawingml-cs-presets \
))
# vim: set noet sw=4 ts=4:
......@@ -38,6 +38,11 @@ SAL_LOG='+INFO.oox.cscode-WARN' instdir/program/soffice --headless --convert-to
(cd oox/source/drawingml/customshapes && ./generatePresetsCXX.pl)
# Run it again to generate the oox-drawingml-cs-presets data:
(cd oox/source/drawingml/customshapes && ./generatePresetsCXX.pl --data)
# Then move them into place
mv oox/source/drawingml/customshapes/customshapepresets*.cxx oox/source/drawingml
......
......@@ -18,6 +18,7 @@ Module gid_Module_Filter
Dirs = (gid_Dir_Share_Filter);
Files = (
gid_File_Dat_OoxDrawingmlAdjNames,
gid_File_Dat_OoxDrawingmlCsPresets,
gid_File_Dat_VmlShapeTypes);
End
......@@ -33,6 +34,13 @@ File gid_File_Dat_OoxDrawingmlAdjNames
Styles = (PACKED);
End
File gid_File_Dat_OoxDrawingmlCsPresets
TXT_FILE_BODY;
Dir = gid_Dir_Share_Filter;
Name = "oox-drawingml-cs-presets";
Styles = (PACKED);
End
File gid_File_Dat_OoxVmlShapeTypes
TXT_FILE_BODY;
Dir = gid_Dir_Share_Filter;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment