LibreOffice Module oox (master) 1
Namespaces | Functions
drawingmltypes.cxx File Reference
#include <oox/drawingml/drawingmltypes.hxx>
#include <com/sun/star/awt/FontUnderline.hpp>
#include <com/sun/star/awt/FontStrikeout.hpp>
#include <com/sun/star/drawing/Hatch.hpp>
#include <com/sun/star/style/CaseMap.hpp>
#include <com/sun/star/xml/sax/XFastAttributeList.hpp>
#include <o3tl/string_view.hxx>
#include <optional>
#include <osl/diagnose.h>
#include <sax/tools/converter.hxx>
#include <oox/token/tokens.hxx>
Include dependency graph for drawingmltypes.cxx:

Go to the source code of this file.

Namespaces

namespace  oox
 
namespace  oox::drawingml
 

Functions

sal_Int32 oox::drawingml::GetCoordinate (sal_Int32 nValue)
 converts EMUs into 1/100th mmm More...
 
sal_Int32 oox::drawingml::GetCoordinate (std::u16string_view sValue)
 converts an emu string into 1/100th mmm More...
 
sal_Int32 oox::drawingml::GetPointFromCoordinate (sal_Int32 nValue)
 converts 1/100mm to EMU More...
 
sal_Int32 oox::drawingml::GetPercent (std::u16string_view sValue)
 converts a ST_Percentage % string into 1/1000th of % More...
 
double oox::drawingml::GetPositiveFixedPercentage (const OUString &sValue)
 Converts a ST_PositiveFixedPercentage to a float. More...
 
awt::Point oox::drawingml::GetPointPercent (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_TLPoint into an awt Point with 1/1000% More...
 
float oox::drawingml::GetTextSize (std::u16string_view sValue)
 converts the ST_TextFontSize to point More...
 
sal_Int32 oox::drawingml::GetTextSpacingPoint (std::u16string_view sValue)
 converts the ST_TextSpacingPoint to 1/100mm More...
 
sal_Int32 oox::drawingml::GetTextSpacingPoint (sal_Int32 nValue)
 
float oox::drawingml::GetFontHeight (sal_Int32 nHeight)
 
sal_Int16 oox::drawingml::GetFontUnderline (sal_Int32 nToken)
 
sal_Int16 oox::drawingml::GetFontStrikeout (sal_Int32 nToken)
 
sal_Int16 oox::drawingml::GetCaseMap (sal_Int32 nToken)
 
ParagraphAdjust oox::drawingml::GetParaAdjust (sal_Int32 nAlign)
 converts a paragraph align to a ParaAdjust More...
 
TextVerticalAdjust oox::drawingml::GetTextVerticalAdjust (sal_Int32 nToken)
 
const char * oox::drawingml::GetTextVerticalAdjust (TextVerticalAdjust eAdjust)
 
TabAlign oox::drawingml::GetTabAlign (sal_Int32 aToken)
 
const char * oox::drawingml::GetHatchPattern (const drawing::Hatch &rHatch)
 
std::optional< OString > oox::drawingml::GetTextVerticalType (sal_Int32 nRotateAngle)
 Converts nRotate angle to TextVerticalType string appearing in ooxml. More...
 
IntegerRectangle2D oox::drawingml::GetRelativeRect (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_RelativeRect to an IntegerRectangle2D More...
 
void oox::drawingml::fillRelativeRectangle (model::RelativeRectangle &rRelativeRectangle, const Reference< XFastAttributeList > &xAttribs)
 
awt::Size oox::drawingml::GetSize2D (const Reference< XFastAttributeList > &xAttribs)
 converts the attributes from a CT_Size2D into an awt Size with 1/100thmm More...
 
IndexRange oox::drawingml::GetIndexRange (const Reference< XFastAttributeList > &xAttributes)
 
model::RectangleAlignment oox::drawingml::convertToRectangleAlignment (sal_Int32 nToken)