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/zforlist.hxx>
#include <svl/zformat.hxx>
#include <vcl/svapp.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
#include <vcl/pdfextoutdevdata.hxx>
#include <vcl/settings.hxx>
#include <sal/log.hxx>
#include <unotools/charclass.hxx>
#include <osl/diagnose.h>
#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/string.hxx>
#include <memory>
#include <vector>
#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 |
#define DRAWTEXT_MAX 32767 |
Definition at line 85 of file output2.cxx.
Referenced by ScDrawStringsVars::SetText().
#define DROPDOWN_BITMAP_SIZE 18 |
Merge Autofilter width with column.cxx.
Definition at line 83 of file output2.cxx.
Referenced by ScOutputData::DrawRotated(), and ScOutputData::GetOutputArea().
|
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 1401 of file output2.cxx.
References ATTR_WRITINGDIR(), ScDocument::IsLayoutRTL(), and SAL_WARN_IF.
Referenced by ScOutputData::DrawEdit(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 1082 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings().
|
static |
Definition at line 2139 of file output2.cxx.
References SfxItemSet::Count(), EMPTY_OUSTRING, EditEngine::GetParaAttribs(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), EditEngine::SetParaAttribs(), EditEngine::SetText(), and EditEngine::SetUpdateMode().
Referenced by ScOutputData::DrawEdit(), and ScOutputData::DrawRotated().
|
static |
Definition at line 1072 of file output2.cxx.
References ScProgress::CreateInterpretProgress(), and ScFormulaCell::GetDirty().
Referenced by ScOutputData::LayoutStrings().
|
static |
Definition at line 838 of file output2.cxx.
References vcl::PDFExtOutDevBookmarkEntry::aBookmark, aURL, CELLTYPE_FORMULA, vcl::PDFExtOutDevData::CreateLink(), vcl::PDFExtOutDevData::GetBookmarks(), OutputDevice::GetExtOutDevData(), ScFormulaCell::GetURLResult(), ScFormulaCell::IsHyperLinkCell(), ScRefCellValue::meType, ScRefCellValue::mpFormula, and vcl::PDFExtOutDevBookmarkEntry::nLinkId.
Referenced by ScOutputData::DrawEditParam::adjustForHyperlinkInPDF(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 2212 of file output2.cxx.
References EditEngine::CalcTextWidth(), EditEngine::GetTextHeight(), and toRadians().
Referenced by ScOutputData::ShrinkEditEngine().
|
static |
Definition at line 278 of file output2.cxx.
References ScDocument::GetFormatTable(), ScDocument::GetNumberFormat(), and SvNumberFormatter::GetType().
Referenced by ScOutputData::DrawEdit(), and ScOutputData::LayoutStrings().
|
static |
Definition at line 2151 of file output2.cxx.
References CELLTYPE_FORMULA, CELLTYPE_VALUE, ScFormulaCell::IsRunning(), ScFormulaCell::IsValue(), ScRefCellValue::meType, and ScRefCellValue::mpFormula.
Referenced by ScOutputData::DrawEdit().
|
static |
remove paragraph attributes from aAttribs?
Definition at line 2172 of file output2.cxx.
References EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), SfxItemSet::Get(), EditEngine::GetAttribs(), EditEngine::GetParagraphCount(), EditEngine::GetPortions(), EditEngine::GetUpdateMode(), SfxItemSet::Put(), EditEngine::QuickSetAttribs(), and EditEngine::SetUpdateMode().
Referenced by ScOutputData::ShrinkEditEngine().
|
static |
Definition at line 881 of file output2.cxx.
References EE_CHAR_COLOR(), EditEngine::GetEmptyItemSet(), EditEngine::GetParagraphCount(), 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 476 of file output2.cxx.
References CELLTYPE_VALUE, ScRefCellValue::meType, and ScRefCellValue::mfValue.
Referenced by ScDrawStringsVars::SetText().
|
static |
Definition at line 995 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().
const sal_uInt16 SC_SHRINKAGAIN_MAX = 7 |
Definition at line 87 of file output2.cxx.
Referenced by ScOutputData::LayoutStrings(), and ScOutputData::ShrinkEditEngine().