summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-03-02 17:08:03 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-03-02 17:10:24 +0000
commitd4157cefc5416ebea75a460e7dbff91293bff321 (patch)
tree1b456bdaca88945025d85374edffed4b5bfcf969
parentf291fb57d087de41385a22dfacd8b694d8b9abc7 (diff)
customshapes: commit updated autogenerated output.
-rw-r--r--oox/source/drawingml/customshapepresets1.cxx254
-rw-r--r--oox/source/drawingml/customshapepresets2.cxx254
-rw-r--r--oox/source/drawingml/customshapepresets3.cxx254
-rw-r--r--oox/source/drawingml/customshapepresets4.cxx254
-rw-r--r--oox/source/drawingml/customshapepresets5.cxx254
-rw-r--r--oox/source/drawingml/customshapepresets6.cxx92
6 files changed, 1149 insertions, 213 deletions
diff --git a/oox/source/drawingml/customshapepresets1.cxx b/oox/source/drawingml/customshapepresets1.cxx
index 34567cdb44ca..838a0bc8e432 100644
--- a/oox/source/drawingml/customshapepresets1.cxx
+++ b/oox/source/drawingml/customshapepresets1.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap1()
+namespace
+{
+class ShapeCactionButtonSound : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -890,8 +893,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonSound");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonSound" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCborderCallout1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1292,8 +1299,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-borderCallout1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCplaqueTabs : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1806,8 +1817,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plaqueTabs");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plaqueTabs" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedLeftArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2775,8 +2790,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedLeftArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedLeftArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCoctagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3093,8 +3112,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-octagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "octagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftRightRibbon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4413,8 +4436,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightRibbon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightRibbon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonInformation : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5804,8 +5831,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonInformation");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonInformation" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentConnector5 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6180,8 +6211,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentConnector5");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector5" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcircularArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6815,8 +6850,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-circularArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "circularArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdownArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7344,8 +7383,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-downArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "downArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathMinus : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7589,8 +7632,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathMinus");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathMinus" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCgear9 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8996,8 +9043,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-gear9");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "gear9" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCround1Rect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9292,8 +9343,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-round1Rect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round1Rect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsun : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10139,8 +10194,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-sun");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "sun" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCplaque : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10575,8 +10634,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plaque");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plaque" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCchevron : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10859,8 +10922,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chevron");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chevron" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartPreparation : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11100,8 +11167,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartPreparation");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPreparation" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdiagStripe : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11347,8 +11418,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-diagStripe");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "diagStripe" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCpentagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11580,8 +11655,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-pentagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pentagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCfunnel : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11931,8 +12010,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-funnel");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "funnel" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCchartStar : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12253,8 +12336,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chartStar");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartStar" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCaccentBorderCallout1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12715,8 +12802,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentBorderCallout1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCnotchedRightArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13086,8 +13177,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-notchedRightArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "notchedRightArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrightBracket : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13542,8 +13637,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightBracket");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightBracket" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartOffpageConnector : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13764,8 +13863,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOffpageConnector");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOffpageConnector" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftRightArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14172,8 +14275,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdecagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14490,8 +14597,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-decagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "decagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonHelp : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16054,8 +16165,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonHelp");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonHelp" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar24 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17167,8 +17282,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star24");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star24" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathDivide : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17672,8 +17791,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathDivide");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathDivide" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedConnector4 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18076,8 +18199,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedConnector4");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector4" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartOr : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18688,8 +18815,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOr");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOr" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCborderCallout3 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19276,8 +19407,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-borderCallout3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCupDownArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19934,8 +20069,12 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-upDownArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upDownArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartDecision : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -20141,11 +20280,48 @@ void CustomShapeProperties::initializePresetsMap1()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDecision");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDecision" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap1()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonSound" ) ) ) ] = new ShapeCactionButtonSound();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout1" ) ) ) ] = new ShapeCborderCallout1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plaqueTabs" ) ) ) ] = new ShapeCplaqueTabs();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedLeftArrow" ) ) ) ] = new ShapeCcurvedLeftArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "octagon" ) ) ) ] = new ShapeCoctagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightRibbon" ) ) ) ] = new ShapeCleftRightRibbon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonInformation" ) ) ) ] = new ShapeCactionButtonInformation();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector5" ) ) ) ] = new ShapeCbentConnector5();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "circularArrow" ) ) ) ] = new ShapeCcircularArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "downArrowCallout" ) ) ) ] = new ShapeCdownArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathMinus" ) ) ) ] = new ShapeCmathMinus();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "gear9" ) ) ) ] = new ShapeCgear9();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round1Rect" ) ) ) ] = new ShapeCround1Rect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "sun" ) ) ) ] = new ShapeCsun();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plaque" ) ) ) ] = new ShapeCplaque();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chevron" ) ) ) ] = new ShapeCchevron();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPreparation" ) ) ) ] = new ShapeCflowChartPreparation();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "diagStripe" ) ) ) ] = new ShapeCdiagStripe();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pentagon" ) ) ) ] = new ShapeCpentagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "funnel" ) ) ) ] = new ShapeCfunnel();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartStar" ) ) ) ] = new ShapeCchartStar();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout1" ) ) ) ] = new ShapeCaccentBorderCallout1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "notchedRightArrow" ) ) ) ] = new ShapeCnotchedRightArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightBracket" ) ) ) ] = new ShapeCrightBracket();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOffpageConnector" ) ) ) ] = new ShapeCflowChartOffpageConnector();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightArrow" ) ) ) ] = new ShapeCleftRightArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "decagon" ) ) ) ] = new ShapeCdecagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonHelp" ) ) ) ] = new ShapeCactionButtonHelp();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star24" ) ) ) ] = new ShapeCstar24();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathDivide" ) ) ) ] = new ShapeCmathDivide();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector4" ) ) ) ] = new ShapeCcurvedConnector4();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOr" ) ) ) ] = new ShapeCflowChartOr();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout3" ) ) ) ] = new ShapeCborderCallout3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upDownArrowCallout" ) ) ) ] = new ShapeCupDownArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDecision" ) ) ) ] = new ShapeCflowChartDecision();
}
-
-}
-}
+} } // oox // drawingml
diff --git a/oox/source/drawingml/customshapepresets2.cxx b/oox/source/drawingml/customshapepresets2.cxx
index cda315bad025..dcab1a12fff8 100644
--- a/oox/source/drawingml/customshapepresets2.cxx
+++ b/oox/source/drawingml/customshapepresets2.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap2()
+namespace
+{
+class ShapeCleftRightArrowCallout : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -676,8 +679,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartManualOperation : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -882,8 +889,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartManualOperation");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartManualOperation" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsnipRoundRect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1258,8 +1269,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-snipRoundRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snipRoundRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathPlus : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1653,8 +1668,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathPlus");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathPlus" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonForwardNext : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2205,8 +2224,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonForwardNext");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonForwardNext" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcan : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2850,8 +2873,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-can");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "can" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCfoldedCorner : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3380,8 +3407,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-foldedCorner");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "foldedCorner" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar32 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4803,8 +4834,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star32");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star32" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartInternalStorage : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5236,8 +5271,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartInternalStorage");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartInternalStorage" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCupDownArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5645,8 +5684,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-upDownArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upDownArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCirregularSeal2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6288,8 +6331,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-irregularSeal2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "irregularSeal2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathEqual : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6680,8 +6727,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathEqual");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathEqual" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar12 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7314,8 +7365,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star12");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star12" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCuturnArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8103,8 +8158,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-uturnArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "uturnArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsquareTabs : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8585,8 +8644,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-squareTabs");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "squareTabs" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftRightUpArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9176,8 +9239,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightUpArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightUpArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeChomePlate : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9440,8 +9507,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-homePlate");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "homePlate" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdodecagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9782,8 +9853,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-dodecagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "dodecagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10311,8 +10386,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCchord : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10568,8 +10647,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chord");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chord" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCquadArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11484,8 +11567,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-quadArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "quadArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonBeginning : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12311,8 +12398,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonBeginning");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBeginning" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCellipse : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12609,8 +12700,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ellipse");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipse" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonEnd : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13436,8 +13531,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonEnd");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonEnd" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCarc : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13818,8 +13917,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-arc");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "arc" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar16 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14616,8 +14719,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star16");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star16" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCparallelogram : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14876,8 +14983,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-parallelogram");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "parallelogram" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbevel : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15943,8 +16054,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bevel");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bevel" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCroundRect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16379,8 +16494,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-roundRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "roundRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCaccentCallout1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16847,8 +16966,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentCallout1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartSort : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17234,8 +17357,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartSort");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartSort" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar8 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17714,8 +17841,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star8");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star8" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartAlternateProcess : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18100,8 +18231,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartAlternateProcess");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartAlternateProcess" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmoon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18398,8 +18533,12 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-moon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "moon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar6 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18805,11 +18944,48 @@ void CustomShapeProperties::initializePresetsMap2()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star6");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star6" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap2()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightArrowCallout" ) ) ) ] = new ShapeCleftRightArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartManualOperation" ) ) ) ] = new ShapeCflowChartManualOperation();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snipRoundRect" ) ) ) ] = new ShapeCsnipRoundRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathPlus" ) ) ) ] = new ShapeCmathPlus();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonForwardNext" ) ) ) ] = new ShapeCactionButtonForwardNext();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "can" ) ) ) ] = new ShapeCcan();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "foldedCorner" ) ) ) ] = new ShapeCfoldedCorner();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star32" ) ) ) ] = new ShapeCstar32();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartInternalStorage" ) ) ) ] = new ShapeCflowChartInternalStorage();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upDownArrow" ) ) ) ] = new ShapeCupDownArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "irregularSeal2" ) ) ) ] = new ShapeCirregularSeal2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathEqual" ) ) ) ] = new ShapeCmathEqual();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star12" ) ) ) ] = new ShapeCstar12();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "uturnArrow" ) ) ) ] = new ShapeCuturnArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "squareTabs" ) ) ) ] = new ShapeCsquareTabs();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightUpArrow" ) ) ) ] = new ShapeCleftRightUpArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "homePlate" ) ) ) ] = new ShapeChomePlate();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "dodecagon" ) ) ) ] = new ShapeCdodecagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftArrowCallout" ) ) ) ] = new ShapeCleftArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chord" ) ) ) ] = new ShapeCchord();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "quadArrowCallout" ) ) ) ] = new ShapeCquadArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBeginning" ) ) ) ] = new ShapeCactionButtonBeginning();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipse" ) ) ) ] = new ShapeCellipse();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonEnd" ) ) ) ] = new ShapeCactionButtonEnd();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "arc" ) ) ) ] = new ShapeCarc();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star16" ) ) ) ] = new ShapeCstar16();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "parallelogram" ) ) ) ] = new ShapeCparallelogram();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bevel" ) ) ) ] = new ShapeCbevel();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "roundRect" ) ) ) ] = new ShapeCroundRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout1" ) ) ) ] = new ShapeCaccentCallout1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartSort" ) ) ) ] = new ShapeCflowChartSort();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star8" ) ) ) ] = new ShapeCstar8();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartAlternateProcess" ) ) ) ] = new ShapeCflowChartAlternateProcess();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "moon" ) ) ) ] = new ShapeCmoon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star6" ) ) ) ] = new ShapeCstar6();
}
-
-}
-}
+} } // oox // drawingml
diff --git a/oox/source/drawingml/customshapepresets3.cxx b/oox/source/drawingml/customshapepresets3.cxx
index 93c0291ea63a..266958553d13 100644
--- a/oox/source/drawingml/customshapepresets3.cxx
+++ b/oox/source/drawingml/customshapepresets3.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap3()
+namespace
+{
+class ShapeCround2SameRect : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -532,8 +535,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-round2SameRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round2SameRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCnonIsoscelesTrapezoid : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -836,8 +843,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-nonIsoscelesTrapezoid");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "nonIsoscelesTrapezoid" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdiamond : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1032,8 +1043,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-diamond");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "diamond" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCellipseRibbon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2635,8 +2650,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ellipseRibbon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipseRibbon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcallout2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3136,8 +3155,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-callout2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCpie : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3415,8 +3438,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-pie");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pie" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar4 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3739,8 +3766,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star4");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star4" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartPredefinedProcess : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4172,8 +4203,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartPredefinedProcess");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPredefinedProcess" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartPunchedTape : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4506,8 +4541,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartPunchedTape");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPunchedTape" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedConnector2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4698,8 +4737,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedConnector2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentConnector3 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4938,8 +4981,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentConnector3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcornerTabs : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5348,8 +5395,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-cornerTabs");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cornerTabs" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeChexagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5648,8 +5699,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-hexagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "hexagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartConnector : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5946,8 +6001,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartConnector");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartConnector" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartMagneticDisk : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6455,8 +6514,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMagneticDisk");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticDisk" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCheart : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6711,8 +6774,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-heart");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "heart" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCribbon2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8643,8 +8710,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ribbon2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ribbon2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbracePair : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9798,8 +9869,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bracePair");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bracePair" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartExtract : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9984,8 +10059,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartExtract");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartExtract" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonHome : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11385,8 +11464,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonHome");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonHome" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCaccentBorderCallout3 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12033,8 +12116,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentBorderCallout3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartOfflineStorage : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12381,8 +12468,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOfflineStorage");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOfflineStorage" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCirregularSeal1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12950,8 +13041,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-irregularSeal1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "irregularSeal1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCquadArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13668,8 +13763,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-quadArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "quadArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftBrace : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14389,8 +14488,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftBrace");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftBrace" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftBracket : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14845,8 +14948,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftBracket");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftBracket" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCblockArc : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15235,8 +15342,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-blockArc");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "blockArc" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedConnector3 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15533,8 +15644,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedConnector3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCwedgeRoundRectCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16251,8 +16366,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wedgeRoundRectCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeRoundRectCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonMovie : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17703,8 +17822,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonMovie");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonMovie" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartOnlineStorage : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17983,8 +18106,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartOnlineStorage");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOnlineStorage" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCgear6 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18943,8 +19070,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-gear6");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "gear6" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeChalfFrame : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19284,8 +19415,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-halfFrame");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "halfFrame" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsnip2SameRect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19658,8 +19793,12 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-snip2SameRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip2SameRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCtriangle : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19884,11 +20023,48 @@ void CustomShapeProperties::initializePresetsMap3()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-triangle");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "triangle" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap3()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round2SameRect" ) ) ) ] = new ShapeCround2SameRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "nonIsoscelesTrapezoid" ) ) ) ] = new ShapeCnonIsoscelesTrapezoid();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "diamond" ) ) ) ] = new ShapeCdiamond();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipseRibbon" ) ) ) ] = new ShapeCellipseRibbon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout2" ) ) ) ] = new ShapeCcallout2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pie" ) ) ) ] = new ShapeCpie();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star4" ) ) ) ] = new ShapeCstar4();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPredefinedProcess" ) ) ) ] = new ShapeCflowChartPredefinedProcess();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPunchedTape" ) ) ) ] = new ShapeCflowChartPunchedTape();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector2" ) ) ) ] = new ShapeCcurvedConnector2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector3" ) ) ) ] = new ShapeCbentConnector3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cornerTabs" ) ) ) ] = new ShapeCcornerTabs();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "hexagon" ) ) ) ] = new ShapeChexagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartConnector" ) ) ) ] = new ShapeCflowChartConnector();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticDisk" ) ) ) ] = new ShapeCflowChartMagneticDisk();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "heart" ) ) ) ] = new ShapeCheart();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ribbon2" ) ) ) ] = new ShapeCribbon2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bracePair" ) ) ) ] = new ShapeCbracePair();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartExtract" ) ) ) ] = new ShapeCflowChartExtract();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonHome" ) ) ) ] = new ShapeCactionButtonHome();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout3" ) ) ) ] = new ShapeCaccentBorderCallout3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOfflineStorage" ) ) ) ] = new ShapeCflowChartOfflineStorage();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "irregularSeal1" ) ) ) ] = new ShapeCirregularSeal1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "quadArrow" ) ) ) ] = new ShapeCquadArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftBrace" ) ) ) ] = new ShapeCleftBrace();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftBracket" ) ) ) ] = new ShapeCleftBracket();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "blockArc" ) ) ) ] = new ShapeCblockArc();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector3" ) ) ) ] = new ShapeCcurvedConnector3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeRoundRectCallout" ) ) ) ] = new ShapeCwedgeRoundRectCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonMovie" ) ) ) ] = new ShapeCactionButtonMovie();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartOnlineStorage" ) ) ) ] = new ShapeCflowChartOnlineStorage();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "gear6" ) ) ) ] = new ShapeCgear6();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "halfFrame" ) ) ) ] = new ShapeChalfFrame();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip2SameRect" ) ) ) ] = new ShapeCsnip2SameRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "triangle" ) ) ) ] = new ShapeCtriangle();
}
-
-}
-}
+} } // oox // drawingml
diff --git a/oox/source/drawingml/customshapepresets4.cxx b/oox/source/drawingml/customshapepresets4.cxx
index 9088ce3bdbb2..b4c4e9451acf 100644
--- a/oox/source/drawingml/customshapepresets4.cxx
+++ b/oox/source/drawingml/customshapepresets4.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap4()
+namespace
+{
+class ShapeCteardrop : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -422,8 +425,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-teardrop");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "teardrop" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartDocument : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -668,8 +675,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDocument");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDocument" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrightArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1197,8 +1208,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrightBrace : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1919,8 +1934,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightBrace");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightBrace" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCchartPlus : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2193,8 +2212,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chartPlus");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartPlus" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartManualInput : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2398,8 +2421,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartManualInput");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartManualInput" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartMerge : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2584,8 +2611,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMerge");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMerge" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCline : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2687,8 +2718,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-line");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "line" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdownArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3040,8 +3075,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-downArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "downArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedDownArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4040,8 +4079,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedDownArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedDownArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonReturn : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5639,8 +5682,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonReturn");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonReturn" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartInputOutput : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5847,8 +5894,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartInputOutput");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartInputOutput" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbracketPair : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6573,8 +6624,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bracketPair");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bracketPair" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsmileyFace : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7137,8 +7192,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-smileyFace");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "smileyFace" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonBlank : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7329,8 +7388,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonBlank");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBlank" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCwave : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7730,8 +7793,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wave");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wave" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCswooshArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8148,8 +8215,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-swooshArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "swooshArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartSummingJunction : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8760,8 +8831,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartSummingJunction");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartSummingJunction" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeClightningBolt : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9101,8 +9176,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-lightningBolt");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "lightningBolt" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartDisplay : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9356,8 +9435,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDisplay");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDisplay" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonBackPrevious : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9908,8 +9991,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonBackPrevious");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBackPrevious" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCframe : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10243,8 +10330,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-frame");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "frame" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrtTriangle : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10421,8 +10512,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rtTriangle");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rtTriangle" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartMagneticTape : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10762,8 +10857,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMagneticTape");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticTape" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedRightArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -11720,8 +11819,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedRightArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedRightArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftUpArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12219,8 +12322,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftUpArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftUpArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCwedgeEllipseCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12522,8 +12629,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wedgeEllipseCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeEllipseCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdoubleWave : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13037,8 +13148,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-doubleWave");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "doubleWave" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13633,8 +13748,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar10 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14197,8 +14316,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star10");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star10" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14550,8 +14673,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedUpArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15521,8 +15648,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedUpArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedUpArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsnip1Rect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15785,8 +15916,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-snip1Rect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip1Rect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCellipseRibbon2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17416,8 +17551,12 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ellipseRibbon2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipseRibbon2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCplus : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17810,11 +17949,48 @@ void CustomShapeProperties::initializePresetsMap4()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-plus");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plus" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap4()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "teardrop" ) ) ) ] = new ShapeCteardrop();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDocument" ) ) ) ] = new ShapeCflowChartDocument();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightArrowCallout" ) ) ) ] = new ShapeCrightArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightBrace" ) ) ) ] = new ShapeCrightBrace();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartPlus" ) ) ) ] = new ShapeCchartPlus();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartManualInput" ) ) ) ] = new ShapeCflowChartManualInput();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMerge" ) ) ) ] = new ShapeCflowChartMerge();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "line" ) ) ) ] = new ShapeCline();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "downArrow" ) ) ) ] = new ShapeCdownArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedDownArrow" ) ) ) ] = new ShapeCcurvedDownArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonReturn" ) ) ) ] = new ShapeCactionButtonReturn();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartInputOutput" ) ) ) ] = new ShapeCflowChartInputOutput();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bracketPair" ) ) ) ] = new ShapeCbracketPair();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "smileyFace" ) ) ) ] = new ShapeCsmileyFace();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBlank" ) ) ) ] = new ShapeCactionButtonBlank();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wave" ) ) ) ] = new ShapeCwave();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "swooshArrow" ) ) ) ] = new ShapeCswooshArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartSummingJunction" ) ) ) ] = new ShapeCflowChartSummingJunction();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "lightningBolt" ) ) ) ] = new ShapeClightningBolt();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDisplay" ) ) ) ] = new ShapeCflowChartDisplay();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonBackPrevious" ) ) ) ] = new ShapeCactionButtonBackPrevious();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "frame" ) ) ) ] = new ShapeCframe();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rtTriangle" ) ) ) ] = new ShapeCrtTriangle();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticTape" ) ) ) ] = new ShapeCflowChartMagneticTape();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedRightArrow" ) ) ) ] = new ShapeCcurvedRightArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftUpArrow" ) ) ) ] = new ShapeCleftUpArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeEllipseCallout" ) ) ) ] = new ShapeCwedgeEllipseCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "doubleWave" ) ) ) ] = new ShapeCdoubleWave();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentArrow" ) ) ) ] = new ShapeCbentArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star10" ) ) ) ] = new ShapeCstar10();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftArrow" ) ) ) ] = new ShapeCleftArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedUpArrow" ) ) ) ] = new ShapeCcurvedUpArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip1Rect" ) ) ) ] = new ShapeCsnip1Rect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ellipseRibbon2" ) ) ) ] = new ShapeCellipseRibbon2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "plus" ) ) ) ] = new ShapeCplus();
}
-
-}
-}
+} } // oox // drawingml
diff --git a/oox/source/drawingml/customshapepresets5.cxx b/oox/source/drawingml/customshapepresets5.cxx
index a495162aa12d..68c8812cd5d5 100644
--- a/oox/source/drawingml/customshapepresets5.cxx
+++ b/oox/source/drawingml/customshapepresets5.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap5()
+namespace
+{
+class ShapeCaccentCallout3 : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -672,8 +675,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentCallout3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftCircularArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1344,8 +1351,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftCircularArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftCircularArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrightArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1697,8 +1708,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rightArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartPunchedCard : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1919,8 +1934,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartPunchedCard");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPunchedCard" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCsnip2DiagRect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2293,8 +2312,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-snip2DiagRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip2DiagRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCverticalScroll : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -3890,8 +3913,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-verticalScroll");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "verticalScroll" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstar7 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4356,8 +4383,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star7");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star7" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCchartX : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4630,8 +4661,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-chartX");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartX" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcloud : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5969,8 +6004,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-cloud");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cloud" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcube : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -6690,8 +6729,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-cube");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cube" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCround2DiagRect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7204,8 +7247,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-round2DiagRect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round2DiagRect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartMultidocument : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -8640,8 +8687,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMultidocument");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMultidocument" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCactionButtonDocument : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9478,8 +9529,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-actionButtonDocument");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonDocument" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartTerminator : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9761,8 +9816,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartTerminator");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartTerminator" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartDelay : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -9992,8 +10051,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartDelay");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDelay" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcurvedConnector5 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -10502,8 +10565,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-curvedConnector5");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector5" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeChorizontalScroll : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12093,8 +12160,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-horizontalScroll");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "horizontalScroll" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentConnector4 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -12401,8 +12472,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentConnector4");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector4" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCleftRightCircularArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13140,8 +13215,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-leftRightCircularArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightCircularArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCwedgeRectCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -13655,8 +13734,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-wedgeRectCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeRectCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCaccentCallout2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14216,8 +14299,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentCallout2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartMagneticDrum : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -14773,8 +14860,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartMagneticDrum");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticDrum" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcorner : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15110,8 +15201,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-corner");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "corner" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCborderCallout2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -15605,8 +15700,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-borderCallout2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCdonut : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16139,8 +16238,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-donut");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "donut" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartCollate : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -16381,8 +16484,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartCollate");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartCollate" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathNotEqual : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17039,8 +17146,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathNotEqual");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathNotEqual" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentConnector2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17211,8 +17322,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentConnector2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCmathMultiply : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17625,8 +17740,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-mathMultiply");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathMultiply" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCheptagon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -17898,8 +18017,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-heptagon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "heptagon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCrect : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18090,8 +18213,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-rect");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rect" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCaccentBorderCallout2 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18645,8 +18772,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-accentBorderCallout2");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout2" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCpieWedge : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -18851,8 +18982,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-pieWedge");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pieWedge" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCupArrowCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19380,8 +19515,12 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-upArrowCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upArrowCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCflowChartProcess : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -19583,11 +19722,48 @@ void CustomShapeProperties::initializePresetsMap5()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-flowChartProcess");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartProcess" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap5()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout3" ) ) ) ] = new ShapeCaccentCallout3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftCircularArrow" ) ) ) ] = new ShapeCleftCircularArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rightArrow" ) ) ) ] = new ShapeCrightArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartPunchedCard" ) ) ) ] = new ShapeCflowChartPunchedCard();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "snip2DiagRect" ) ) ) ] = new ShapeCsnip2DiagRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "verticalScroll" ) ) ) ] = new ShapeCverticalScroll();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star7" ) ) ) ] = new ShapeCstar7();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "chartX" ) ) ) ] = new ShapeCchartX();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cloud" ) ) ) ] = new ShapeCcloud();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cube" ) ) ) ] = new ShapeCcube();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "round2DiagRect" ) ) ) ] = new ShapeCround2DiagRect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMultidocument" ) ) ) ] = new ShapeCflowChartMultidocument();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "actionButtonDocument" ) ) ) ] = new ShapeCactionButtonDocument();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartTerminator" ) ) ) ] = new ShapeCflowChartTerminator();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartDelay" ) ) ) ] = new ShapeCflowChartDelay();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "curvedConnector5" ) ) ) ] = new ShapeCcurvedConnector5();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "horizontalScroll" ) ) ) ] = new ShapeChorizontalScroll();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector4" ) ) ) ] = new ShapeCbentConnector4();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "leftRightCircularArrow" ) ) ) ] = new ShapeCleftRightCircularArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "wedgeRectCallout" ) ) ) ] = new ShapeCwedgeRectCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentCallout2" ) ) ) ] = new ShapeCaccentCallout2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartMagneticDrum" ) ) ) ] = new ShapeCflowChartMagneticDrum();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "corner" ) ) ) ] = new ShapeCcorner();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "borderCallout2" ) ) ) ] = new ShapeCborderCallout2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "donut" ) ) ) ] = new ShapeCdonut();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartCollate" ) ) ) ] = new ShapeCflowChartCollate();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathNotEqual" ) ) ) ] = new ShapeCmathNotEqual();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentConnector2" ) ) ) ] = new ShapeCbentConnector2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "mathMultiply" ) ) ) ] = new ShapeCmathMultiply();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "heptagon" ) ) ) ] = new ShapeCheptagon();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "rect" ) ) ) ] = new ShapeCrect();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "accentBorderCallout2" ) ) ) ] = new ShapeCaccentBorderCallout2();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "pieWedge" ) ) ) ] = new ShapeCpieWedge();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "upArrowCallout" ) ) ) ] = new ShapeCupArrowCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "flowChartProcess" ) ) ) ] = new ShapeCflowChartProcess();
}
-
-}
-}
+} } // oox // drawingml
diff --git a/oox/source/drawingml/customshapepresets6.cxx b/oox/source/drawingml/customshapepresets6.cxx
index dc59bb1c5b64..9815c49c1819 100644
--- a/oox/source/drawingml/customshapepresets6.cxx
+++ b/oox/source/drawingml/customshapepresets6.cxx
@@ -18,8 +18,11 @@ using namespace ::com::sun::star::uno;
namespace oox { namespace drawingml {
-void CustomShapeProperties::initializePresetsMap6()
+namespace
+{
+class ShapeCstar5 : public CustomShapeProvider
{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -402,8 +405,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-star5");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star5" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeClineInv : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -505,8 +512,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-lineInv");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "lineInv" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstraightConnector1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -659,8 +670,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-straightConnector1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "straightConnector1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCstripedRightArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1196,8 +1211,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-stripedRightArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "stripedRightArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcallout3 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -1790,8 +1809,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-callout3");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout3" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCbentUpArrow : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2231,8 +2254,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-bentUpArrow");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentUpArrow" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCnoSmoking : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2747,8 +2774,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-noSmoking");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "noSmoking" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCtrapezoid : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -2999,8 +3030,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-trapezoid");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "trapezoid" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcloudCallout : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -4707,8 +4742,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-cloudCallout");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cloudCallout" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCcallout1 : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -5115,8 +5154,12 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-callout1");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout1" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
+};
+class ShapeCribbon : public CustomShapeProvider
+{
+ virtual PropertyMap getProperties()
{
PropertyMap aPropertyMap;
@@ -7033,12 +7076,29 @@ void CustomShapeProperties::initializePresetsMap6()
}
aPropertyMap [ PROP_Type ] <<= CREATE_OUSTRING("ooxml-ribbon");
- maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ribbon" ) ) ) ] = aPropertyMap;
+ return aPropertyMap;
}
-
+};
+} // anonymous namespace
+void CustomShapeProperties::initializePresetsMap6()
+{
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "star5" ) ) ) ] = new ShapeCstar5();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "lineInv" ) ) ) ] = new ShapeClineInv();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "straightConnector1" ) ) ) ] = new ShapeCstraightConnector1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "stripedRightArrow" ) ) ) ] = new ShapeCstripedRightArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout3" ) ) ) ] = new ShapeCcallout3();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "bentUpArrow" ) ) ) ] = new ShapeCbentUpArrow();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "noSmoking" ) ) ) ] = new ShapeCnoSmoking();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "trapezoid" ) ) ) ] = new ShapeCtrapezoid();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "cloudCallout" ) ) ) ] = new ShapeCcloudCallout();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "callout1" ) ) ) ] = new ShapeCcallout1();
+ maPresetsMap [ StaticTokenMap::get().getTokenFromUnicode( OUString( RTL_CONSTASCII_USTRINGPARAM( "ribbon" ) ) ) ] = new ShapeCribbon();
}
-void CustomShapeProperties::initializePresetsMap()
+} } // oox // drawingml
+
+
+void ::oox::drawingml::CustomShapeProperties::initializePresetsMap()
{
initializePresetsMap1();
initializePresetsMap2();
@@ -7047,7 +7107,3 @@ initializePresetsMap4();
initializePresetsMap5();
initializePresetsMap6();
}
-
-}
-}
-