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
This commit is contained in:
parent
9de20d1eb0
commit
a69df73d3d
@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,oox))
|
|||||||
$(eval $(call gb_Module_add_targets,oox,\
|
$(eval $(call gb_Module_add_targets,oox,\
|
||||||
CustomTarget_generated \
|
CustomTarget_generated \
|
||||||
Library_oox \
|
Library_oox \
|
||||||
|
Package_customshapes \
|
||||||
Package_generated \
|
Package_generated \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
16
oox/Package_customshapes.mk
Normal file
16
oox/Package_customshapes.mk
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# -*- 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)
|
(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
|
# Then move them into place
|
||||||
|
|
||||||
mv oox/source/drawingml/customshapes/customshapepresets*.cxx oox/source/drawingml
|
mv oox/source/drawingml/customshapes/customshapepresets*.cxx oox/source/drawingml
|
||||||
|
3179
oox/source/drawingml/customshapes/oox-drawingml-cs-presets
Normal file
3179
oox/source/drawingml/customshapes/oox-drawingml-cs-presets
Normal file
File diff suppressed because one or more lines are too long
@ -18,6 +18,7 @@ Module gid_Module_Filter
|
|||||||
Dirs = (gid_Dir_Share_Filter);
|
Dirs = (gid_Dir_Share_Filter);
|
||||||
Files = (
|
Files = (
|
||||||
gid_File_Dat_OoxDrawingmlAdjNames,
|
gid_File_Dat_OoxDrawingmlAdjNames,
|
||||||
|
gid_File_Dat_OoxDrawingmlCsPresets,
|
||||||
gid_File_Dat_VmlShapeTypes);
|
gid_File_Dat_VmlShapeTypes);
|
||||||
End
|
End
|
||||||
|
|
||||||
@ -33,6 +34,13 @@ File gid_File_Dat_OoxDrawingmlAdjNames
|
|||||||
Styles = (PACKED);
|
Styles = (PACKED);
|
||||||
End
|
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
|
File gid_File_Dat_OoxVmlShapeTypes
|
||||||
TXT_FILE_BODY;
|
TXT_FILE_BODY;
|
||||||
Dir = gid_Dir_Share_Filter;
|
Dir = gid_Dir_Share_Filter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user