LibreOffice Module sw (master) 1
Classes | Namespaces | Functions
writerwordglue.cxx File Reference
#include <msfilter.hxx>
#include "writerwordglue.hxx"
#include <doc.hxx>
#include "writerhelper.hxx"
#include <IDocumentStylePoolAccess.hxx>
#include <algorithm>
#include <o3tl/string_view.hxx>
#include <rtl/tencinfo.h>
#include <sal/log.hxx>
#include <svl/numformat.hxx>
#include <unicode/ubidi.h>
#include <tools/tenccvt.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/fontitem.hxx>
#include <o3tl/sorted_vector.hxx>
#include <frmfmt.hxx>
#include <fmtclds.hxx>
#include <hfspacingitem.hxx>
#include <fmtfsize.hxx>
#include <poolfmt.hxx>
#include <swrect.hxx>
#include <fmthdft.hxx>
#include <frmatr.hxx>
#include <ndtxt.hxx>
#include <breakit.hxx>
Include dependency graph for writerwordglue.cxx:

Go to the source code of this file.

Classes

class  myImplHelpers::MapperImpl< SwTextFormatColl >
 
class  myImplHelpers::MapperImpl< SwCharFormat >
 
class  myImplHelpers::StyleMapperImpl< C >
 

Namespaces

namespace  myImplHelpers
 
namespace  sw
 Dialog to specify the properties of date form field.
 
namespace  sw::util
 
namespace  sw::ms
 

Functions

static SwTwips myImplHelpers::CalcHdFtDist (const SwFrameFormat &rFormat, sal_uInt16 nSpacing)
 
static SwTwips myImplHelpers::CalcHdDist (const SwFrameFormat &rFormat)
 
static SwTwips myImplHelpers::CalcFtDist (const SwFrameFormat &rFormat)
 
static OUString myImplHelpers::FindBestMSSubstituteFont (std::u16string_view rFont)
 
static SvxLRSpaceItem lcl_getWordLRSpace (const SwFrameFormat &rFormat)
 Count what Word calls left/right margin from a format's LRSpace + Box. More...
 
bool sw::util::IsPlausableSingleWordSection (const SwFrameFormat &rTitleFormat, const SwFrameFormat &rFollowFormat)
 See if two page formats can be expressed as a single word section. More...
 
CharRuns sw::util::GetPseudoCharRuns (const SwTextNode &rTextNd)
 Collect the ranges of Text which share. More...
 
sal_uInt8 sw::ms::rtl_TextEncodingToWinCharset (rtl_TextEncoding eTextEncoding)
 MSOffice appears to set the charset of unicode fonts to MS 932. More...
 
static bool sw::ms::CanEncode (OUString const &rString, rtl_TextEncoding const eEncoding)
 
sal_uInt8 sw::ms::rtl_TextEncodingToWinCharsetRTF (OUString const &rFontName, OUString const &rAltName, rtl_TextEncoding eTextEncoding)
 MSOffice appears to set the charset of unicode fonts to MS 932. More...
 
sal_uInt32 sw::ms::DateTime2DTTM (const DateTime &rDT)
 Convert from DTTM to Writer's DateTime. More...
 
static sal_Int32 sw::ms::findUnquoted (std::u16string_view aParams, sal_Unicode cFind, sal_Int32 nFromPos)
 Find cFind in rParams if not embedded in " double quotes. More...
 
static bool sw::ms::replaceUnquoted (OUString &rParams, std::u16string_view aFind, std::u16string_view aReplace)
 Find all rFind in rParams if not embedded in " double quotes and replace with rReplace. More...
 
sal_uLong sw::ms::MSDateTimeFormatToSwFormat (OUString &rParams, SvNumberFormatter *pFormatter, LanguageType &rLang, bool bHijri, LanguageType nDocLang)
 Convert from Word Date/Time field str to Writer's Date Time str. More...
 
bool sw::ms::IsPreviousAM (std::u16string_view rParams, sal_Int32 nPos)
 
bool sw::ms::IsNextPM (std::u16string_view rParams, sal_Int32 nPos)
 
bool sw::ms::IsNotAM (std::u16string_view rParams, sal_Int32 nPos)
 Used by MSDateTimeFormatToSwFormat to identify AM time fields. More...
 
void sw::ms::SwapQuotesInField (OUString &rFormat)
 Another function used by MSDateTimeFormatToSwFormat. More...
 

Function Documentation

◆ lcl_getWordLRSpace()

static SvxLRSpaceItem lcl_getWordLRSpace ( const SwFrameFormat rFormat)
static

Variable Documentation

◆ mnStart

sal_Int32 mnStart
private

Definition at line 342 of file writerwordglue.cxx.