Kaydet (Commit) d88f5256 authored tarafından Artur Dorda's avatar Artur Dorda Kaydeden (comit) Markus Mohrhard

Added dumping of RangeYMinimum & RangeYMaximum properties

Change-Id: I9ce489487676bd3182c6bdd4ce3969544d40c2ae
üst 3b5c45c7
......@@ -112,6 +112,8 @@ public:
void dumpRefRAsAttribute(sal_Int32 aRefR);
void dumpRangeXMinimumAsElement(com::sun::star::drawing::EnhancedCustomShapeParameter aRangeXMinimum);
void dumpRangeXMaximumAsElement(com::sun::star::drawing::EnhancedCustomShapeParameter aRangeXMaximum);
void dumpRangeYMinimumAsElement(com::sun::star::drawing::EnhancedCustomShapeParameter aRangeYMinimum);
void dumpRangeYMaximumAsElement(com::sun::star::drawing::EnhancedCustomShapeParameter aRangeXMaximum);
private:
xmlTextWriterPtr xmlWriter;
......
......@@ -688,6 +688,18 @@ void EnhancedShapeDumper::dumpEnhancedCustomShapeHandleService(uno::Reference< b
if(anotherAny >>= aRangeXMaximum)
dumpRangeXMaximumAsElement(aRangeXMaximum);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("RangeYMinimum");
drawing::EnhancedCustomShapeParameter aRangeYMinimum;
if(anotherAny >>= aRangeYMinimum)
dumpRangeYMinimumAsElement(aRangeYMinimum);
}
{
uno::Any anotherAny = xPropSet->getPropertyValue("RangeYMaximum");
drawing::EnhancedCustomShapeParameter aRangeYMaximum;
if(anotherAny >>= aRangeYMaximum)
dumpRangeYMaximumAsElement(aRangeYMaximum);
}
}
void EnhancedShapeDumper::dumpSwitchedAsAttribute(sal_Bool bSwitched)
......@@ -759,4 +771,17 @@ void EnhancedShapeDumper::dumpRangeXMaximumAsElement(drawing::EnhancedCustomShap
xmlTextWriterEndElement( xmlWriter );
}
void EnhancedShapeDumper::dumpRangeYMinimumAsElement(drawing::EnhancedCustomShapeParameter aRangeYMinimum)
{
xmlTextWriterStartElement(xmlWriter, BAD_CAST( "RangeYMinimum" ));
dumpEnhancedCustomShapeParameter(aRangeYMinimum);
xmlTextWriterEndElement( xmlWriter );
}
void EnhancedShapeDumper::dumpRangeYMaximumAsElement(drawing::EnhancedCustomShapeParameter aRangeYMaximum)
{
xmlTextWriterStartElement(xmlWriter, BAD_CAST( "RangeYMaximum" ));
dumpEnhancedCustomShapeParameter(aRangeYMaximum);
xmlTextWriterEndElement( xmlWriter );
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment