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

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 (tools::Long &rTop, tools::Long &rLeft, tools::Long &rBottom, tools::Long &rRight, double nPPTX, double nPPTY) const
void calcPaperSize (Size &rPaperSize, const tools::Rectangle &rAlignRect, double nPPTX, double nPPTY) const
void getEngineSize (ScFieldEditEngine *pEngine, tools::Long &rWidth, tools::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, tools::Long nCellWidth, tools::Long nEngineWidth, tools::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
tools::Long mnPosX
tools::Long mnPosY
tools::Long mnInitPosX
bool mbBreak:1
bool mbCellIsValue:1
bool mbAsianVertical:1
bool mbPixelToLogic:1
bool mbHyphenatorSet:1
ScRefCellValue maCell
const ScPatternAttrmpPattern
const SfxItemSetmpCondSet
const SfxItemSetmpPreviewFontSet
const ScPatternAttrmpOldPattern
const SfxItemSetmpOldCondSet
const SfxItemSetmpOldPreviewFontSet
const std::vector< editeng::MisspellRanges > * mpMisspellRanges

Detailed Description

Definition at line 111 of file output.hxx.

Constructor & Destructor Documentation

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

Definition at line 2351 of file output2.cxx.

References Block, false, 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 ( tools::Long rTop,
tools::Long rLeft,
tools::Long rBottom,
tools::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,
tools::Long  nCellWidth,
tools::Long  nEngineWidth,
tools::Long  nTopM,
const OutputDevice pRefDevice 

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

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

Definition at line 2570 of file output2.cxx.

References OutputDevice::PixelToLogic().

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

void ScOutputData::DrawEditParam::getEngineSize ( ScFieldEditEngine pEngine,
tools::Long rWidth,
tools::Long rHeight 
) const
bool ScOutputData::DrawEditParam::hasLineBreak ( ) const

Definition at line 2552 of file output2.cxx.

Referenced by ScOutputData::DrawEditTopBottom().

bool ScOutputData::DrawEditParam::isHyperlinkCell ( ) const

Definition at line 2557 of file output2.cxx.


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 2565 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 132 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 118 of file output.hxx.

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

Definition at line 119 of file output.hxx.

SCSIZE ScOutputData::DrawEditParam::mnArrY
SCCOL ScOutputData::DrawEditParam::mnCellX
SCROW ScOutputData::DrawEditParam::mnCellY
tools::Long ScOutputData::DrawEditParam::mnInitPosX
tools::Long ScOutputData::DrawEditParam::mnPosX
tools::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 142 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const SfxItemSet* ScOutputData::DrawEditParam::mpOldCondSet

Definition at line 139 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

const ScPatternAttr* ScOutputData::DrawEditParam::mpOldPattern

Definition at line 138 of file output.hxx.

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

const SfxItemSet* ScOutputData::DrawEditParam::mpOldPreviewFontSet

Definition at line 140 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

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

Definition at line 137 of file output.hxx.

Referenced by ScOutputData::DrawEdit().

RowInfo* ScOutputData::DrawEditParam::mpThisRowInfo

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