LibreOffice Module sc (master) 1
|
#include <scitems.hxx>
#include <editeng/eeitem.hxx>
#include <editeng/adjustitem.hxx>
#include <svx/algitem.hxx>
#include <editeng/brushitem.hxx>
#include <svtools/colorcfg.hxx>
#include <editeng/colritem.hxx>
#include <editeng/charreliefitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/contouritem.hxx>
#include <editeng/editobj.hxx>
#include <editeng/editstat.hxx>
#include <editeng/emphasismarkitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/forbiddenruleitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/justifyitem.hxx>
#include <svx/rotmodit.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/unolingu.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/shdditem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/wrlmitem.hxx>
#include <formula/errorcodes.hxx>
#include <svl/numformat.hxx>
#include <svl/zforlist.hxx>
#include <svl/zformat.hxx>
#include <vcl/kernarray.hxx>
#include <vcl/svapp.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include <vcl/pdfextoutdevdata.hxx>
#include <vcl/settings.hxx>
#include <vcl/glyphitem.hxx>
#include <vcl/vcllayout.hxx>
#include <vcl/glyphitemcache.hxx>
#include <sal/log.hxx>
#include <unotools/charclass.hxx>
#include <osl/diagnose.h>
#include <tools/stream.hxx>
#include <output.hxx>
#include <document.hxx>
#include <formulacell.hxx>
#include <attrib.hxx>
#include <patattr.hxx>
#include <cellform.hxx>
#include <editutil.hxx>
#include <progress.hxx>
#include <scmod.hxx>
#include <fillinfo.hxx>
#include <stlsheet.hxx>
#include <spellcheckcontext.hxx>
#include <scopetools.hxx>
#include <com/sun/star/i18n/DirectionProperty.hpp>
#include <comphelper/scopeguard.hxx>
#include <comphelper/string.hxx>
#include <memory>
#include <vector>
#include <o3tl/lru_map.hxx>
#include <o3tl/hash_combine.hxx>
#include <math.h>
Go to the source code of this file.
Classes | |
class | ScDrawStringsVars |
class | ClearableClipRegion |
Macros | |
#define | DROPDOWN_BITMAP_SIZE 18 |
Merge Autofilter width with column.cxx. More... | |
#define | DRAWTEXT_MAX 32767 |
Functions | |
static bool | lcl_isNumberFormatText (const ScDocument *pDoc, SCCOL nCellX, SCROW nCellY, SCTAB nTab) |
static bool | SameValue (const ScRefCellValue &rCell, const ScRefCellValue &rOldCell) |
static void | lcl_DoHyperlinkResult (const OutputDevice *pDev, const tools::Rectangle &rRect, ScRefCellValue &rCell) |
static void | lcl_SetEditColor (EditEngine &rEngine, const Color &rColor) |
static bool | StringDiffer (const ScPatternAttr *&rpOldPattern, const ScPatternAttr *pNewPattern) |
static void | lcl_CreateInterpretProgress (bool &bProgress, ScDocument *pDoc, const ScFormulaCell *pFCell) |
static bool | IsAmbiguousScript (SvtScriptType nScript) |
static SvxCellHorJustify | getAlignmentFromContext (SvxCellHorJustify eInHorJust, bool bCellIsValue, const OUString &rText, const ScPatternAttr &rPattern, const SfxItemSet *pCondSet, const ScDocument *pDoc, SCTAB nTab, const bool bNumberFormatIsText) |
Get left, right or centered alignment from RTL context. More... | |
static void | lcl_ClearEdit (EditEngine &rEngine) |
static bool | lcl_SafeIsValue (ScRefCellValue &rCell) |
static void | lcl_ScaleFonts (EditEngine &rEngine, tools::Long nPercent) |
static tools::Long | lcl_GetEditSize (EditEngine &rEngine, bool bWidth, bool bSwap, Degree100 nAttrRotate) |
Variables | |
const sal_uInt16 | SC_SHRINKAGAIN_MAX = 7 |
constexpr auto | HMM_PER_TWIPS = o3tl::convert(1.0, o3tl::Length::twip, o3tl::Length::mm100) |
#define DRAWTEXT_MAX 32767 |
Definition at line 94 of file output2.cxx.
#define DROPDOWN_BITMAP_SIZE 18 |
Merge Autofilter width with column.cxx.
Definition at line 92 of file output2.cxx.
|
static |
Get left, right or centered alignment from RTL context.
Does not return standard, block or repeat, for these the contextual left or right alignment is returned.
Definition at line 1432 of file output2.cxx.
References ATTR_WRITINGDIR(), ScDocument::IsLayoutRTL(), and SAL_WARN_IF.
Referenced by ScOutputData::DrawEdit(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 1111 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
static |
Definition at line 2199 of file output2.cxx.
References SfxItemSet::Count(), EditEngine::EnableSkipOutsideFormat(), EditEngine::GetParaAttribs(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), EditEngine::SetParaAttribs(), EditEngine::SetText(), and EditEngine::SetUpdateLayout().
Referenced by ScOutputData::DrawEdit(), and ScOutputData::DrawRotated().
|
static |
Definition at line 1101 of file output2.cxx.
References ScProgress::CreateInterpretProgress(), and ScFormulaCell::GetDirty().
Referenced by ScOutputData::LayoutStrings().
|
static |
Definition at line 867 of file output2.cxx.
References vcl::PDFExtOutDevBookmarkEntry::aBookmark, aURL, CELLTYPE_FORMULA, vcl::PDFExtOutDevData::CreateLink(), vcl::PDFExtOutDevData::GetBookmarks(), OutputDevice::GetExtOutDevData(), ScRefCellValue::getFormula(), ScRefCellValue::getType(), ScFormulaCell::GetURLResult(), ScFormulaCell::IsHyperLinkCell(), and vcl::PDFExtOutDevBookmarkEntry::nLinkId.
Referenced by ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 2271 of file output2.cxx.
References EditEngine::CalcTextWidth(), EditEngine::GetTextHeight(), and toRadians().
Referenced by ScOutputData::ShrinkEditEngine().
|
static |
Definition at line 297 of file output2.cxx.
References ScDocument::GetFormatTable(), ScDocument::GetNumberFormat(), and SvNumberFormatter::GetType().
Referenced by ScOutputData::DrawEdit(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 2212 of file output2.cxx.
References CELLTYPE_FORMULA, CELLTYPE_VALUE, ScRefCellValue::getFormula(), ScRefCellValue::getType(), ScFormulaCell::IsRunning(), and ScFormulaCell::IsValue().
Referenced by ScOutputData::DrawEdit().
|
static |
remove paragraph attributes from aAttribs?
Definition at line 2233 of file output2.cxx.
References EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), SfxItemSet::Get(), EditEngine::GetAttribs(), EditEngine::GetParagraphCount(), EditEngine::GetPortions(), SfxItemSet::Put(), EditEngine::QuickSetAttribs(), and EditEngine::SetUpdateLayout().
Referenced by ScOutputData::ShrinkEditEngine().
|
static |
Definition at line 910 of file output2.cxx.
References EE_CHAR_COLOR(), EditEngine::GetEmptyItemSet(), EditEngine::GetParagraphCount(), SfxItemSet::Put(), and EditEngine::QuickSetAttribs().
Referenced by ScOutputData::DrawEditAsianVertical(), ScOutputData::DrawEditBottomTop(), ScOutputData::DrawEditStacked(), ScOutputData::DrawEditStandard(), ScOutputData::DrawEditTopBottom(), ScOutputData::DrawRotated(), ScOutputData::DrawEditParam::readCellContent(), and ScOutputData::SetEditSyntaxColor().
|
static |
Definition at line 493 of file output2.cxx.
References CELLTYPE_VALUE, ScRefCellValue::getDouble(), and ScRefCellValue::getType().
Referenced by ScDrawStringsVars::SetText().
|
static |
Definition at line 1024 of file output2.cxx.
References ATTR_BACKGROUND(), ATTR_CJK_FONT(), ATTR_CJK_FONT_HEIGHT(), ATTR_CJK_FONT_POSTURE(), ATTR_CJK_FONT_WEIGHT(), ATTR_CTL_FONT(), ATTR_CTL_FONT_HEIGHT(), ATTR_CTL_FONT_POSTURE(), ATTR_CTL_FONT_WEIGHT(), ATTR_FONT(), ATTR_FONT_COLOR(), ATTR_FONT_CONTOUR(), ATTR_FONT_CROSSEDOUT(), ATTR_FONT_EMPHASISMARK(), ATTR_FONT_HEIGHT(), ATTR_FONT_OVERLINE(), ATTR_FONT_POSTURE(), ATTR_FONT_RELIEF(), ATTR_FONT_SHADOWED(), ATTR_FONT_UNDERLINE(), ATTR_FONT_WEIGHT(), ATTR_FONT_WORDLINE(), ATTR_FORBIDDEN_RULES(), ATTR_HOR_JUSTIFY(), ATTR_HOR_JUSTIFY_METHOD(), ATTR_LINEBREAK(), ATTR_MARGIN(), ATTR_ROTATE_VALUE(), ATTR_STACKED(), ATTR_VER_JUSTIFY(), ATTR_VER_JUSTIFY_METHOD(), and ScPatternAttr::GetItem().
Referenced by ScOutputData::LayoutStrings().
|
constexpr |
Definition at line 97 of file output2.cxx.
Referenced by ScOutputData::DrawEditAsianVertical(), ScOutputData::DrawEditStacked(), ScOutputData::DrawEditStandard(), ScPrintFunc::InitModes(), and ScViewData::SetEditEngine().
const sal_uInt16 SC_SHRINKAGAIN_MAX = 7 |
Definition at line 96 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings(), and ScOutputData::ShrinkEditEngine().