summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2014-03-25svtools: sal_Bool->boolNoel Grandin4-65/+65
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25svtools: sal_Bool->boolNoel Grandin4-58/+58
Change-Id: I05dd992f332ab2f3dbcc65aed6dac909872168d4
2014-03-25svtools: sal_Bool->boolNoel Grandin6-31/+31
Change-Id: I6c57a52b4fc3ecb993af4526fefcca352ad269b5
2014-03-25svtools/svparser.hxx: sal_Bool->boolNoel Grandin1-14/+14
Change-Id: I130c40227a756b396c4f858468457867d53454b1
2014-03-25svtools/svtabbax.hxx: sal_Bool->boolNoel Grandin1-5/+5
Change-Id: I2441e15d2b32b897561cb404a925390299fea6d8
2014-03-25svtools: sal_Bool->boolNoel Grandin4-35/+35
Change-Id: Ia0280d3d4f2d5b8a93a37a93847951391e928028
2014-03-25fdo#74702 Move GetBitCount() and GetAlphaBitCount into correct classesChris Sherlock2-3/+6
GetBitCount() works differently for VirtualDevices. GetAlphaBitCount() is really only used by VirtualDevice, so moved functionality from OutputDevice to VirtualDevice. Change-Id: Ic00e32f1fa385542bcce8c9475f0ea5eb9a077f9 Reviewed-on: https://gerrit.libreoffice.org/8722 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-03-25fdo#74702 Moved EnableRTL() logic to specific classes where appropriateChris Sherlock4-9/+15
OutputDevice::EnableRTL() is a bit of a mess. It uses a runtime variable to see if it is using a VirtualDevice, and it uses a dynamic_cast to see if the object is a Window or a Control! I have made it virtual and moved the knowledge of class specific functionality from OutputDevice to VirtualDevice, Window and Control as needed. OutputDevice::EnableRTL() functionality is then called. Also: small formatting change to outdev.hxx, also included a note that WindowImpl is a pimpl in window.hxx. Change-Id: I44b66601c4457fb2e0bbc1014fb7acf8f6942f80 Reviewed-on: https://gerrit.libreoffice.org/8721 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-03-25add parameter to supress dialogMathias Supp1-1/+2
With the new parameter you can now supress the dialog for document compare in writer. Change-Id: I984ee75552e5c006332331510df5d437b687903f
2014-03-25Reduce IAccessibleTabListBox to what's actually usedStephan Bergmann1-6/+2
...the calls to getAccessibleChild(0) and getHeaderBar(BBYTE_COLUMNHEADERBAR) ultimately all ended up at AccessibleBrowseBox::implGetHeaderBar(BBTYPE_COLUMNHEADERBAR). Change-Id: Ie25659e19d0d1ce2dcde2d1440ecc69b4fa265b0
2014-03-24fdo#76222 oox: add support for MSO 2007 SP2 encrypted documentsTomaž Vajngerl1-1/+4
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
2014-03-24GetPaintArea() was operating directly on the region, no need to return it.Jan Holesovsky2-2/+2
Rename it accordingly, so that it is more obvious. Change-Id: Ifb313f1e60b50761247a65b7ce2c6b38773c1304
2014-03-24callcatcher: update unused codeCaolán McNamara1-3/+3
Change-Id: I48990c044e4583e835f3e995527ba423e8c459fb
2014-03-24fdo#74702 ImplDrawBitmap functionality moved to protected functionChris Sherlock2-0/+3
OutputDevice::ImplDrawBitmap() has functionality that cannot be used by printers. I have moved that into a protected function, ScaleBitmap() Change-Id: Ia1297e259283b8b2f4cf069e3a64a574592a1846 Reviewed-on: https://gerrit.libreoffice.org/8720 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-24fdo#74702 GetPaintArea protected function introducedChris Sherlock2-0/+2
GetPaintArea has been introduced for Window - we intersect with the available paintable boundary to get the actual paintable area needed. For OutputDevice, GetPaintArea just returns the same area. Change-Id: If38b09eb54d516d189cedf8bba15b184e6b6f7d5 Reviewed-on: https://gerrit.libreoffice.org/8727 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-24svtools: sal_Bool->boolNoel Grandin5-38/+38
Change-Id: I288a5c8b86d21a1b91f464aaf162aed9aca35a42
2014-03-24svtools: sal_Bool->boolNoel Grandin3-22/+22
Change-Id: I37352e90a5304e75ce0c8ae922a167b1e70625e8
2014-03-24svtools: sal_Bool->boolNoel Grandin10-98/+98
Change-Id: I2044e6c1f15579b6051fad5d36fcfa8795f88953
2014-03-24svtools: sal_Bool->boolNoel Grandin5-50/+50
Change-Id: I35c9c1514c67860e61b6e2457ab4548d04a4d159
2014-03-24svtools: sal_Bool->boolNoel Grandin2-52/+52
Change-Id: Ic9b4838c4d1b4d2d2ea4665811dd396bdbec31b7
2014-03-24svtools: sal_Bool->boolNoel Grandin5-63/+63
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
2014-03-24svtools: sal_Bool->boolNoel Grandin6-71/+72
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
2014-03-24svtools: sal_Bool->boolNoel Grandin5-67/+67
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-24svtools: sal_Bool->boolNoel Grandin4-79/+79
Change-Id: I0c2e9314d85860831b29db76c89c8776c1b071b9
2014-03-24svtools: sal_Bool->boolNoel Grandin3-18/+17
Change-Id: I56072620f9ea28833e1590a7fff7d71ed11fc34c
2014-03-24svtools: sal_Bool->boolNoel Grandin8-98/+98
Change-Id: Ic765d1a28960dbeca9501852b5e84cfdfe6ac47e
2014-03-24svtools: sal_Bool->bool and remove virtualNoel Grandin1-4/+4
remove virtual from AcceleratorExecute::execute because nothing seems to override it. Change-Id: Idac00ce421f2a46921347b976b7658aac9097ee2
2014-03-23oox: add Digest class which uses NSS or OpenSSL for digest calc.Tomaž Vajngerl1-4/+39
Document encryption and decryption uses either NSS or OpenSSL to calculate digest. Digest class hides the implementation details between the two implementations. Previously, functions sha1 and sha512 were used for this, but were less generic. Change-Id: I60119e2ab9c5c1f4a2b02bc417c3c89c53a63fda
2014-03-23Full colour borders in .doc import/exportLuke Deller1-0/+4
The BRC (BoRder Control) structure used in .doc files to specify border properties has undergone several revisions over time. LibreOffice supports the WW6 and WW8 (Word '97) BRC versions, which allow the border colour to be selected from a palette of only 16 colours. This changeset adds support for the WW9 (Word 2000) BRC version, along with some new SPRMs (Single PRoperty Modifiers) which use it, so that border colours are preserved accurately in .doc import/export. This change covers: - page borders - paragraph borders - borders around a sequence of characters - table / table cell borders (import only) Further work is required to extend coverage to borders of pictures and export of borders in tables. The LO code was using the same class WW8_BRC to store the bits for either the WW6 or WW8 BRC. This becomes a bit unmanagable when adding a third BRC version, so I have split this into a separate class for each version. Fixes fdo#68475, fdo#50185 Change-Id: I7ebc15236497cbab9312d8659fe7ed0bee2c59ed Reviewed-on: https://gerrit.libreoffice.org/8646 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-03-23i123573 corrected reaction on ItemChanges for CustomShapesArmin Le Grand1-1/+2
Conflicts: svx/source/sdr/properties/customshapeproperties.cxx Change-Id: I9f37893bab72b2d9b9f8874f6827ca6bee5dfbe1
2014-03-23i#115391 better support for MinTextSize settingsArmin Le Grand3-2/+18
... for TextShapes and CustomShapes Conflicts: include/svx/svdotext.hxx svx/source/sdr/properties/customshapeproperties.cxx svx/source/svdraw/svdoashp.cxx svx/source/svdraw/svdotext.cxx svx/source/svdraw/svdotxdr.cxx svx/source/svdraw/svdotxtr.cxx Change-Id: Ie6f490801b6887568135ed5f83c8bbe7ab6daa08
2014-03-22coverity#708183 Uninitialized scalar fieldCaolán McNamara1-0/+2
Change-Id: I45563c32a75ec2c95d4ea13d1cf9179c44cf1fd8
2014-03-22coverity#708190 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Ieadb392a68afa58362e6d2c8f6534f1824a404c4
2014-03-22covertity#707954 Uninitialized scalar fieldCaolán McNamara1-2/+5
Change-Id: I837a2065e0f604ca53b5ebb7464bff9db0cbaf6b
2014-03-22fdo#74702 DrawOutDev() and CopyArea() functions now noops in PrinterChris Sherlock2-3/+16
DrawOutDev() and CopyArea() functions now assert when called from a Printer instance. This has allowed the removal of meOutDevType, which I hope to eventually completely eradicate from LO. I've also included DrawOutDev(...) which holds a parameter with a reference to a Printer object. This shouldn't be possible, so it asserts. Change-Id: Iabee853ca7c8bfc99349da086d1944ee13210a2e Reviewed-on: https://gerrit.libreoffice.org/8592 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-22fdo#74702 Moved CopyArea() Window specific functionChris Sherlock3-1/+5
There is Window specific code in OutputDevice::CopyArea(...). I have moved this to a protected function CopyAreaFinal(...). Conflicts: include/vcl/print.hxx vcl/source/gdi/outdev2.cxx Change-Id: I9098ec960527a2aca6154ac6e791b947a8e4f78e Reviewed-on: https://gerrit.libreoffice.org/8605 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-22fdo#74702 Move BitmapEx drawing code to seperate functionsChris Sherlock2-27/+61
New virtual functions DrawTransformBitmapExDirect() and TransformReduceBitmapExTargetRange(). Printers cannot do either of these things so I make it a noop in the Printer class, Window and VirtualDevice will continue to work as intended. I have documented these functions in OutputDevice. Also made some small formatting changes to print.hxx to align tabs. Change-Id: Idd31d230f95d3b5ea360c72dc8191d47bfd8402b Reviewed-on: https://gerrit.libreoffice.org/8588 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-21fdo#74702 ImplPrintMask() implemented in PrinterChris Sherlock2-3/+7
Printer should implement ImplPrintMask(), as a protected function. If OutputDevice calls it, then do nothing. Also removed commented out code. Change-Id: If3e7d3b2057f0c89f48f81a4a7a7b2360c0a3439 Reviewed-on: https://gerrit.libreoffice.org/8593 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-21fdo#74702 Moved ImplReleaseGraphics into correct classesChris Sherlock4-1/+9
Made OutputDevice::ImplReleaseGraphics a pure virtual function, then implemented function in Printer, Window and VirtualDevice. The reason was that OutputDevice was checking to see if it was a Printer, Window or VirtualDevice that was calling on it in an if statement, very uncool :-) Now I let the classes themselves do the work. There is some common functionality, which is to release the fonts. I have put this into a protected OutputDevice function, ImplReleaseFonts. Change-Id: Id41db2119d4022ea2fc7855158ca9f610af3c85c Reviewed-on: https://gerrit.libreoffice.org/8548 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-03-21Remove opengl usage from svx until we can't solve building problemsZolnai Tamás1-4/+0
Change-Id: I45b2e0f772f7bcc47bc2e0ce2c7639ef775b379b
2014-03-21Init an opengl context bounded to an existent window.Zolnai Tamás3-1/+42
Via ViewObjectContact can we query a window. It seems this window is the same which is used by chart edit mode. Change-Id: Ib6df4d58730774f3d86b453b8174a78bb2c8a45b
2014-03-21Consistent naming: ViewContactOfOpenGL{->Obj}Zolnai Tamás2-5/+5
Change-Id: I6bacdba00dfd81442919bce768ef2e7a9f8ce86e
2014-03-21Extract getPageWindowOutputDevice to a common placeZolnai Tamás1-2/+12
Change-Id: Idef06778251d7437cfce2151c6fb9654db04d3a4
2014-03-21Convert RID_SVX_MDLG_FONTWORK_GALLERY to .uiPalenik Mihály2-9/+2
Change-Id: I18c02b6c1f9ea9642d3f04092f7df4dcc9d92990 Reviewed-on: https://gerrit.libreoffice.org/8689 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-03-21move remaining padmin dialogs into vclCaolán McNamara1-2/+2
and so padmin is no more Change-Id: I554cefa8b38581daad8a78bafa167448b0a0ef61
2014-03-21drop spadminCaolán McNamara2-3/+0
Change-Id: Ie10ee80f1d35b40c0baf9d7ba5c1181b52405b5f
2014-03-21kill ucbhelper XSERVICEINFO_NOFACTORY_DECLNorbert Thiebaud3-22/+18
Change-Id: I02bb3e7a06451347d8ce72af17461bec91803954
2014-03-21kill ucbhelper XSERVICEINFO_DECLNorbert Thiebaud1-10/+0
Change-Id: Ide6ecff036de4ea30a58ef2d63d5590e9e9786dc
2014-03-20kill ucbhelper XTYPEPROVIDER_DECL macroNorbert Thiebaud8-23/+48
Change-Id: I1daf6661dd7b5be396bec980da84feaab6e6b80f
2014-03-20rename ImplDevFontList to PhysicalFontCollectionNorbert Thiebaud1-2/+2
again, convergence of teh naming with what is normally used in the underlying native API, where FontFace ) FontFamily ) FontCollection Change-Id: Ieb098b782ea828a3365f00d07914b9566278caba