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 class  Unit {
  Points = 0 ,
  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

◆ Unit

Enumerator
Points 
Percent 

Definition at line 34 of file textspacing.hxx.

Constructor & Destructor Documentation

◆ TextSpacing() [1/2]

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

Definition at line 38 of file textspacing.hxx.

◆ TextSpacing() [2/2]

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

Definition at line 42 of file textspacing.hxx.

Member Function Documentation

◆ toLineSpacing()

css::style::LineSpacing oox::drawingml::TextSpacing::toLineSpacing ( ) const
inline

◆ toMargin()

sal_Int32 oox::drawingml::TextSpacing::toMargin ( float  fFontSize) const
inline

Member Data Documentation

◆ bExactValue

bool oox::drawingml::TextSpacing::bExactValue

◆ bHasValue

bool oox::drawingml::TextSpacing::bHasValue

◆ nUnit

Unit oox::drawingml::TextSpacing::nUnit

◆ nValue

sal_Int32 oox::drawingml::TextSpacing::nValue

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