Added SetBRFrame/GetBRFrame for handling 0 height line layout and BR's
git-svn-id: svn://10.0.0.236/trunk@11452 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -70,6 +70,7 @@ public:
|
||||
mTotalPlacedFrames = 0;
|
||||
mColumn = 0;
|
||||
mSkipLeadingWS = PR_TRUE;
|
||||
mBRFrame = nsnull;
|
||||
#ifdef NS_DEBUG
|
||||
mPlacedFrames.Clear();
|
||||
#endif
|
||||
@@ -92,6 +93,14 @@ public:
|
||||
return mTotalPlacedFrames;
|
||||
}
|
||||
|
||||
void SetBRFrame(nsIFrame* aFrame) {
|
||||
mBRFrame = aFrame;
|
||||
}
|
||||
|
||||
nsIFrame* GetBRFrame() const {
|
||||
return mBRFrame;
|
||||
}
|
||||
|
||||
// --------------------------------------------------
|
||||
|
||||
// Reset the text-run information in preparation for a FindTextRuns
|
||||
@@ -145,6 +154,8 @@ public:
|
||||
PRBool mSkipLeadingWS;
|
||||
|
||||
protected:
|
||||
nsIFrame* mBRFrame;
|
||||
|
||||
PRInt32 mTotalPlacedFrames;
|
||||
#ifdef NS_DEBUG
|
||||
nsVoidArray mPlacedFrames;
|
||||
|
||||
@@ -70,6 +70,7 @@ public:
|
||||
mTotalPlacedFrames = 0;
|
||||
mColumn = 0;
|
||||
mSkipLeadingWS = PR_TRUE;
|
||||
mBRFrame = nsnull;
|
||||
#ifdef NS_DEBUG
|
||||
mPlacedFrames.Clear();
|
||||
#endif
|
||||
@@ -92,6 +93,14 @@ public:
|
||||
return mTotalPlacedFrames;
|
||||
}
|
||||
|
||||
void SetBRFrame(nsIFrame* aFrame) {
|
||||
mBRFrame = aFrame;
|
||||
}
|
||||
|
||||
nsIFrame* GetBRFrame() const {
|
||||
return mBRFrame;
|
||||
}
|
||||
|
||||
// --------------------------------------------------
|
||||
|
||||
// Reset the text-run information in preparation for a FindTextRuns
|
||||
@@ -145,6 +154,8 @@ public:
|
||||
PRBool mSkipLeadingWS;
|
||||
|
||||
protected:
|
||||
nsIFrame* mBRFrame;
|
||||
|
||||
PRInt32 mTotalPlacedFrames;
|
||||
#ifdef NS_DEBUG
|
||||
nsVoidArray mPlacedFrames;
|
||||
|
||||
Reference in New Issue
Block a user