Extracted method from DrawEdit() into DrawEditStandard().
This commit is contained in:
parent
d117bc5b25
commit
a101db141c
2 changed files with 697 additions and 656 deletions
|
@ -93,9 +93,26 @@ private:
|
||||||
SvxCellJustifyMethod meHorJustMethod;
|
SvxCellJustifyMethod meHorJustMethod;
|
||||||
SvxCellJustifyMethod meVerJustMethod;
|
SvxCellJustifyMethod meVerJustMethod;
|
||||||
SvxCellOrientation meOrient;
|
SvxCellOrientation meOrient;
|
||||||
|
SCSIZE mnArrY;
|
||||||
|
SCCOL mnX;
|
||||||
|
SCROW mnY;
|
||||||
|
SCCOL mnCellX;
|
||||||
|
SCROW mnCellY;
|
||||||
|
long mnPosX;
|
||||||
|
long mnPosY;
|
||||||
|
long mnInitPosX;
|
||||||
bool mbBreak;
|
bool mbBreak;
|
||||||
bool mbCellIsValue;
|
bool mbCellIsValue;
|
||||||
bool mbAsianVertical;
|
bool mbAsianVertical;
|
||||||
|
bool mbPixelToLogic;
|
||||||
|
bool mbHyphenatorSet;
|
||||||
|
ScFieldEditEngine* mpEngine;
|
||||||
|
ScBaseCell* mpCell;
|
||||||
|
const ScPatternAttr* mpPattern;
|
||||||
|
const SfxItemSet* mpCondSet;
|
||||||
|
const ScPatternAttr* mpOldPattern;
|
||||||
|
const SfxItemSet* mpOldCondSet;
|
||||||
|
const RowInfo* mpThisRowInfo;
|
||||||
|
|
||||||
explicit EditAlignmentParam(const ScPatternAttr* pPattern, const SfxItemSet* pCondSet, bool bCellIsValue);
|
explicit EditAlignmentParam(const ScPatternAttr* pPattern, const SfxItemSet* pCondSet, bool bCellIsValue);
|
||||||
|
|
||||||
|
@ -114,10 +131,6 @@ private:
|
||||||
|
|
||||||
void setAlignmentItems(ScFieldEditEngine* pEngine, ScBaseCell* pCell);
|
void setAlignmentItems(ScFieldEditEngine* pEngine, ScBaseCell* pCell);
|
||||||
bool adjustHorAlignment(ScFieldEditEngine* pEngine);
|
bool adjustHorAlignment(ScFieldEditEngine* pEngine);
|
||||||
|
|
||||||
private:
|
|
||||||
const ScPatternAttr* mpPattern;
|
|
||||||
const SfxItemSet* mpCondSet;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
OutputDevice* pDev; // Device
|
OutputDevice* pDev; // Device
|
||||||
|
@ -222,7 +235,7 @@ private:
|
||||||
|
|
||||||
drawinglayer::processor2d::BaseProcessor2D* CreateProcessor2D( );
|
drawinglayer::processor2d::BaseProcessor2D* CreateProcessor2D( );
|
||||||
|
|
||||||
void DrawEditStandard(EditAlignmentParam* pAlignParam);
|
void DrawEditStandard(EditAlignmentParam& rAlignParam);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
|
ScOutputData( OutputDevice* pNewDev, ScOutputType eNewType,
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue