LibreOffice Module oox (master) 1
|
#include <memory>
#include <optional>
#include <string_view>
#include <com/sun/star/awt/Point.hpp>
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/drawing/TextVerticalAdjust.hpp>
#include <com/sun/star/geometry/IntegerRectangle2D.hpp>
#include <com/sun/star/style/ParagraphAdjust.hpp>
#include <com/sun/star/style/TabAlign.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <o3tl/unit_conversion.hxx>
#include <docmodel/theme/FormatScheme.hxx>
#include <oox/dllapi.h>
#include <rtl/ustring.hxx>
#include <sal/types.h>
Go to the source code of this file.
Classes | |
struct | oox::drawingml::IndexRange |
struct | oox::drawingml::EmuPoint |
A structure for a point with 64-bit integer components. More... | |
struct | oox::drawingml::EmuSize |
A structure for a size with 64-bit integer components. More... | |
struct | oox::drawingml::EmuRectangle |
A structure for a rectangle with 64-bit integer components. More... | |
Namespaces | |
namespace | com |
namespace | com::sun |
namespace | com::sun::star |
namespace | com::sun::star::drawing |
namespace | com::sun::star::xml |
namespace | com::sun::star::xml::sax |
namespace | oox |
namespace | oox::drawingml |
namespace | oox::drawingml::table |
Typedefs | |
typedef std::shared_ptr< LineProperties > | oox::drawingml::LinePropertiesPtr |
typedef std::shared_ptr< FillProperties > | oox::drawingml::FillPropertiesPtr |
typedef std::shared_ptr< GraphicProperties > | oox::drawingml::GraphicPropertiesPtr |
typedef std::shared_ptr< Shape3DProperties > | oox::drawingml::Shape3DPropertiesPtr |
typedef std::shared_ptr< TextCharacterProperties > | oox::drawingml::TextCharacterPropertiesPtr |
typedef std::shared_ptr< EffectProperties > | oox::drawingml::EffectPropertiesPtr |
typedef std::shared_ptr< TextBody > | oox::drawingml::TextBodyPtr |
typedef std::shared_ptr< TextListStyle > | oox::drawingml::TextListStylePtr |
typedef std::shared_ptr< Shape > | oox::drawingml::ShapePtr |
typedef std::weak_ptr< Shape > | oox::drawingml::WeakShapePtr |
typedef std::shared_ptr< Theme > | oox::drawingml::ThemePtr |
typedef std::shared_ptr< TableProperties > | oox::drawingml::table::TablePropertiesPtr |
Functions | |
css::awt::Point | oox::drawingml::GetPointPercent (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttribs) |
converts the attributes from a CT_TLPoint into an awt Point with 1/1000% More... | |
css::awt::Size | oox::drawingml::GetSize2D (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes) |
converts the attributes from a CT_Size2D into an awt Size with 1/100th mm More... | |
css::geometry::IntegerRectangle2D | oox::drawingml::GetRelativeRect (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes) |
converts the attributes from a CT_RelativeRect to an IntegerRectangle2D More... | |
void | oox::drawingml::fillRelativeRectangle (model::RelativeRectangle &rRelativeRectangle, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes) |
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... | |
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) |
css::style::TabAlign | oox::drawingml::GetTabAlign (::sal_Int32 aToken) |
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) |
OOX_DLLPUBLIC const char * | oox::drawingml::GetTextVerticalAdjust (css::drawing::TextVerticalAdjust eAdjust) |
const char * | oox::drawingml::GetHatchPattern (const css::drawing::Hatch &rHatch) |
std::optional< OString > | oox::drawingml::GetTextVerticalType (sal_Int32 nRotateAngle) |
Converts nRotate angle to TextVerticalType string appearing in ooxml. More... | |
IndexRange | oox::drawingml::GetIndexRange (const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttributes) |
retrieve the content of CT_IndexRange More... | |
OString | oox::drawingml::calcRotationValue (sal_Int32 nRotation) |
nRotation is a 100th of a degree and the return value is in a 60,000th of a degree More... | |
sal_Int64 | oox::drawingml::convertHmmToEmu (sal_Int32 nValue) |
Converts the passed 32-bit integer value from 1/100 mm to EMUs. More... | |
sal_Int32 | oox::drawingml::convertEmuToHmm (sal_Int64 nValue) |
Converts the passed 64-bit integer value from EMUs to 1/100 mm. More... | |
float | oox::drawingml::convertEmuToPoints (sal_Int64 nValue) |
Converts the passed 64-bit integer value from EMUs to Points. More... | |
double | oox::drawingml::convertPointToMms (double fValue) |
Converts the passed double value from points to mm. More... | |
model::RectangleAlignment | oox::drawingml::convertToRectangleAlignment (sal_Int32 nToken) |
Variables | |
const sal_Int32 | oox::drawingml::PER_PERCENT = 1000 |
const sal_Int32 | oox::drawingml::MAX_PERCENT = 100 * PER_PERCENT |
const sal_Int32 | oox::drawingml::PER_DEGREE = 60000 |
const sal_Int32 | oox::drawingml::MAX_DEGREE = 360 * PER_DEGREE |