LibreOffice Module oox (master) 1
Classes | Namespaces | Typedefs | Functions
vmlformatting.hxx File Reference
#include <sal/config.h>
#include <string_view>
#include <utility>
#include <vector>
#include <com/sun/star/drawing/PolygonFlags.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <oox/dllapi.h>
#include <oox/helper/helper.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <tools/degree.hxx>
Include dependency graph for vmlformatting.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  oox::vml::StrokeArrowModel
 The stroke arrow model structure contains all properties for a line end arrow. More...
 
struct  oox::vml::StrokeModel
 The stroke model structure contains all shape border properties. More...
 
struct  oox::vml::FillModel
 The fill model structure contains all shape fill properties. More...
 
struct  oox::vml::ShadowModel
 The shadow model structure contains all shape shadow properties. More...
 
struct  oox::vml::TextpathModel
 The shadow model structure contains all shape textpath properties. More...
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::awt
 
namespace  com::sun::star::drawing
 
namespace  oox
 
namespace  oox::drawingml
 
namespace  oox::vml
 
namespace  oox::vml::ConversionHelper
 

Typedefs

typedef ::std::pair< sal_Int32, sal_Int32 > oox::vml::Int32Pair
 
typedef ::std::pair< double, double > oox::vml::DoublePair
 

Functions

OOX_DLLPUBLIC bool oox::vml::ConversionHelper::separatePair (std::u16string_view &orValue1, std::u16string_view &orValue2, std::u16string_view rValue, sal_Unicode cSep)
 Returns two values contained in rValue separated by cSep. More...
 
OOX_DLLPUBLIC bool oox::vml::ConversionHelper::decodeBool (std::u16string_view rValue)
 Returns the boolean value from the passed string of a VML attribute. More...
 
OOX_DLLPUBLIC double oox::vml::ConversionHelper::decodePercent (std::u16string_view rValue, double fDefValue)
 Converts the passed VML percentage measure string to a normalized floating-point value. More...
 
OOX_DLLPUBLIC Degree100 oox::vml::ConversionHelper::decodeRotation (std::u16string_view rValue)
 Converts the passed VML rotation value to degrees. More...
 
OOX_DLLPUBLIC sal_Int64 oox::vml::ConversionHelper::decodeMeasureToEmu (const GraphicHelper &rGraphicHelper, std::u16string_view rValue, sal_Int32 nRefValue, bool bPixelX, bool bDefaultAsPixel)
 Converts the passed VML measure string to EMU (English Metric Units). More...
 
OOX_DLLPUBLIC sal_Int32 oox::vml::ConversionHelper::decodeMeasureToHmm (const GraphicHelper &rGraphicHelper, std::u16string_view rValue, sal_Int32 nRefValue, bool bPixelX, bool bDefaultAsPixel)
 Converts the passed VML measure string to 1/100 mm. More...
 
OOX_DLLPUBLIC sal_Int32 oox::vml::ConversionHelper::decodeMeasureToTwip (const GraphicHelper &rGraphicHelper, std::u16string_view rValue, sal_Int32 nRefValue, bool bPixelX, bool bDefaultAsPixel)
 Converts the passed VML measure string to Twip. More...
 
OOX_DLLPUBLIC::oox::drawingml::Color oox::vml::ConversionHelper::decodeColor (const GraphicHelper &rGraphicHelper, const std::optional< OUString > &roVmlColor, const std::optional< double > &roVmlOpacity, ::Color nDefaultRgb, ::Color nPrimaryRgb=API_RGB_TRANSPARENT)
 Converts VML color attributes to a DrawingML color. More...
 
OOX_DLLPUBLIC void oox::vml::ConversionHelper::decodeVmlPath (::std::vector< ::std::vector< css::awt::Point > > &rPoints, ::std::vector< ::std::vector< css::drawing::PolygonFlags > > &rFlags, std::u16string_view rPath)
 Converts VML path string into point and flag vectors. More...