LibreOffice Module sc (master)  1
Public Member Functions | Public Attributes | List of all members
ScOutputData::DrawEditParam Class Reference
Collaboration diagram for ScOutputData::DrawEditParam:
[legend]

Public Member Functions

 DrawEditParam (const ScPatternAttr *pPattern, const SfxItemSet *pCondSet, bool bCellIsValue)
 
bool readCellContent (const ScDocument *pDoc, bool bShowNullValues, bool bShowFormulas, bool bSyntaxMode, bool bUseStyleColor, bool bForceAutoColor, bool &rWrapFields)
 
void setPatternToEngine (bool bUseStyleColor)
 
void calcMargins (long &rTop, long &rLeft, long &rBottom, long &rRight, double nPPTX, double nPPTY) const
 
void calcPaperSize (Size &rPaperSize, const tools::Rectangle &rAlignRect, double nPPTX, double nPPTY) const
 
void getEngineSize (ScFieldEditEngine *pEngine, long &rWidth, long &rHeight) const
 
bool hasLineBreak () const
 
bool isHyperlinkCell () const
 
bool isVerticallyOriented () const
 When the text is vertically oriented, the text is either rotated 90 degrees to the right or 90 degrees to the left. More...
 
void calcStartPosForVertical (Point &rLogicStart, long nCellWidth, long nEngineWidth, long nTopM, const OutputDevice *pRefDevice)
 Calculate offset position for vertically oriented (either top-bottom or bottom-top orientation) text. More...
 
void setAlignmentToEngine ()
 
bool adjustHorAlignment (ScFieldEditEngine *pEngine)
 
void adjustForHyperlinkInPDF (Point aURLStart, const OutputDevice *pDev)
 

Public Attributes

SvxCellHorJustify meHorJustAttr
 alignment attribute More...
 
SvxCellHorJustify meHorJustContext
 context depending on attribute, content and direction More...
 
SvxCellHorJustify meHorJustResult
 result for EditEngine More...
 
SvxCellVerJustify meVerJust
 
SvxCellJustifyMethod meHorJustMethod
 
SvxCellJustifyMethod meVerJustMethod
 
SvxCellOrientation meOrient
 
SCSIZE mnArrY
 
SCCOL mnX
 
SCCOL mnCellX
 
SCROW mnCellY
 
long mnPosX
 
long mnPosY
 
long mnInitPosX
 
bool mbBreak:1
 
bool mbCellIsValue:1
 
bool mbAsianVertical:1
 
bool mbPixelToLogic:1
 
bool mbHyphenatorSet:1
 
ScFieldEditEnginempEngine
 
ScRefCellValue maCell
 
const ScPatternAttrmpPattern
 
const SfxItemSetmpCondSet
 
const SfxItemSetmpPreviewFontSet
 
const ScPatternAttrmpOldPattern
 
const SfxItemSetmpOldCondSet
 
const SfxItemSetmpOldPreviewFontSet
 
const RowInfompThisRowInfo
 
const std::vector< editeng::MisspellRanges > * mpMisspellRanges
 

Detailed Description

Definition at line 110 of file output.hxx.

Constructor & Destructor Documentation

ScOutputData::DrawEditParam::DrawEditParam ( const ScPatternAttr pPattern,
const SfxItemSet pCondSet,
bool  bCellIsValue 
)
explicit

Definition at line 2323 of file output2.cxx.

References Block, mnCellX, and mpPattern.

Member Function Documentation

void ScOutputData::DrawEditParam::adjustForHyperlinkInPDF ( Point  aURLStart,
const OutputDevice pDev 
)
bool ScOutputData::DrawEditParam::adjustHorAlignment ( ScFieldEditEngine pEngine)
void ScOutputData::DrawEditParam::calcMargins ( long &  rTop,
long &  rLeft,
long &  rBottom,
long &  rRight,
double  nPPTX,
double  nPPTY 
) const
void ScOutputData::DrawEditParam::calcPaperSize ( Size rPaperSize,
const tools::Rectangle rAlignRect,
double  nPPTX,
double  nPPTY 
) const
void ScOutputData::DrawEditParam::calcStartPosForVertical ( Point rLogicStart,
long  nCellWidth,
long  nEngineWidth,
long  nTopM,
const OutputDevice pRefDevice 
)

