Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
fe436dfe
Kaydet (Commit)
fe436dfe
authored
Haz 05, 2012
tarafından
Philipp Weissenbacher
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove visual navigator comments
Change-Id: I8e19021df0a904df0877aa58adc83571c5991b9b
üst
dc4b91d3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
94 deletions
+19
-94
frmform.cxx
sw/source/core/text/frmform.cxx
+16
-74
frmpaint.cxx
sw/source/core/text/frmpaint.cxx
+3
-20
inftxt.cxx
sw/source/core/text/inftxt.cxx
+0
-0
No files found.
sw/source/core/text/frmform.cxx
Dosyayı görüntüle @
fe436dfe
...
...
@@ -73,10 +73,6 @@ public:
};
MSHORT
FormatLevel
::
nLevel
=
0
;
/*************************************************************************
* ValidateTxt/Frm()
*************************************************************************/
void
ValidateTxt
(
SwFrm
*
pFrm
)
// Friend of frame
{
if
(
(
!
pFrm
->
IsVertical
()
&&
...
...
@@ -121,12 +117,11 @@ void SwTxtFrm::ValidateFrm()
}
/*************************************************************************
* ValidateBodyFrm()
*************************************************************************/
// After a RemoveFtn the BodyFrm and all Frms contained within it, need to be
// recalculated, so that the DeadLine is right.
// First we search outwards, on the way back we calculate everything.
* ValidateBodyFrm()
* After a RemoveFtn the BodyFrm and all Frms contained within it, need to be
* recalculated, so that the DeadLine is right.
* First we search outwards, on the way back we calculate everything.
*************************************************************************/
void
_ValidateBodyFrm
(
SwFrm
*
pFrm
)
{
...
...
@@ -159,10 +154,6 @@ void SwTxtFrm::ValidateBodyFrm()
UNDO_SWAP
(
this
)
}
/*************************************************************************
* SwTxtFrm::FindBodyFrm()
*************************************************************************/
sal_Bool
SwTxtFrm
::
_GetDropRect
(
SwRect
&
rRect
)
const
{
SWAP_IF_NOT_SWAPPED
(
this
)
...
...
@@ -191,10 +182,6 @@ sal_Bool SwTxtFrm::_GetDropRect( SwRect &rRect ) const
return
sal_False
;
}
/*************************************************************************
* SwTxtFrm::FindBodyFrm()
*************************************************************************/
const
SwBodyFrm
*
SwTxtFrm
::
FindBodyFrm
()
const
{
if
(
IsInDocBody
()
)
...
...
@@ -207,10 +194,6 @@ const SwBodyFrm *SwTxtFrm::FindBodyFrm() const
return
0
;
}
/*************************************************************************
* SwTxtFrm::CalcFollow()
*************************************************************************/
sal_Bool
SwTxtFrm
::
CalcFollow
(
const
xub_StrLen
nTxtOfst
)
{
SWAP_IF_SWAPPED
(
this
)
...
...
@@ -375,10 +358,6 @@ sal_Bool SwTxtFrm::CalcFollow( const xub_StrLen nTxtOfst )
return
sal_False
;
}
/*************************************************************************
* SwTxtFrm::AdjustFrm()
*************************************************************************/
void
SwTxtFrm
::
AdjustFrm
(
const
SwTwips
nChgHght
,
sal_Bool
bHasToFit
)
{
if
(
IsUndersized
()
)
...
...
@@ -535,15 +514,13 @@ void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
/*************************************************************************
* SwTxtFrm::AdjustFollow()
*************************************************************************/
/* AdjustFollow expects the following situtation:
* AdjustFollow expects the following situtation:
* The SwTxtIter points to the lower end of the Master, the Offset is set in
* the Follow.
* nOffset holds the Offset in the text string, from which the Master closes
* and the Follow starts.
* If it's 0, the FollowFrame is deleted.
*/
*
************************************************************************
/
void
SwTxtFrm
::
_AdjustFollow
(
SwTxtFormatter
&
rLine
,
const
xub_StrLen
nOffset
,
const
xub_StrLen
nEnd
,
...
...
@@ -601,10 +578,6 @@ void SwTxtFrm::_AdjustFollow( SwTxtFormatter &rLine,
}
}
/*************************************************************************
* SwTxtFrm::JoinFrm()
*************************************************************************/
SwCntntFrm
*
SwTxtFrm
::
JoinFrm
()
{
OSL_ENSURE
(
GetFollow
(),
"+SwTxtFrm::JoinFrm: no follow"
);
...
...
@@ -676,10 +649,6 @@ SwCntntFrm *SwTxtFrm::JoinFrm()
return
pNxt
;
}
/*************************************************************************
* SwTxtFrm::SplitFrm()
*************************************************************************/
SwCntntFrm
*
SwTxtFrm
::
SplitFrm
(
const
xub_StrLen
nTxtPos
)
{
SWAP_IF_SWAPPED
(
this
)
...
...
@@ -759,11 +728,6 @@ SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos )
return
pNew
;
}
/*************************************************************************
* virtual SwTxtFrm::SetOfst()
*************************************************************************/
void
SwTxtFrm
::
_SetOfst
(
const
xub_StrLen
nNewOfst
)
{
// We do not need to invalidate out Follow.
...
...
@@ -781,10 +745,6 @@ void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
InvalidateSize
();
}
/*************************************************************************
* SwTxtFrm::CalcPreps
*************************************************************************/
sal_Bool
SwTxtFrm
::
CalcPreps
()
{
OSL_ENSURE
(
!
IsVertical
()
||
!
IsSwapped
(),
"SwTxtFrm::CalcPreps with swapped frame"
);
...
...
@@ -965,12 +925,11 @@ sal_Bool SwTxtFrm::CalcPreps()
return
bRet
;
}
/*************************************************************************
* SwTxtFrm::FormatAdjust()
* SwTxtFrm::FormatAdjust()
* We rewire the footnotes and the character bound objects
*************************************************************************/
// We rewire the footnotes and the character bound objects
#define CHG_OFFSET( pFrm, nNew )\
{\
if( pFrm->GetOfst() < nNew )\
...
...
@@ -1143,11 +1102,10 @@ void SwTxtFrm::FormatAdjust( SwTxtFormatter &rLine,
}
/*************************************************************************
* SwTxtFrm::FormatLine()
*************************************************************************/
// bPrev is set whether Reformat.Start() was called because of Prev().
// Else, wo don't know whether we can limit the repaint or not.
* SwTxtFrm::FormatLine()
* bPrev is set whether Reformat.Start() was called because of Prev().
* Else, wo don't know whether we can limit the repaint or not.
*************************************************************************/
sal_Bool
SwTxtFrm
::
FormatLine
(
SwTxtFormatter
&
rLine
,
const
sal_Bool
bPrev
)
{
...
...
@@ -1285,10 +1243,6 @@ sal_Bool SwTxtFrm::FormatLine( SwTxtFormatter &rLine, const sal_Bool bPrev )
return
0
!=
*
(
pPara
->
GetDelta
());
}
/*************************************************************************
* SwTxtFrm::_Format()
*************************************************************************/
void
SwTxtFrm
::
_Format
(
SwTxtFormatter
&
rLine
,
SwTxtFormatInfo
&
rInf
,
const
sal_Bool
bAdjust
)
{
...
...
@@ -1611,10 +1565,6 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
}
}
/*************************************************************************
* SwTxtFrm::Format()
*************************************************************************/
void
SwTxtFrm
::
FormatOnceMore
(
SwTxtFormatter
&
rLine
,
SwTxtFormatInfo
&
rInf
)
{
OSL_ENSURE
(
!
IsVertical
()
||
IsSwapped
(),
...
...
@@ -1677,11 +1627,6 @@ void SwTxtFrm::FormatOnceMore( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
}
}
/*************************************************************************
* SwTxtFrm::_Format()
*************************************************************************/
void
SwTxtFrm
::
_Format
(
SwParaPortion
*
pPara
)
{
const
xub_StrLen
nStrLen
=
GetTxt
().
Len
();
...
...
@@ -1742,13 +1687,10 @@ void SwTxtFrm::_Format( SwParaPortion *pPara )
}
/*************************************************************************
* SwTxtFrm::Format()
*************************************************************************/
/*
* SwTxtFrm::Format()
* We calculate the text frame's size and send a notification.
* Shrink() or Grow() to adjust the frame's size to the changed required space.
*/
*
************************************************************************
/
void
SwTxtFrm
::
Format
(
const
SwBorderAttrs
*
)
{
...
...
@@ -1913,7 +1855,7 @@ void SwTxtFrm::Format( const SwBorderAttrs * )
}
/*************************************************************************
*
SwTxtFrm::FormatQuick()
* SwTxtFrm::FormatQuick()
*
* bForceQuickFormat is set if GetFormatted() has been called during the
* painting process. Actually I cannot imagine a situation which requires
...
...
sw/source/core/text/frmpaint.cxx
Dosyayı görüntüle @
fe436dfe
...
...
@@ -46,9 +46,9 @@
#include <viewimp.hxx> // SwViewImp
#include <viewopt.hxx> // SwViewOption
#include <frmtool.hxx> // DrawGraphic
#include <txtfrm.hxx>
// SwTxtFrm
#include <itrpaint.hxx>
// SwTxtPainter
#include <txtpaint.hxx>
// SwSaveClip
#include <txtfrm.hxx> // SwTxtFrm
#include <itrpaint.hxx> // SwTxtPainter
#include <txtpaint.hxx> // SwSaveClip
#include <txtcache.hxx> // SwTxtLineAccess
#include <flyfrm.hxx> // SwFlyFrm
#include <redlnitr.hxx> // SwRedlineItr
...
...
@@ -62,7 +62,6 @@
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentLineNumberAccess.hxx>
//
// variable moved to class <numfunc:GetDefBulletConfig>
//extern const sal_Char sBulletFntName[];
namespace
numfunc
...
...
@@ -194,10 +193,6 @@ SwExtraPainter::SwExtraPainter( const SwTxtFrm *pFrm, ViewShell *pVwSh,
}
}
/*************************************************************************
* SwExtraPainter::PaintExtra()
**************************************************************************/
void
SwExtraPainter
::
PaintExtra
(
SwTwips
nY
,
long
nAsc
,
long
nMax
,
sal_Bool
bRed
)
{
//Zeilennummer ist staerker als der Teiler
...
...
@@ -421,10 +416,6 @@ void SwTxtFrm::PaintExtraData( const SwRect &rRect ) const
}
}
/*************************************************************************
* SwTxtFrm::Paint()
*************************************************************************/
SwRect
SwTxtFrm
::
Paint
()
{
#if OSL_DEBUG_LEVEL > 1
...
...
@@ -468,10 +459,6 @@ SwRect SwTxtFrm::Paint()
return
aRet
;
}
/*************************************************************************
* SwTxtFrm::Paint()
*************************************************************************/
sal_Bool
SwTxtFrm
::
PaintEmpty
(
const
SwRect
&
rRect
,
sal_Bool
bCheck
)
const
{
ViewShell
*
pSh
=
getRootFrm
()
->
GetCurrShell
();
...
...
@@ -592,10 +579,6 @@ sal_Bool SwTxtFrm::PaintEmpty( const SwRect &rRect, sal_Bool bCheck ) const
return
sal_False
;
}
/*************************************************************************
* SwTxtFrm::Paint()
*************************************************************************/
void
SwTxtFrm
::
Paint
(
SwRect
const
&
rRect
,
SwPrintData
const
*
const
)
const
{
ResetRepaint
();
...
...
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
fe436dfe
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment