|
LibreOffice Module sw (master) 1
|
#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/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 <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 <noteurl.hxx>#include "porftn.hxx"#include "porrst.hxx"#include "itratr.hxx"#include "portab.hxx"#include <wrong.hxx>#include <doc.hxx>#include <pam.hxx>#include <numrule.hxx>#include <EnhancedPDFExportHelper.hxx>#include <docsh.hxx>#include <strings.hrc>#include <o3tl/deleter.hxx>#include <vcl/gdimtf.hxx>#include <vcl/virdev.hxx>#include <vcl/gradient.hxx>#include <i18nlangtag/mslangid.hxx>#include <formatlinebreak.hxx>#include <view.hxx>#include <wrtsh.hxx>#include <com/sun/star/text/XTextRange.hpp>#include <unotextrange.hxx>#include <SwStyleNameMapper.hxx>#include <unoprnms.hxx>#include <editeng/unoprnms.hxx>#include <unomap.hxx>#include <com/sun/star/awt/FontSlant.hpp>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 void | lcl_DrawSpecial (const SwTextPaintInfo &rTextPaintInfo, 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, bool bNoLastWordHyphenation, sal_Int16 nMinWordLength, sal_Int16 nTextHyphZone) |
| #define CHAR_LEFT_ARROW u'\x25C0' |
Definition at line 86 of file inftxt.cxx.
| #define CHAR_LINEBREAK u'\x21B5' |
Definition at line 90 of file inftxt.cxx.
| #define CHAR_LINEBREAK_RTL u'\x21B3' |
Definition at line 91 of file inftxt.cxx.
| #define CHAR_RIGHT_ARROW u'\x25B6' |
Definition at line 87 of file inftxt.cxx.
| #define CHAR_TAB u'\x2192' |
Definition at line 88 of file inftxt.cxx.
| #define CHAR_TAB_RTL u'\x2190' |
Definition at line 89 of file inftxt.cxx.
| #define CHAR_UNDERSCORE u'_' |
Definition at line 85 of file inftxt.cxx.
| #define DRAW_SPECIAL_OPTIONS_CENTER 1 |
Definition at line 93 of file inftxt.cxx.
| #define DRAW_SPECIAL_OPTIONS_ROTATE 2 |
Definition at line 94 of file inftxt.cxx.
|
static |
Definition at line 172 of file inftxt.cxx.
References SwTextSizeInfo::GetOut(), SwTextSizeInfo::GetRefDev(), SwTextSizeInfo::GetVsh(), and pOut.
Referenced by SwTextSizeInfo::CtorInitTextSizeInfo(), and SwTextSizeInfo::SwTextSizeInfo().
|
static |
Definition at line 183 of file inftxt.cxx.
References COMPLETE_STRING, SwTextSizeInfo::GetIdx(), SwTextSizeInfo::GetLen(), SwTextSizeInfo::GetText(), and min().
Referenced by SwTextSizeInfo::CtorInitTextSizeInfo(), and SwTextSizeInfo::SwTextSizeInfo().
|
static |
Draws a special portion E.g.
: line break portion, tab portion
| rPor | The portion |
| rRect | The rectangle surrounding the character |
| rCol | Specify a color for the character |
| bCenter | Draw the character centered, otherwise left aligned |
| bRotate | Rotate the character if character rotation is set |
Definition at line 838 of file inftxt.cxx.
References DRAW_SPECIAL_OPTIONS_CENTER, DRAW_SPECIAL_OPTIONS_ROTATE, SwTextPaintInfo::DrawText(), FAMILY_DONTKNOW, o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SwFont::GetActual(), SwTextSizeInfo::GetAscent(), numfunc::GetDefBulletFontname(), SwTextSizeInfo::GetFont(), SwFont::GetOrientation(), SwTextPaintInfo::GetPos(), SwFont::GetSize(), SwTextSizeInfo::GetTextFrame(), SwTextSizeInfo::GetTextSize(), Size::Height(), SwRect::Height(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), SwRect::Left(), SwFont::SetCharSet(), SwFont::SetColor(), SwFont::SetFamily(), SwTextSizeInfo::SetFont(), Size::setHeight(), SwFont::SetName(), SwTextPaintInfo::SetPos(), SwFont::SetSize(), SwFont::SetStyleName(), SwFont::SetVertical(), Size::setWidth(), SPECIAL_FONT_HEIGHT, SwPosSize::SvLSize(), SwTextFrame::SwitchRTLtoLTR(), SwTextFrame::SwitchVerticalToHorizontal(), SwRect::Top(), Width, Size::Width(), SwPosSize::Width(), and SwRect::Width().
Referenced by SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawRedArrow(), and SwTextPaintInfo::DrawTab().
|
static |
Definition at line 1528 of file inftxt.cxx.
References UPH_HYPH_MIN_LEADING, UPH_HYPH_MIN_TRAILING, UPH_HYPH_MIN_WORD_LENGTH, UPH_HYPH_NO_CAPS, UPH_HYPH_NO_LAST_WORD, UPH_HYPH_ZONE, UPN_HYPH_MIN_LEADING, UPN_HYPH_MIN_TRAILING, UPN_HYPH_MIN_WORD_LENGTH, UPN_HYPH_NO_CAPS, UPN_HYPH_NO_LAST_WORD, and UPN_HYPH_ZONE.
Referenced by SwTextFormatInfo::InitHyph().