LibreOffice Module sc (master)  1
Classes | Macros | Functions | Variables
output2.cxx File Reference
#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/langitem.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>
Include dependency graph for output2.cxx:

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, long nPercent)
 
static long lcl_GetEditSize (EditEngine &rEngine, bool bWidth, bool bSwap, long nAttrRotate)
 

Variables

const sal_uInt16 SC_SHRINKAGAIN_MAX = 7
 

Macro Definition Documentation

#define DRAWTEXT_MAX   32767

Definition at line 86 of file output2.cxx.

Referenced by ScDrawStringsVars::SetText().

#define DROPDOWN_BITMAP_SIZE   18

Merge Autofilter width with column.cxx.

Definition at line 84 of file output2.cxx.

Referenced by ScOutputData::DrawRotated(), and ScOutputData::GetOutputArea().

Function Documentation

static SvxCellHorJustify getAlignmentFromContext ( SvxCellHorJustify  eInHorJust,
bool  bCellIsValue,
const OUString &  rText,
const ScPatternAttr rPattern,
const SfxItemSet pCondSet,
const ScDocument pDoc,
SCTAB  nTab,
const bool  bNumberFormatIsText 
)
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 1402 of file output2.cxx.

References ATTR_WRITINGDIR(), ScDocument::IsLayoutRTL(), and SAL_WARN_IF.

Referenced by ScOutputData::DrawEdit(), and ScOutputData::LayoutStrings().

static bool IsAmbiguousScript ( SvtScriptType  nScript)
static

Definition at line 1083 of file output2.cxx.

Referenced by ScOutputData::LayoutStrings().

static void lcl_ClearEdit ( EditEngine rEngine)
static
static void lcl_CreateInterpretProgress ( bool &  bProgress,
ScDocument pDoc,
const ScFormulaCell pFCell 
)
static
static void lcl_DoHyperlinkResult ( const OutputDevice pDev,
const tools::Rectangle rRect,
ScRefCellValue rCell 
)
static
static long lcl_GetEditSize ( EditEngine rEngine,
bool  bWidth,
bool  bSwap,
long  nAttrRotate 
)
static
static bool lcl_isNumberFormatText ( const ScDocument pDoc,
SCCOL  nCellX,
SCROW  nCellY,
SCTAB  nTab 
)
static
static bool lcl_SafeIsValue ( ScRefCellValue rCell)
static
static void lcl_ScaleFonts ( EditEngine rEngine,
long  nPercent 
)
static
static void lcl_SetEditColor ( EditEngine rEngine,
const Color rColor 
)
static
static bool SameValue ( const ScRefCellValue rCell,
const ScRefCellValue rOldCell 
)
static

Definition at line 477 of file output2.cxx.

References CELLTYPE_VALUE, ScRefCellValue::meType, and ScRefCellValue::mfValue.

Referenced by ScDrawStringsVars::SetText().

static bool StringDiffer ( const ScPatternAttr *&  rpOldPattern,
const ScPatternAttr pNewPattern 
)
static

Variable Documentation

const sal_uInt16 SC_SHRINKAGAIN_MAX = 7

Definition at line 88 of file output2.cxx.

Referenced by ScOutputData::LayoutStrings(), and ScOutputData::ShrinkEditEngine().