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
e851ea0e
Kaydet (Commit)
e851ea0e
authored
Agu 22, 2013
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#39484 - don't loose outlines while trying to undo formulae changes.
Change-Id: Ib3b2bab5beffb8164a8cd2c0b4db4c97f427507e
üst
3f8c36ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
global.hxx
sc/inc/global.hxx
+5
-4
table2.cxx
sc/source/core/data/table2.cxx
+2
-1
viewfun3.cxx
sc/source/ui/view/viewfun3.cxx
+1
-1
No files found.
sc/inc/global.hxx
Dosyayı görüntüle @
e851ea0e
...
@@ -187,12 +187,13 @@ const sal_uInt16 IDF_HARDATTR = 0x0020; /// Hard cell attributes.
...
@@ -187,12 +187,13 @@ const sal_uInt16 IDF_HARDATTR = 0x0020; /// Hard cell attributes.
const
sal_uInt16
IDF_STYLES
=
0x0040
;
/// Cell styles.
const
sal_uInt16
IDF_STYLES
=
0x0040
;
/// Cell styles.
const
sal_uInt16
IDF_OBJECTS
=
0x0080
;
/// Drawing objects.
const
sal_uInt16
IDF_OBJECTS
=
0x0080
;
/// Drawing objects.
const
sal_uInt16
IDF_EDITATTR
=
0x0100
;
/// Rich-text attributes.
const
sal_uInt16
IDF_EDITATTR
=
0x0100
;
/// Rich-text attributes.
const
sal_uInt16
IDF_SPECIAL_BOOLEAN
=
0x1000
;
const
sal_uInt16
IDF_OUTLINE
=
0x0800
;
/// Sheet / outlining (grouping) information
const
sal_uInt16
IDF_ATTRIB
=
IDF_HARDATTR
|
IDF_STYLES
;
const
sal_uInt16
IDF_CONTENTS
=
IDF_VALUE
|
IDF_DATETIME
|
IDF_STRING
|
IDF_NOTE
|
IDF_FORMULA
;
const
sal_uInt16
IDF_ALL
=
IDF_CONTENTS
|
IDF_ATTRIB
|
IDF_OBJECTS
;
const
sal_uInt16
IDF_NOCAPTIONS
=
0x0200
;
/// Internal use only (undo etc.): do not copy/delete caption objects of cell notes.
const
sal_uInt16
IDF_NOCAPTIONS
=
0x0200
;
/// Internal use only (undo etc.): do not copy/delete caption objects of cell notes.
const
sal_uInt16
IDF_ADDNOTES
=
0x0400
;
/// Internal use only (copy from clip): do not delete existing cell contents when pasting notes.
const
sal_uInt16
IDF_ADDNOTES
=
0x0400
;
/// Internal use only (copy from clip): do not delete existing cell contents when pasting notes.
const
sal_uInt16
IDF_SPECIAL_BOOLEAN
=
0x1000
;
const
sal_uInt16
IDF_ATTRIB
=
IDF_HARDATTR
|
IDF_STYLES
|
IDF_OUTLINE
;
const
sal_uInt16
IDF_CONTENTS
=
IDF_VALUE
|
IDF_DATETIME
|
IDF_STRING
|
IDF_NOTE
|
IDF_FORMULA
|
IDF_OUTLINE
;
const
sal_uInt16
IDF_ALL
=
IDF_CONTENTS
|
IDF_ATTRIB
|
IDF_OBJECTS
;
/// Copy flags for auto/series fill functions: do not touch notes and drawing objects.
/// Copy flags for auto/series fill functions: do not touch notes and drawing objects.
const
sal_uInt16
IDF_AUTOFILL
=
IDF_ALL
&
~
(
IDF_NOTE
|
IDF_OBJECTS
);
const
sal_uInt16
IDF_AUTOFILL
=
IDF_ALL
&
~
(
IDF_NOTE
|
IDF_OBJECTS
);
...
...
sc/source/core/data/table2.cxx
Dosyayı görüntüle @
e851ea0e
...
@@ -1265,7 +1265,8 @@ void ScTable::CopyToTable(
...
@@ -1265,7 +1265,8 @@ void ScTable::CopyToTable(
pDestTab
->
CopyConditionalFormat
(
nCol1
,
nRow1
,
nCol2
,
nRow2
,
0
,
0
,
this
);
pDestTab
->
CopyConditionalFormat
(
nCol1
,
nRow1
,
nCol2
,
nRow2
,
0
,
0
,
this
);
}
}
pDestTab
->
SetOutlineTable
(
pOutlineTable
);
// auch nur wenn bColRowFlags
if
(
nFlags
&
IDF_OUTLINE
)
// also only when bColRowFlags
pDestTab
->
SetOutlineTable
(
pOutlineTable
);
}
}
...
...
sc/source/ui/view/viewfun3.cxx
Dosyayı görüntüle @
e851ea0e
...
@@ -1161,7 +1161,7 @@ bool ScViewFunc::PasteFromClip( sal_uInt16 nFlags, ScDocument* pClipDoc,
...
@@ -1161,7 +1161,7 @@ bool ScViewFunc::PasteFromClip( sal_uInt16 nFlags, ScDocument* pClipDoc,
// all sheets - CopyToDocument skips those that don't exist in pUndoDoc
// all sheets - CopyToDocument skips those that don't exist in pUndoDoc
SCTAB
nTabCount
=
pDoc
->
GetTableCount
();
SCTAB
nTabCount
=
pDoc
->
GetTableCount
();
pDoc
->
CopyToDocument
(
nStartCol
,
nStartRow
,
0
,
nUndoEndCol
,
nUndoEndRow
,
nTabCount
-
1
,
pDoc
->
CopyToDocument
(
nStartCol
,
nStartRow
,
0
,
nUndoEndCol
,
nUndoEndRow
,
nTabCount
-
1
,
nUndoFlags
,
false
,
pUndoDoc
);
nUndoFlags
,
false
,
pUndoDoc
);
if
(
bCutMode
)
if
(
bCutMode
)
{
{
...
...
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