LibreOffice Module sw (master)  1
Macros | Functions
inftxt.cxx File Reference
#include <com/sun/star/linguistic2/XHyphenator.hpp>
#include <unotools/linguprops.hxx>
#include <unotools/lingucfg.hxx>
#include <hintids.hxx>
#include <svl/ctloptions.hxx>
#include <sfx2/infobar.hxx>
#include <sfx2/printer.hxx>
#include <sal/log.hxx>
#include <editeng/hyphenzoneitem.hxx>
#include <editeng/hngpnctitem.hxx>
#include <editeng/scriptspaceitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/splwrap.hxx>
#include <editeng/pgrditem.hxx>
#include <editeng/tstpitem.hxx>
#include <editeng/shaditem.hxx>
#include <SwSmartTagMgr.hxx>
#include <breakit.hxx>
#include <editeng/forbiddenruleitem.hxx>
#include <paintfrm.hxx>
#include <swmodule.hxx>
#include <vcl/svapp.hxx>
#include <viewsh.hxx>
#include <viewopt.hxx>
#include <frmtool.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <paratr.hxx>
#include <rootfrm.hxx>
#include "inftxt.hxx"
#include <blink.hxx>
#include <noteurl.hxx>
#include "porftn.hxx"
#include "porrst.hxx"
#include "itratr.hxx"
#include "portab.hxx"
#include <accessibilityoptions.hxx>
#include <wrong.hxx>
#include <doc.hxx>
#include <pam.hxx>
#include <numrule.hxx>
#include <EnhancedPDFExportHelper.hxx>
#include <docsh.hxx>
#include <strings.hrc>
Include dependency graph for inftxt.cxx:

Go to the source code of this file.

Macros

#define CHAR_UNDERSCORE   u'_'
 
#define CHAR_LEFT_ARROW   u'\x25C0'
 
#define CHAR_RIGHT_ARROW   u'\x25B6'
 
#define CHAR_TAB   u'\x2192'
 
#define CHAR_TAB_RTL   u'\x2190'
 
#define CHAR_LINEBREAK   u'\x21B5'
 
#define CHAR_LINEBREAK_RTL   u'\x21B3'
 
#define DRAW_SPECIAL_OPTIONS_CENTER   1
 
#define DRAW_SPECIAL_OPTIONS_ROTATE   2
 

Functions

static void ChkOutDev (const SwTextSizeInfo &rInf)
 
static TextFrameIndex GetMinLen (const SwTextSizeInfo &rInf)
 
static bool lcl_IsDarkBackground (const SwTextPaintInfo &rInf)
 Returns if the current background color is dark. More...
 
static void lcl_DrawSpecial (const SwTextPaintInfo &rInf, const SwLinePortion &rPor, SwRect &rRect, const Color &rCol, sal_Unicode cChar, sal_uInt8 nOptions)
 Draws a special portion E.g. More...
 
static void lcl_InitHyphValues (PropertyValues &rVals, sal_Int16 nMinLeading, sal_Int16 nMinTrailing, bool bNoCapsHyphenation)
 

Macro Definition Documentation

#define CHAR_LEFT_ARROW   u'\x25C0'

Definition at line 74 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawRedArrow().

#define CHAR_LINEBREAK   u'\x21B5'

Definition at line 78 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawLineBreak().

#define CHAR_LINEBREAK_RTL   u'\x21B3'

Definition at line 79 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawLineBreak().

#define CHAR_RIGHT_ARROW   u'\x25B6'

Definition at line 75 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawRedArrow().

#define CHAR_TAB   u'\x2192'

Definition at line 76 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawTab().

#define CHAR_TAB_RTL   u'\x2190'

Definition at line 77 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawTab().

#define CHAR_UNDERSCORE   u'_'

Definition at line 73 of file inftxt.cxx.

Referenced by SwTextFormatInfo::ScanPortionEnd().

#define DRAW_SPECIAL_OPTIONS_CENTER   1

Definition at line 81 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawTab(), and lcl_DrawSpecial().

#define DRAW_SPECIAL_OPTIONS_ROTATE   2

Definition at line 82 of file inftxt.cxx.

Referenced by SwTextPaintInfo::DrawTab(), and lcl_DrawSpecial().

Function Documentation

static void ChkOutDev ( const SwTextSizeInfo rInf)
static
static TextFrameIndex GetMinLen ( const SwTextSizeInfo rInf)
static
static void lcl_DrawSpecial ( const SwTextPaintInfo rInf,
const SwLinePortion rPor,
SwRect rRect,
const Color rCol,
sal_Unicode  cChar,
sal_uInt8  nOptions 
)
static
static void lcl_InitHyphValues ( PropertyValues rVals,
sal_Int16  nMinLeading,
sal_Int16  nMinTrailing,
bool  bNoCapsHyphenation 
)
static
static bool lcl_IsDarkBackground ( const SwTextPaintInfo rInf)
static