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
1ccbcfdd
Kaydet (Commit)
1ccbcfdd
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove TextEngine::Foo
üst
ad50fa23
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
46 deletions
+0
-46
texteng.hxx
svtools/inc/svtools/texteng.hxx
+0
-3
texteng.cxx
svtools/source/edit/texteng.cxx
+0
-43
No files found.
svtools/inc/svtools/texteng.hxx
Dosyayı görüntüle @
1ccbcfdd
...
@@ -245,13 +245,11 @@ public:
...
@@ -245,13 +245,11 @@ public:
void
SetFont
(
const
Font
&
rFont
);
void
SetFont
(
const
Font
&
rFont
);
const
Font
&
GetFont
()
const
{
return
maFont
;
}
const
Font
&
GetFont
()
const
{
return
maFont
;
}
void
SetDefTab
(
sal_uInt16
nDefTab
);
sal_uInt16
GetDefTab
()
const
;
sal_uInt16
GetDefTab
()
const
;
void
SetLeftMargin
(
sal_uInt16
n
);
void
SetLeftMargin
(
sal_uInt16
n
);
sal_uInt16
GetLeftMargin
()
const
;
sal_uInt16
GetLeftMargin
()
const
;
void
SetUpdateMode
(
sal_Bool
bUpdate
);
sal_Bool
GetUpdateMode
()
const
{
return
mbUpdate
;
}
sal_Bool
GetUpdateMode
()
const
{
return
mbUpdate
;
}
sal_uInt16
GetViewCount
()
const
;
sal_uInt16
GetViewCount
()
const
;
...
@@ -325,7 +323,6 @@ public:
...
@@ -325,7 +323,6 @@ public:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
i18n
::
XBreakIterator
>
GetBreakIterator
();
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
i18n
::
XBreakIterator
>
GetBreakIterator
();
static
sal_Bool
DoesKeyChangeText
(
const
KeyEvent
&
rKeyEvent
);
static
sal_Bool
DoesKeyChangeText
(
const
KeyEvent
&
rKeyEvent
);
static
sal_Bool
DoesKeyMoveCursor
(
const
KeyEvent
&
rKeyEvent
);
static
sal_Bool
IsSimpleCharInput
(
const
KeyEvent
&
rKeyEvent
);
static
sal_Bool
IsSimpleCharInput
(
const
KeyEvent
&
rKeyEvent
);
};
};
...
...
svtools/source/edit/texteng.cxx
Dosyayı görüntüle @
1ccbcfdd
...
@@ -253,12 +253,6 @@ void TextEngine::SetFont( const Font& rFont )
...
@@ -253,12 +253,6 @@ void TextEngine::SetFont( const Font& rFont )
}
}
}
}
void
TextEngine
::
SetDefTab
(
sal_uInt16
nDefTab
)
{
mnDefTab
=
nDefTab
;
// evtl neu setzen?
}
void
TextEngine
::
SetMaxTextLen
(
sal_uLong
nLen
)
void
TextEngine
::
SetMaxTextLen
(
sal_uLong
nLen
)
{
{
mnMaxTextLen
=
nLen
;
mnMaxTextLen
=
nLen
;
...
@@ -345,43 +339,6 @@ sal_uInt16 TextEngine::GetTextLen( sal_uLong nPara ) const
...
@@ -345,43 +339,6 @@ sal_uInt16 TextEngine::GetTextLen( sal_uLong nPara ) const
return
mpDoc
->
GetNodes
().
GetObject
(
nPara
)
->
GetText
().
Len
();
return
mpDoc
->
GetNodes
().
GetObject
(
nPara
)
->
GetText
().
Len
();
}
}
void
TextEngine
::
SetUpdateMode
(
sal_Bool
bUpdate
)
{
if
(
bUpdate
!=
mbUpdate
)
{
mbUpdate
=
bUpdate
;
if
(
mbUpdate
)
{
FormatAndUpdate
(
GetActiveView
()
);
if
(
GetActiveView
()
)
GetActiveView
()
->
ShowCursor
();
}
}
}
sal_Bool
TextEngine
::
DoesKeyMoveCursor
(
const
KeyEvent
&
rKeyEvent
)
{
sal_Bool
bDoesMove
=
sal_False
;
switch
(
rKeyEvent
.
GetKeyCode
().
GetCode
()
)
{
case
KEY_UP
:
case
KEY_DOWN
:
case
KEY_LEFT
:
case
KEY_RIGHT
:
case
KEY_HOME
:
case
KEY_END
:
case
KEY_PAGEUP
:
case
KEY_PAGEDOWN
:
{
if
(
!
rKeyEvent
.
GetKeyCode
().
IsMod2
()
)
bDoesMove
=
sal_True
;
}
break
;
}
return
bDoesMove
;
}
sal_Bool
TextEngine
::
DoesKeyChangeText
(
const
KeyEvent
&
rKeyEvent
)
sal_Bool
TextEngine
::
DoesKeyChangeText
(
const
KeyEvent
&
rKeyEvent
)
{
{
sal_Bool
bDoesChange
=
sal_False
;
sal_Bool
bDoesChange
=
sal_False
;
...
...
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