23#include <rtl/ustring.hxx>
29#include <com/sun/star/beans/PropertyValue.hpp>
30#include <com/sun/star/beans/XPropertySet.hpp>
31#include <com/sun/star/drawing/LineCap.hpp>
32#include <com/sun/star/drawing/LineDash.hpp>
33#include <com/sun/star/drawing/XShape.hpp>
34#include <com/sun/star/text/XText.hpp>
40 const OUString& rName);
46 const css::uno::Reference<css::drawing::XShape>& xShape,
48 const OUString& sMSPresetType,
const bool bFromWordArt);
59 std::vector<css::beans::PropertyValue>& rCharPropVec);
64 css::uno::Reference<css::text::XText>& rXText);
71 std::vector<css::beans::PropertyValue>& rCharPropVec);
77 const css::uno::Reference<css::beans::XPropertySet>& rXPropSet,
78 std::vector<css::beans::PropertyValue>& rUpdatePropVec);
83 css::uno::Reference<css::text::XText>& rXText);
92 const css::drawing::LineCap& rLineCap, OUString& rsPrstDash);
99 const css::uno::Reference<css::beans::XPropertySet>& xPropertySet,
void applyUpdatesToCharInteropGrabBag(const std::vector< css::beans::PropertyValue > &rUpdatePropVec, css::uno::Reference< css::text::XText > &rXText)
Puts all properties in rUpdatePropVec into the "CharInteropGrabBag" of all non-empty runs in rXText.
void createCharFillPropsFromShape(const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, std::vector< css::beans::PropertyValue > &rCharPropVec)
Generates the properties "CharColor", "CharLumMod", "CharLumOff", "CharColorTheme",...
void collectCharColorProps(const css::uno::Reference< css::text::XText > &rXText, std::vector< css::beans::PropertyValue > &rCharPropVec)
Collects the properties "CharColor", "CharLumMod", "CharLumOff", "CharColorTheme",...
OString GetVMLFontworkShapetypeMarkup(const MSO_SPT eShapeType)
Returns the markup for the v:shapetype element for export of a Fontwork shape to VML.
void putCustomShapeIntoTextPathMode(const css::uno::Reference< css::drawing::XShape > &xShape, const oox::drawingml::CustomShapePropertiesPtr &pCustomShapePropertiesPtr, const OUString &sMSPresetType, const bool bFromWordArt)
Changes the EnhancedCustomShapeGeometry of xShape shape so, that it becomes a LO Fontwork shape corre...
bool getThemeColorFromShape(const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertySet > &xPropertySet, model::ComplexColor &rComplexColor)
Returns true if a theme color with other type than model::ThemeColorType::Unknown was found.
bool createPrstDashFromLineDash(const css::drawing::LineDash &rLineDash, const css::drawing::LineCap &rLineCap, OUString &rsPrstDash)
Uses LineDash and LineCap to detect, whether the dashing comes from a prstDash in MS Office.
void resetPropertyValueInVec(std::vector< css::beans::PropertyValue > &rPropVec, const OUString &rName)
Removes the property specified by rName from the rPropVec vector of properties.
void applyPropsToRuns(const std::vector< css::beans::PropertyValue > &rTextPropVec, css::uno::Reference< css::text::XText > &rXText)
Applies all properties in rTextPropVec excluding "CharInteropGrabBag" to all non-empty runs in rXText...
void createCharInteropGrabBagUpdatesFromShapeProps(const css::uno::Reference< css::beans::XPropertySet > &rXPropSet, std::vector< css::beans::PropertyValue > &rUpdatePropVec)
Creates the properties "CharTextFillTextEffect", "CharTextOutlineTextEffect", "CharThemeColor",...
std::shared_ptr< CustomShapeProperties > CustomShapePropertiesPtr