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
64520a6f
Kaydet (Commit)
64520a6f
authored
Ock 08, 2013
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
BinObject is no more. Change the method names to reflect that.
Change-Id: I723a7da307379c6f2e8256fe41023b4b96739f12
üst
4da3a010
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
impedit.hxx
editeng/source/editeng/impedit.hxx
+2
-2
impedit4.cxx
editeng/source/editeng/impedit4.cxx
+6
-6
No files found.
editeng/source/editeng/impedit.hxx
Dosyayı görüntüle @
64520a6f
...
@@ -521,8 +521,8 @@ private:
...
@@ -521,8 +521,8 @@ private:
void
ParaAttribsToCharAttribs
(
ContentNode
*
pNode
);
void
ParaAttribsToCharAttribs
(
ContentNode
*
pNode
);
void
GetCharAttribs
(
sal_uInt16
nPara
,
std
::
vector
<
EECharAttrib
>&
rLst
)
const
;
void
GetCharAttribs
(
sal_uInt16
nPara
,
std
::
vector
<
EECharAttrib
>&
rLst
)
const
;
EditTextObject
*
Create
Bin
TextObject
(
EditSelection
aSelection
,
SfxItemPool
*
,
sal_Bool
bAllowBigObjects
=
sal_False
,
sal_uInt16
nBigObjStart
=
0
);
EditTextObject
*
CreateTextObject
(
EditSelection
aSelection
,
SfxItemPool
*
,
sal_Bool
bAllowBigObjects
=
sal_False
,
sal_uInt16
nBigObjStart
=
0
);
EditSelection
Insert
Bin
TextObject
(
const
EditTextObject
&
,
EditPaM
aPaM
);
EditSelection
InsertTextObject
(
const
EditTextObject
&
,
EditPaM
aPaM
);
EditSelection
InsertText
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
datatransfer
::
XTransferable
>&
rxDataObj
,
const
String
&
rBaseURL
,
const
EditPaM
&
rPaM
,
sal_Bool
bUseSpecial
);
EditSelection
InsertText
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
datatransfer
::
XTransferable
>&
rxDataObj
,
const
String
&
rBaseURL
,
const
EditPaM
&
rPaM
,
sal_Bool
bUseSpecial
);
EditPaM
Clear
();
EditPaM
Clear
();
...
...
editeng/source/editeng/impedit4.cxx
Dosyayı görüntüle @
64520a6f
...
@@ -301,7 +301,7 @@ static void lcl_FindValidAttribs( ItemList& rLst, ContentNode* pNode, sal_uInt16
...
@@ -301,7 +301,7 @@ static void lcl_FindValidAttribs( ItemList& rLst, ContentNode* pNode, sal_uInt16
sal_uInt32
ImpEditEngine
::
WriteBin
(
SvStream
&
rOutput
,
EditSelection
aSel
,
bool
bStoreUnicodeStrings
)
sal_uInt32
ImpEditEngine
::
WriteBin
(
SvStream
&
rOutput
,
EditSelection
aSel
,
bool
bStoreUnicodeStrings
)
{
{
boost
::
scoped_ptr
<
EditTextObject
>
pObj
(
Create
Bin
TextObject
(
aSel
,
NULL
));
boost
::
scoped_ptr
<
EditTextObject
>
pObj
(
CreateTextObject
(
aSel
,
NULL
));
pObj
->
mpImpl
->
StoreUnicodeStrings
(
bStoreUnicodeStrings
);
pObj
->
mpImpl
->
StoreUnicodeStrings
(
bStoreUnicodeStrings
);
pObj
->
Store
(
rOutput
);
pObj
->
Store
(
rOutput
);
return
0
;
return
0
;
...
@@ -1017,10 +1017,10 @@ EditTextObject* ImpEditEngine::CreateTextObject()
...
@@ -1017,10 +1017,10 @@ EditTextObject* ImpEditEngine::CreateTextObject()
EditTextObject
*
ImpEditEngine
::
CreateTextObject
(
EditSelection
aSel
)
EditTextObject
*
ImpEditEngine
::
CreateTextObject
(
EditSelection
aSel
)
{
{
return
Create
Bin
TextObject
(
aSel
,
GetEditTextObjectPool
(),
aStatus
.
AllowBigObjects
(),
nBigTextObjectStart
);
return
CreateTextObject
(
aSel
,
GetEditTextObjectPool
(),
aStatus
.
AllowBigObjects
(),
nBigTextObjectStart
);
}
}
EditTextObject
*
ImpEditEngine
::
Create
Bin
TextObject
(
EditSelection
aSel
,
SfxItemPool
*
pPool
,
sal_Bool
bAllowBigObjects
,
sal_uInt16
nBigObjectStart
)
EditTextObject
*
ImpEditEngine
::
CreateTextObject
(
EditSelection
aSel
,
SfxItemPool
*
pPool
,
sal_Bool
bAllowBigObjects
,
sal_uInt16
nBigObjectStart
)
{
{
EditTextObject
*
pTxtObj
=
new
EditTextObject
(
pPool
);
EditTextObject
*
pTxtObj
=
new
EditTextObject
(
pPool
);
pTxtObj
->
SetVertical
(
IsVertical
()
);
pTxtObj
->
SetVertical
(
IsVertical
()
);
...
@@ -1195,12 +1195,12 @@ EditSelection ImpEditEngine::InsertText( const EditTextObject& rTextObject, Edit
...
@@ -1195,12 +1195,12 @@ EditSelection ImpEditEngine::InsertText( const EditTextObject& rTextObject, Edit
aSel
.
Adjust
(
aEditDoc
);
aSel
.
Adjust
(
aEditDoc
);
if
(
aSel
.
HasRange
()
)
if
(
aSel
.
HasRange
()
)
aSel
=
ImpDeleteSelection
(
aSel
);
aSel
=
ImpDeleteSelection
(
aSel
);
EditSelection
aNewSel
=
Insert
Bin
TextObject
(
rTextObject
,
aSel
.
Max
()
);
EditSelection
aNewSel
=
InsertTextObject
(
rTextObject
,
aSel
.
Max
()
);
LeaveBlockNotifications
();
LeaveBlockNotifications
();
return
aNewSel
;
return
aNewSel
;
}
}
EditSelection
ImpEditEngine
::
Insert
Bin
TextObject
(
const
EditTextObject
&
rTextObject
,
EditPaM
aPaM
)
EditSelection
ImpEditEngine
::
InsertTextObject
(
const
EditTextObject
&
rTextObject
,
EditPaM
aPaM
)
{
{
// Optimize: No getPos undFindParaportion, instead calculate index!
// Optimize: No getPos undFindParaportion, instead calculate index!
EditSelection
aSel
(
aPaM
,
aPaM
);
EditSelection
aSel
(
aPaM
,
aPaM
);
...
@@ -2944,7 +2944,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
...
@@ -2944,7 +2944,7 @@ EditSelection ImpEditEngine::TransliterateText( const EditSelection& rSelection,
if
(
bSingleNode
&&
!
bHasAttribs
)
if
(
bSingleNode
&&
!
bHasAttribs
)
pUndo
->
SetText
(
aSel
.
Min
().
GetNode
()
->
Copy
(
aSel
.
Min
().
GetIndex
(),
aSel
.
Max
().
GetIndex
()
-
aSel
.
Min
().
GetIndex
()
)
);
pUndo
->
SetText
(
aSel
.
Min
().
GetNode
()
->
Copy
(
aSel
.
Min
().
GetIndex
(),
aSel
.
Max
().
GetIndex
()
-
aSel
.
Min
().
GetIndex
()
)
);
else
else
pUndo
->
SetText
(
Create
Bin
TextObject
(
aSel
,
NULL
)
);
pUndo
->
SetText
(
CreateTextObject
(
aSel
,
NULL
)
);
}
}
// now apply the changes from end to start to leave the offsets of the
// now apply the changes from end to start to leave the offsets of the
...
...
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