LibreOffice Module oox (master)  1
Public Types | Public Member Functions | Public Attributes | List of all members
oox::drawingml::TextSpacing Class Reference

carries a CT_TextSpacing More...

#include <textspacing.hxx>

Public Types

enum  Unit {
  Unit::Points = 0,
  Unit::Percent
}
 

Public Member Functions

 TextSpacing ()
 
 TextSpacing (sal_Int32 nPoints)
 
css::style::LineSpacing toLineSpacing () const
 
sal_Int32 toMargin (float fFontSize) const
 

Public Attributes

Unit nUnit
 
sal_Int32 nValue
 
bool bHasValue
 
bool bExactValue
 

Detailed Description

carries a CT_TextSpacing

Definition at line 31 of file textspacing.hxx.

Member Enumeration Documentation

Enumerator
Points 
Percent 

Definition at line 34 of file textspacing.hxx.

Constructor & Destructor Documentation

oox::drawingml::TextSpacing::TextSpacing ( )
inline

Definition at line 38 of file textspacing.hxx.

oox::drawingml::TextSpacing::TextSpacing ( sal_Int32  nPoints)
inline

Definition at line 42 of file textspacing.hxx.

Member Function Documentation

css::style::LineSpacing oox::drawingml::TextSpacing::toLineSpacing ( ) const
inline
sal_Int32 oox::drawingml::TextSpacing::toMargin ( float  fFontSize) const
inline

Member Data Documentation

bool oox::drawingml::TextSpacing::bExactValue
bool oox::drawingml::TextSpacing::bHasValue
Unit oox::drawingml::TextSpacing::nUnit
sal_Int32 oox::drawingml::TextSpacing::nValue

The documentation for this class was generated from the following file: