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
e8d4b4ff
Kaydet (Commit)
e8d4b4ff
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove TextView::Foo
üst
a5d227a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
46 deletions
+0
-46
textview.hxx
svtools/inc/svtools/textview.hxx
+0
-10
textview.cxx
svtools/source/edit/textview.cxx
+0
-36
No files found.
svtools/inc/svtools/textview.hxx
Dosyayı görüntüle @
e8d4b4ff
...
...
@@ -156,7 +156,6 @@ public:
void
Redo
();
sal_Bool
Read
(
SvStream
&
rInput
);
sal_Bool
Write
(
SvStream
&
rOutput
);
void
SetStartDocPos
(
const
Point
&
rPos
);
const
Point
&
GetStartDocPos
()
const
;
...
...
@@ -168,7 +167,6 @@ public:
sal_Bool
IsInsertMode
()
const
;
void
SetAutoIndentMode
(
sal_Bool
bAutoIndent
);
sal_Bool
IsAutoIndentMode
()
const
;
void
SetReadOnly
(
sal_Bool
bReadOnly
);
sal_Bool
IsReadOnly
()
const
;
...
...
@@ -180,10 +178,6 @@ public:
sal_Bool
IsSelectionAtPoint
(
const
Point
&
rPointPixel
);
void
SetPaintSelection
(
sal_Bool
bPaint
);
sal_Bool
IsPaintSelection
()
const
;
void
SetHighlightSelection
(
sal_Bool
bSelectByHighlight
);
sal_Bool
IsHighlightSelection
()
const
;
void
EraseVirtualDevice
();
...
...
@@ -204,10 +198,6 @@ public:
TextPaM
CursorStartOfDoc
();
TextPaM
CursorEndOfDoc
();
// Old, remove!
TextPaM
CursorLeft
(
const
TextPaM
&
rPaM
,
sal_Bool
bWordMode
=
sal_False
);
TextPaM
CursorRight
(
const
TextPaM
&
rPaM
,
sal_Bool
bWordMode
=
sal_False
);
/**
Drag and Drop, deleting and selection regards all text that has an attribute
TEXTATTR_PROTECTED set as one entitity. Drag and dropped text is automatically
...
...
svtools/source/edit/textview.cxx
Dosyayı görüntüle @
e8d4b4ff
...
...
@@ -1427,22 +1427,6 @@ void TextView::InsertText( const XubString& rStr, sal_Bool bSelect )
}
*/
// OLD
TextPaM
TextView
::
CursorLeft
(
const
TextPaM
&
rPaM
,
sal_Bool
bWordMode
)
{
return
bWordMode
?
CursorWordLeft
(
rPaM
)
:
CursorLeft
(
rPaM
,
(
sal_uInt16
)
i18n
::
CharacterIteratorMode
::
SKIPCELL
);
// Remove (sal_uInt16) typecasts in this file when removing this method!
}
// OLD
TextPaM
TextView
::
CursorRight
(
const
TextPaM
&
rPaM
,
sal_Bool
bWordMode
)
{
return
bWordMode
?
CursorWordRight
(
rPaM
)
:
CursorRight
(
rPaM
,
(
sal_uInt16
)
i18n
::
CharacterIteratorMode
::
SKIPCELL
);
// Remove (sal_uInt16) typecasts in this file when removing this method!
}
TextPaM
TextView
::
CursorLeft
(
const
TextPaM
&
rPaM
,
sal_uInt16
nCharacterIteratorMode
)
{
TextPaM
aPaM
(
rPaM
);
...
...
@@ -2006,15 +1990,6 @@ void TextView::SetPaintSelection( sal_Bool bPaint )
}
}
void
TextView
::
SetHighlightSelection
(
sal_Bool
bSelectByHighlight
)
{
if
(
bSelectByHighlight
!=
mpImpl
->
mbHighlightSelection
)
{
// Falls umschalten zwischendurch moeglich...
mpImpl
->
mbHighlightSelection
=
bSelectByHighlight
;
}
}
sal_Bool
TextView
::
Read
(
SvStream
&
rInput
)
{
sal_Bool
bDone
=
mpImpl
->
mpTextEngine
->
Read
(
rInput
,
&
mpImpl
->
maSelection
);
...
...
@@ -2022,11 +1997,6 @@ sal_Bool TextView::Read( SvStream& rInput )
return
bDone
;
}
sal_Bool
TextView
::
Write
(
SvStream
&
rOutput
)
{
return
mpImpl
->
mpTextEngine
->
Read
(
rOutput
,
&
mpImpl
->
maSelection
);
}
bool
TextView
::
ImplTruncateNewText
(
rtl
::
OUString
&
rNewText
)
const
{
bool
bTruncated
=
false
;
...
...
@@ -2439,18 +2409,12 @@ const Point& TextView::GetStartDocPos() const
{
return
mpImpl
->
maStartDocPos
;
}
void
TextView
::
SetAutoIndentMode
(
sal_Bool
bAutoIndent
)
{
mpImpl
->
mbAutoIndent
=
bAutoIndent
;
}
sal_Bool
TextView
::
IsAutoIndentMode
()
const
{
return
mpImpl
->
mbAutoIndent
;
}
sal_Bool
TextView
::
IsReadOnly
()
const
{
return
mpImpl
->
mbReadOnly
;
}
void
TextView
::
SetAutoScroll
(
sal_Bool
bAutoScroll
)
{
mpImpl
->
mbAutoScroll
=
bAutoScroll
;
}
sal_Bool
TextView
::
IsAutoScroll
()
const
{
return
mpImpl
->
mbAutoScroll
;
}
sal_Bool
TextView
::
IsPaintSelection
()
const
{
return
mpImpl
->
mbPaintSelection
;
}
sal_Bool
TextView
::
IsHighlightSelection
()
const
{
return
mpImpl
->
mbHighlightSelection
;
}
sal_Bool
TextView
::
HasSelection
()
const
{
return
mpImpl
->
maSelection
.
HasRange
();
}
sal_Bool
TextView
::
IsInsertMode
()
const
...
...
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