summaryrefslogtreecommitdiffstats
path: root/sc/inc/drwlayer.hxx
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:constantparam in scNoel Grandin2016-03-241-1/+1
| | | | Change-Id: I8608a6cb47972e9b838cc5ea431863348758ded0
* tdf#94561 : Create notes drawing objects only once on sheet copyDennis Francis2016-03-081-1/+1
| | | | | | | | | | | | | Skip copying notes in CopyToColumn() and then call CopyCellNotesToDocument() only after copying hidden rows and filtered rows info. Skip copying notes drawing objects in ScDocument::DrawCopyPage() when inside ScDocument::CopyTab(). Change-Id: I38296bb5d1cc062d473ea4a5a3143f6c1787fc4a Reviewed-on: https://gerrit.libreoffice.org/22331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-1/+1
| | | | Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
* com::sun::star->css in scNoel Grandin2015-10-281-1/+1
| | | | Change-Id: I7774890f46f9343e944e34db27af8bce3b1d0915
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-9/+9
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* loplugin:unusedmethods svxNoel Grandin2015-07-161-3/+0
| | | | | | | Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61 Reviewed-on: https://gerrit.libreoffice.org/17117 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#51460 Calc fails to set undo step after changing image anchor modeHenry Castro2015-04-031-0/+14
| | | | | | | | | Fixed. Note that the undo button is still grayed out. Calc has not set an undo step. Change-Id: I7ff713a906b365b460351e5202161c9152542395 Reviewed-on: https://gerrit.libreoffice.org/14489 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin: cstylecastNoel Grandin2014-10-281-2/+2
| | | | Change-Id: I287dcb0ca728747ec91b5c3cdd986e60998e3928
* fdo#82577: Handle WindowNoel Grandin2014-09-231-1/+1
| | | | | | | Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
* SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin2014-09-061-2/+0
| | | | | | | | | | Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove whitespaceMarkus Mohrhard2014-06-251-2/+0
| | | | Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
* fixincludeguards.sh: scThomas Arnhold2014-04-191-2/+2
| | | | sorry, huge one...
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-011-1/+1
| | | | | | | | It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
* Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann2014-03-271-8/+8
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
* Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann2014-03-261-2/+2
| | | | | | ...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
* sal_Bool->boolNoel Grandin2014-02-111-1/+1
| | | | Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
* sal_Bool->boolNoel Grandin2014-02-101-15/+14
| | | | | | and remove unused parameter from ScCopyPage Change-Id: Iba5a5adea8d5b4a56d77297325cc79d63465f15d
* Integrate branch of IAccessible2Steve Yin2013-12-021-0/+3
| | | | | | | Conflicts: everything Change-Id: I3d8cf956f511a0d953a1cefe83b6ef987806da25
* convert sc/inc/drwlayer.hxx from String to OUStringNoel Grandin2013-10-081-6/+6
| | | | Change-Id: I3f661fe6b8c54ab080f10b64295fe64fb548a75d
* Resolves: #i121008# corrected calc cell comment stuffArmin Le Grand2013-06-271-1/+1
| | | | | | | | | | | | (cherry picked from commit fb1dc1d963e192e588731cce3a3ba20996c4e589) Conflicts: sc/source/core/data/drwlayer.cxx svx/inc/svx/svdmodel.hxx svx/source/svdraw/svdmodel.cxx svx/source/svdraw/svdundo.cxx Change-Id: I10b644aa44ae8c1eb0a027aeeaf27790ec455fa2
* remove unused GetCurDocViewWinThomas Arnhold2013-04-011-2/+0
| | | | Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
* remove unused and commented out codeThomas Arnhold2013-03-041-1/+0
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* fdo#56276 - resize/reposition rotated shapes in a sensible wayNoel Power2013-02-191-2/+5
| | | | Change-Id: Ifa4f848da21838591daa1f57fb42dfd3f4fa8044
* fdo#59056: Re-calculate cell anchor position of a pasted drawing object.Kohei Yoshida2013-01-251-0/+1
| | | | | | | Else it would re-use the anchor position of the original one (minus the sheet index which is correctly adjusted). Change-Id: I52d11eb9953ee7539c9d5da41edd7dd28604587c
* re-base on ALv2 code. Includes:Michael Meeks2012-12-041-23/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patches contributed by Herbert Duerr i#118735 prevent endless loop if vlookup/hlookup doesn't find anything http://svn.apache.org/viewvc?view=revision&revision=1239673 Patches contributed by Andre Fischer remove lp_solver http://svn.apache.org/viewvc?view=revision&revision=1199180 i#118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Armin Le-Grand i#118485 - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 i#118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 Patches contributed by lihuiibm i#108860 - Fix range validation. http://svn.apache.org/viewvc?view=revision&revision=1242846 i#118954 Chart data will lost after copy to different file http://svn.apache.org/viewvc?view=revision&revision=1301345 Patches contributed by Ariel Constenla-Haile Fix Linux build breaker: extra qualification on member http://svn.apache.org/viewvc?view=revision&revision=1301591 i#118696 - i#118697 - Fix some Sheet Tab Color API issues http://svn.apache.org/viewvc?view=revision&revision=1225428 i#118697 - Fix uninitialized variable http://svn.apache.org/viewvc?view=revision&revision=1225859 i#118771 - ScUndoImportTab should preserve tab background color http://svn.apache.org/viewvc?view=revision&revision=1230356 i#118921 - Repaint linked sheet tab background color after updating link http://svn.apache.org/viewvc?view=revision&revision=1245177 i#118927 - Undo/Redo "Update Link" does not reset sheet tab color http://svn.apache.org/viewvc?view=revision&revision=1245241 i#118747 - Copy tab color when transferring sheets across documents http://svn.apache.org/viewvc?view=revision&revision=1230355 Patch contributed by Oliver Rainer-Wittman i#118012 - methods <ScBroadcastAreaSlot::AreaBroadcast(..)> and <ScBroadcastAreaSlot::AreaBroadcastInRange(..)> adapt stl-container iteration in order to avoid destroyed iterators during iteration. http://svn.apache.org/viewvc?view=revision&revision=1297916 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 Patch contributed by Daniel Rentz calc69: #i116936# fix VBA symbol Cells http://svn.apache.org/viewvc?view=revision&revision=1172135 Patches contributed by leiw: i#118546 CPU 100% on switched off AutoCalculate with Conditional Formatting on date values http://svn.apache.org/viewvc?view=revision&revision=1301380 Re-add new function documentation. Many various cleanups. Add missing calc66: #o11817313# also look at formula result number format, remove redundant binaries.
* Sync draw object to calc grid for better alignment when zoomingNoel Power2012-11-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There can be some serious rounding errors involved when calculating where to draw the grid lines for the various row heights in a document. This can be especially true for a document that has many different row heights. This results in draw objects appearing to move relative to the grid line at different zoom levels. This patch attempts to fix this problem adjusting the position of the shapes as they are drawn to ensure their position relative to grid appears to be stable. We do this by translating the position of the shape to the corrosponding position of it's cell anchor. Of course not all shapes are cell anchored and in this case we position the shape relative a temporary synthesized cell anchor. The patch essentially does the following a) calculates the offset to be applied for each shape at the current zoom level to ensure that the shape will be drawn relative to the correct cell grid see drwlayer.cxx, drawview.cxx & gridwin3.cxx, svdobj.[ch]xx b) apply the offset in the drawing layer for each of the different drawing primitives see svx/source/sdr/contact/* c) making sure the position and size of the newly created shape ( at any zoom level ) are still as expected when zoom level is changed. see. sc/source/ui/drawfunc/fuco*.cxx & d) making sure that overlays and handles are displayed at the correct position see svx/source/svdraw/* it could also be that a full blown transform might be needed to additionally scale the object ( to ensure that the edges of the object stay stable relative to ajacent grid lines ) If necessary we could do that in a later step. Change-Id: I02232f8ba192d58dbf96b80adf66c281cd0f65e8
* -Werror,-Wunused-private-field (various sc)Stephan Bergmann2012-09-111-1/+0
| | | | Change-Id: Ia30a2bb6b1f36304a3c420db1d28d177d429a19b
* removed unused forward declarations of classTakeshi Abe2012-06-231-2/+0
| | | | | | except moving ScPostIt into source/filter/inc/xeescher.hxx Change-Id: I85fbfe88e30edce5a48a65c494ced7b2129964ff
* bnc#733864: Make sure to adjust the sheet index of drawing objects.Kohei Yoshida2011-12-061-0/+1
| | | | | | | | | | For cell-anchored drawing objects. Failing to do so would result in either one of 1) write error during file save, 2) drawing object disappearing upon reload, or 3) drawing object relocated to a wrong sheet, with wrong position and size upon reload.
* refactor SdrModel::GetDocumentStreamMichael Stahl2011-12-031-1/+0
| | | | | Remove 3 ~identical implementations of GetDocumentStream and the associated struct SdrDocumentStreamInfo.
* Merge remote-tracking branch 'origin/integration/dev300_m101'Jan Holesovsky2011-03-181-17/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: chart2/source/controller/main/UndoManager.cxx chart2/source/tools/RegressionCurveHelper.cxx sc/inc/address.hxx sc/inc/attrib.hxx sc/inc/bigrange.hxx sc/inc/callform.hxx sc/inc/cell.hxx sc/inc/chartarr.hxx sc/inc/chartlis.hxx sc/inc/chgtrack.hxx sc/inc/collect.hxx sc/inc/compiler.hxx sc/inc/detdata.hxx sc/inc/document.hxx sc/inc/fillinfo.hxx sc/inc/olinetab.hxx sc/inc/prnsave.hxx sc/inc/queryparam.hxx sc/inc/sc.hrc sc/inc/scabstdlg.hxx sc/inc/table.hxx sc/inc/validat.hxx sc/inc/zforauto.hxx sc/source/core/data/documen2.cxx sc/source/core/data/document.cxx sc/source/core/data/table1.cxx sc/source/core/tool/address.cxx sc/source/core/tool/token.cxx sc/source/filter/excel/frmbase.cxx sc/source/filter/excel/impop.cxx sc/source/filter/excel/xename.cxx sc/source/filter/inc/formel.hxx sc/source/filter/inc/xename.hxx sc/source/filter/xml/xmlexprt.cxx sc/source/filter/xml/xmlnexpi.cxx sc/source/filter/xml/xmlnexpi.hxx sc/source/ui/dbgui/filtdlg.cxx sc/source/ui/inc/docfunc.hxx sc/source/ui/inc/namedlg.hxx sc/source/ui/namedlg/namedlg.cxx sc/source/ui/src/namedlg.src
| * Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida2011-03-101-17/+17
| |\
| | * removetooltypes01: Rebase to DEV300m99Carsten Driesner2011-02-071-1/+1
| | |\
| | * | removetooltypes01: #i112600# remove tooltypes from scMikhail Voytenko2011-01-171-18/+18
| | | |
* | | | translate german comments in /sc/incNicolas Christener2011-03-131-6/+0
|/ / /
* | | Merge remote branch 'origin/libreoffice-3-3'Kohei Yoshida2011-01-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: sc/inc/document.hxx sc/source/core/data/drwlayer.cxx sc/source/core/data/table2.cxx sc/source/core/data/table3.cxx
| * | | Reverting the merge commit 0fe55349b05fae496a86a3fa958d184f0453916c.Kohei Yoshida2011-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I created a patch between before and after the merge commit, and reverse-applied it. This is because if you revert a merge commit in git you are denying all future merges from that branch. I wasn't sure if we really wanted that. Signed-off-by: Petr Mladek <pmladek@suse.cz>
* | | | Better cell anchoring. (fdo#33205)Caolán McNamara2011-01-181-7/+6
| | | |
* | | | Translated comments from German to English / Removed unnecessary commentsChristina Rossmanith2011-01-111-8/+7
| | | |
* | | | Merge branch 'libreoffice-3-3'Kohei Yoshida2011-01-101-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Their change regarding the filtering performance conflicted with mine. I'll just take their code for now. Conflicts: sc/inc/document.hxx sc/source/core/data/table2.cxx sc/source/core/data/table3.cxx
| * | | Merge commit 'ooo/OOO330_m19' into libreoffice-3-3Kohei Yoshida2011-01-071-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | Conflicts: sc/source/core/data/table2.cxx sc/source/core/data/table3.cxx
| | * | calc64: #i116164# performance of filters with many filtered rangesNiklas Nebel2011-01-051-1/+1
| | |/
* | / Remove commented out code - //REMOVEJ. Graeme Lingard2010-11-111-3/+0
|/ /
* | add modelines to .hxx files as wellCaolán McNamara2010-10-281-0/+2
| |
* | Removed lots of dead code.Povilas Kanapickas2010-10-201-3/+0
| |
* | FASTBOOL to bool conversionNorbert Thiebaud2010-10-071-1/+1
|/
* calc321stopper1: #i109372# on insert/remove rows/columns/cells: do not ↵Daniel Rentz2010-03-311-4/+4
| | | | update cell position in note caption data before the cells have been moved in the document model
* changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien2010-02-121-4/+1
| | | | Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
* CWS-TOOLING: integrate CWS dr70Release Engineers2009-07-031-5/+1
| | | | | | | | | | | | | | | | | | | | | | | 2009-06-09 13:52:02 +0200 dr r272770 : #i101930# SXC import broken 2009-06-05 11:50:16 +0200 dr r272675 : #i10000# compiler warning 2009-06-05 11:24:39 +0200 dr r272674 : #i10000# compiler warning 2009-06-05 10:35:22 +0200 dr r272668 : #i10000# compiler warning 2009-06-04 16:53:32 +0200 dr r272646 : CWS-TOOLING: rebase CWS dr70 to trunk@272291 (milestone: DEV300:m49) 2009-06-04 14:50:45 +0200 dr r272633 : #i10000# compiler warning 2009-06-03 18:50:57 +0200 dr r272603 : #i101930# fix ODS export of uninit'ed notes, do not craete note captions in UpdatePendingRowHeights 2009-05-28 11:11:17 +0200 dr r272384 : #i101930# note captions must be created before changing row/column size 2009-05-27 15:48:44 +0200 iha r272356 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:46:44 +0200 iha r272355 : #i101925# metafile creation is requested superfluously during inplace editing 2009-05-27 15:06:58 +0200 iha r272349 : #i101928# superfluous paint calls while entering and editing charts 2009-05-27 15:01:08 +0200 iha r272348 : #i101928# superfluous paint calls while entering and editing charts 2009-05-26 14:43:39 +0200 dr r272303 : #i101930# import performance: invisible cell notes cache caption data 2009-05-22 18:44:19 +0200 dr r272205 : #i101930# preparations for uninitialized notes (performance), adapted ODF import filter 2009-05-14 19:50:43 +0200 dr r271918 : #i101930# 'recycle' the shapes already created while loading cell notes 2009-05-06 16:07:45 +0200 dr r271598 : #i100827# improve performance of HTML query filter, patch by mmeeks, slightly modified 2009-05-06 11:02:38 +0200 dr r271577 : #i100827# improve performance of HTML query filter, patch by mmeeks 2009-05-06 10:50:13 +0200 dr r271575 : #i86650# improve performance of HTML query filter 2009-05-05 10:09:44 +0200 nn r271502 : #i101428# better handling of non-existing view data 2009-04-29 16:42:57 +0200 nn r271384 : #i101428# after loading, update row heights per sheet on demand
* CWS-TOOLING: integrate CWS dr66Oliver Bolte2009-03-021-6/+43
| | | | | | | | | | | | | | | | | | | 2009-01-22 15:51:40 +0100 dr r266730 : #i98028# moved to CWS dr66 2009-01-22 15:50:28 +0100 dr r266729 : #i98028# moved to CWS dr66 2009-01-20 16:25:49 +0100 dr r266595 : #i98282# resolve palette colors while loading chart gradients (convert back to unx lineends...) 2009-01-20 16:23:19 +0100 dr r266594 : #i98282# resolve palette colors while loading chart gradients 2009-01-19 15:43:57 +0100 dr r266507 : #i97900# move fix to CWS dr66 2009-01-19 15:40:28 +0100 dr r266506 : #i97900# move fix to CWS dr66 2009-01-19 15:20:14 +0100 dr r266505 : #i98141# correctly update note position while switching LTR/RTL mode of sheet 2009-01-06 10:28:02 +0100 dr r265899 : CWS-TOOLING: rebase CWS dr66 to trunk@265758 (milestone: DEV300:m38) 2008-11-13 13:59:02 +0100 dr r263644 : #i10000# merge problems 2008-11-13 13:25:15 +0100 dr r263639 : #i10000# merge problems 2008-11-13 13:22:58 +0100 dr r263638 : #i10000# merge problems 2008-11-13 13:22:25 +0100 dr r263637 : #i10000# merge problems 2008-11-12 13:40:46 +0100 dr r263595 : #i10000# merge problem 2008-11-12 11:34:51 +0100 dr r263583 : CWS-TOOLING: rebase CWS dr66 to trunk@263288 (milestone: DEV300:m35) 2008-11-11 16:58:11 +0100 dr r263568 : CWS-TOOLING: rebase CWS dr66 to trunk@262087 (milestone: DEV300:m33) 2008-10-27 14:38:34 +0100 dr r262675 : migrate CWS dr66 to SVN