Bugzilla – Attachment 169967 Details for
Bug 36466
Add option to Select Visible Cells Only (to be copied from or copied to)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff to enable selecting columns too
enableCols.diff (text/plain), 980 bytes, created by
Tomaz Vajngerl
on 2021-02-22 15:21:05 UTC
(
hide
)
Description:
Diff to enable selecting columns too
Filename:
MIME Type:
Creator:
Tomaz Vajngerl
Created:
2021-02-22 15:21:05 UTC
Size:
980 bytes
patch
obsolete
>diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx >index f529e34b6140..5d943a346e03 100644 >--- a/sc/source/ui/view/cellsh1.cxx >+++ b/sc/source/ui/view/cellsh1.cxx >@@ -2797,6 +2797,17 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) > nRow = nLastRow; > } > } >+ for (SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol) >+ { >+ SCCOL nLastCol = nCol; >+ if (rDoc.ColHidden(nCol, nTab, nullptr, &nLastCol)) >+ { >+ rMark.SetMultiMarkArea( >+ ScRange(nCol, nStartRow, nTab, nLastCol, nEndRow, nTab), false); >+ bChanged = true; >+ nCol = nLastCol; >+ } >+ } > } > > if (bChanged && !rMark.HasAnyMultiMarks())
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 36466
: 169967