Calculate offset position for vertically oriented (either top-bottom or bottom-top orientation) text.

Parameters
rLogicStartinitial position in pixels. When the call is finished, this parameter will store the new position.

Definition at line 2544 of file output2.cxx.

References OutputDevice::PixelToLogic().

Referenced by ScOutputData::DrawEditBottomTop(), and ScOutputData::DrawEditTopBottom().

void ScOutputData::DrawEditParam::getEngineSize ( ScFieldEditEngine pEngine,
long &  rWidth,
long &  rHeight 
) const
bool ScOutputData::DrawEditParam::hasLineBreak ( ) const

Definition at line 2526 of file output2.cxx.

Referenced by ScOutputData::DrawEditTopBottom().

bool ScOutputData::DrawEditParam::isHyperlinkCell ( ) const

Definition at line 2531 of file output2.cxx.

References CELLTYPE_FORMULA.

bool ScOutputData::DrawEditParam::isVerticallyOriented ( ) const

When the text is vertically oriented, the text is either rotated 90 degrees to the right or 90 degrees to the left.

Note that this is different from being vertically stacked.

Definition at line 2539 of file output2.cxx.

bool ScOutputData::DrawEditParam::readCellContent ( const ScDocument pDoc,
bool  bShowNullValues,
bool  bShowFormulas,
bool  bSyntaxMode,
bool  bUseStyleColor,
bool  bForceAutoColor,
bool &  rWrapFields 
)
void ScOutputData::DrawEditParam::setAlignmentToEngine ( )
void ScOutputData::DrawEditParam::setPatternToEngine ( bool  bUseStyleColor)

Member Data Documentation

ScRefCellValue ScOutputData::DrawEditParam::maCell
bool ScOutputData::DrawEditParam::mbAsianVertical
bool ScOutputData::DrawEditParam::mbBreak
bool ScOutputData::DrawEditParam::mbCellIsValue
bool ScOutputData::DrawEditParam::mbHyphenatorSet

Definition at line 131 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

bool ScOutputData::DrawEditParam::mbPixelToLogic
SvxCellHorJustify ScOutputData::DrawEditParam::meHorJustAttr
SvxCellHorJustify ScOutputData::DrawEditParam::meHorJustContext
SvxCellJustifyMethod ScOutputData::DrawEditParam::meHorJustMethod

Definition at line 117 of file output.hxx.

SvxCellHorJustify ScOutputData::DrawEditParam::meHorJustResult
SvxCellOrientation ScOutputData::DrawEditParam::meOrient
SvxCellVerJustify ScOutputData::DrawEditParam::meVerJust
SvxCellJustifyMethod ScOutputData::DrawEditParam::meVerJustMethod

Definition at line 118 of file output.hxx.

SCSIZE ScOutputData::DrawEditParam::mnArrY
SCCOL ScOutputData::DrawEditParam::mnCellX
SCROW ScOutputData::DrawEditParam::mnCellY
long ScOutputData::DrawEditParam::mnInitPosX
long ScOutputData::DrawEditParam::mnPosX
long ScOutputData::DrawEditParam::mnPosY
SCCOL ScOutputData::DrawEditParam::mnX
const SfxItemSet* ScOutputData::DrawEditParam::mpCondSet
ScFieldEditEngine* ScOutputData::DrawEditParam::mpEngine
const std::vector<editeng::MisspellRanges>* ScOutputData::DrawEditParam::mpMisspellRanges

Definition at line 141 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const SfxItemSet* ScOutputData::DrawEditParam::mpOldCondSet

Definition at line 138 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const ScPatternAttr* ScOutputData::DrawEditParam::mpOldPattern

Definition at line 137 of file output.hxx.

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

const SfxItemSet* ScOutputData::DrawEditParam::mpOldPreviewFontSet

Definition at line 139 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const ScPatternAttr* ScOutputData::DrawEditParam::mpPattern
const SfxItemSet* ScOutputData::DrawEditParam::mpPreviewFontSet

Definition at line 136 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const RowInfo* ScOutputData::DrawEditParam::mpThisRowInfo

The documentation for this class was generated from the following files: