LibreOffice Module writerfilter (master) 1
Functions
writerfilter::dmapper::ConversionHelper Namespace Reference

Functions

static sal_Int32 lcl_convertBorderStyleFromToken (sal_Int32 nOOXMLType)
 Convert OOXML border style to WW8 that editeng can handle. More...
 
void MakeBorderLine (sal_Int32 nLineThickness, sal_Int32 nLineToken, sal_Int32 nLineColor, table::BorderLine2 &rToFill, bool bIsOOXML)
 
OUString ConvertMSFormatStringToSO (const OUString &rFormat, lang::Locale &rLocale, bool bHijri)
 
sal_Int32 convertTwipToMM100 (sal_Int32 _t)
 
sal_Int32 convertTwipToMM100WithoutLimit (sal_Int32 _t)
 
double convertTwipToMM100Double (sal_Int32 _t)
 
sal_uInt32 convertTwipToMM100Unsigned (sal_Int32 _t)
 
text::RubyAdjust convertRubyAlign (sal_Int32 nIntValue)
 
sal_Int16 convertTableJustification (sal_Int32 nIntValue)
 
sal_Int16 ConvertNumberingType (const sal_Int32 nFmt, const sal_Int16 nDefault)
 
sal_Int16 ConvertCustomNumberFormat (std::u16string_view rFormat)
 
util::DateTime ConvertDateStringToDateTime (std::u16string_view rDateTime)
 
void MakeBorderLine (sal_Int32 nLineThickness, sal_Int32 nLineType, sal_Int32 nLineColor, css::table::BorderLine2 &rToFill, bool bIsOOXML)
 
OUString ConvertMSFormatStringToSO (const OUString &rFormat, css::lang::Locale &rLocale, bool bHijri)
 

Function Documentation

◆ ConvertCustomNumberFormat()

sal_Int16 writerfilter::dmapper::ConversionHelper::ConvertCustomNumberFormat ( std::u16string_view  rFormat)

Definition at line 643 of file ConversionHelper.cxx.

References u.

Referenced by writerfilter::dmapper::ListLevel::GetLevelProperties().

◆ ConvertDateStringToDateTime()

css::util::DateTime writerfilter::dmapper::ConversionHelper::ConvertDateStringToDateTime ( std::u16string_view  rDateTime)

◆ ConvertMSFormatStringToSO() [1/2]

OUString writerfilter::dmapper::ConversionHelper::ConvertMSFormatStringToSO ( const OUString &  rFormat,
css::lang::Locale &  rLocale,
bool  bHijri 
)

◆ ConvertMSFormatStringToSO() [2/2]

OUString writerfilter::dmapper::ConversionHelper::ConvertMSFormatStringToSO ( const OUString &  rFormat,
lang::Locale &  rLocale,
bool  bHijri 
)

◆ ConvertNumberingType()

sal_Int16 writerfilter::dmapper::ConversionHelper::ConvertNumberingType ( const sal_Int32  nFmt,
const sal_Int16  nDefault 
)

◆ convertRubyAlign()

css::text::RubyAdjust writerfilter::dmapper::ConversionHelper::convertRubyAlign ( sal_Int32  nIntValue)

◆ convertTableJustification()

sal_Int16 writerfilter::dmapper::ConversionHelper::convertTableJustification ( sal_Int32  nIntValue)

◆ convertTwipToMM100()

SAL_DLLPUBLIC_EXPORT sal_Int32 writerfilter::dmapper::ConversionHelper::convertTwipToMM100 ( sal_Int32  _t)

◆ convertTwipToMM100Double()

double writerfilter::dmapper::ConversionHelper::convertTwipToMM100Double ( sal_Int32  _t)

◆ convertTwipToMM100Unsigned()

SAL_DLLPUBLIC_EXPORT sal_uInt32 writerfilter::dmapper::ConversionHelper::convertTwipToMM100Unsigned ( sal_Int32  _t)

◆ convertTwipToMM100WithoutLimit()

sal_Int32 writerfilter::dmapper::ConversionHelper::convertTwipToMM100WithoutLimit ( sal_Int32  _t)

◆ lcl_convertBorderStyleFromToken()

static sal_Int32 writerfilter::dmapper::ConversionHelper::lcl_convertBorderStyleFromToken ( sal_Int32  nOOXMLType)
static

Convert OOXML border style to WW8 that editeng can handle.

Definition at line 37 of file ConversionHelper.cxx.

Referenced by MakeBorderLine().

◆ MakeBorderLine() [1/2]

void writerfilter::dmapper::ConversionHelper::MakeBorderLine ( sal_Int32  nLineThickness,
sal_Int32  nLineToken,
sal_Int32  nLineColor,
table::BorderLine2 &  rToFill,
bool  bIsOOXML 
)

◆ MakeBorderLine() [2/2]

void writerfilter::dmapper::ConversionHelper::MakeBorderLine ( sal_Int32  nLineThickness,
sal_Int32  nLineType,
sal_Int32  nLineColor,
css::table::BorderLine2 &  rToFill,
bool  bIsOOXML 
)