summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2016-01-26OpenGLWrapper is the right place for getBufferSwapCounter()Tor Lillqvist2-6/+6
Change-Id: I3f7db276ab00d5fa493f993736f1010e76fcbcc8
2016-01-26Put getBufferSwapCounter() in OpenGLWindow insteadTor Lillqvist2-5/+6
<vcl/openglwin.hxx> is a more light-weight include file and including that causes less trouble on the various platforms. Change-Id: I5c9baa171278d291468ef45a47d9fdbc64326957
2016-01-26Add API to get the number of OpenGL buffer swaps, including through UNOTor Lillqvist1-0/+5
Change-Id: Iff29ac615ad4b6516790b1cbbde0215a3cd0efe6
2016-01-25Revert "fdo#62947 make IDs unique, fixes, better names"Maxim Monastirsky1-1/+0
This reverts commit 5398664eed621fbcc644ff949d4841590973bfa3. Conflicts: include/sfx2/sfxcommands.h sw/source/ui/app/mn.src Change-Id: Ic55cfb51a726ab9ee19bac6719d5e2670d1fb494
2016-01-25libreofficekit: ask for password when loading encrypted documentsMichael Stahl3-1/+47
Change-Id: I3b3b0c0e64965280c24842b0cf70a21b8abb4dfb
2016-01-25tdf#82577: Handle DestroyAll, InitializeToken, NextRequestJorenz Paragas1-3/+0
There are no LO types that conflict with these X11 types, so these can just be removed from postx.h. Change-Id: I47957b847a41c301e40527051b0a13366400a2c0 Reviewed-on: https://gerrit.libreoffice.org/21762 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-25svx: SdrEdgeLineDeltaAnzItem -> SdrEdgeLineDeltaCountItemMiklos Vajna1-4/+4
Change-Id: I91791a3ea21ca7a68d4d1aa49e29cabc38c777ee
2016-01-25fix DLLPUBLIC annotations in OInterfaceContainer2Noel Grandin1-3/+3
Change-Id: I9567e40203b8f646dc811bfae10610711702b39c
2016-01-25loplugin:nullptrStephan Bergmann1-1/+1
Change-Id: I43a0d543d1f258a2a9be34e4594dfd75d6ee684d
2016-01-25tdf#87933 - Easier visibility of automatic page breaks.akki951-0/+2
Defined additional named colors COL_GRAY3 and COL_gray7 in color.hxx Fixed the color scheme as required. Change-Id: Ia86acb2465d0978d08518f0a146df5574cc8fafc Reviewed-on: https://gerrit.libreoffice.org/21742 Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin14-35/+339
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-22loplugin:fpcomparison in basegfxNoel Grandin2-5/+5
fix comparing of floating point values Change-Id: I54db66968cb999514747171eed82082612e0cac8 Reviewed-on: https://gerrit.libreoffice.org/21708 Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de> Tested-by: Jenkins <ci@libreoffice.org>
2016-01-22document some naming conventionsEike Rathke1-0/+10
Change-Id: Id73c7b56c58855fc5ae2304274b6da97272037b8
2016-01-22vcl: add orientation flag property to Font classChris Sherlock1-0/+2
Add getter and setter for orientation flag to the Font class. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test this flag. Change-Id: I62d5a47f870702eeac4625830dd279dd53fbcc3d Reviewed-on: https://gerrit.libreoffice.org/21696 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-22new loplugin sfxpoolitemNoel Grandin1-0/+1
generates a warning about subclasses that add members but do not override operator==() Change-Id: If6df1a2cbd115f17bcca22f9b7995181dcf55c03 Reviewed-on: https://gerrit.libreoffice.org/20468 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-01-22editeng: ImpEditView::mbTiledRendering is never readMiklos Vajna2-3/+0
Change-Id: Ie8e33d075f0cedbb9f7148717c4318f4494ed419
2016-01-22loplugin:overrideStephan Bergmann1-1/+1
after 6517141b6233c5f9667031bc92f66109fddf5b76 "tdf#42788: FORMATTING - Numbering/ordered list" made SvxNumberType::SetNumberingType virtual. Change-Id: I856a521b88940b6c2a8f3ebbae9ec4066e14ea78
2016-01-22vcl: add font map names to Font classChris Sherlock1-0/+2
Added getter and setter for font map names to the Font class. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Change-Id: I3e12c900da6f3abe60ea9c8dc39178fdd3f98bb7 Reviewed-on: https://gerrit.libreoffice.org/21695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21tdf#42788: FORMATTING - Numbering/ordered listNusaiba Al-Kindi1-3/+5
I changed the default numbering alignment of the Roman(upper/ lower) numbers list to the right instead of left with out any changes in the default alignment of other numbring type lists. In addition, numbering alignment can be changed by the user and any new list created will not be affected by the user choice (using the default settings for the new list). Change-Id: I7a6b7fb31bf40e26910e90538cd336e767f4c056 Reviewed-on: https://gerrit.libreoffice.org/21439 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-21oox: import Math objects from PPTX filesMichael Stahl1-2/+9
This is quite hacky and limited: in OOXML these are not OLE objects but occur inside text boxes, and PPT 2010 allows inserting multiple Math objects into one text box but Impress does not have as-character anchored objects, so we can't import that properly; for now only import Math if there is nothing else in the text box. Also for now only import them as children of TextParagraphContext (a:p); it's not clear what the possible parent elements could be since the OOXML standard only lists WordProcessingML parent elements :( Change-Id: I847f810084c9ddae4b60f93896fb73a742683cc2
2016-01-21tdf#95587: Make rectangle control within tab pages work againKatarina Behrens1-1/+0
Since commit 74407aef94b6d8dfdd6, tab pages|controls are considered to be container widgets (thus, search for the nearest non-layout parent will never find a tab page parent, breaking rectangle control in many dialogs). I've no idea how many other functions' behaviour this changes in an unexpected way, so I've reverted that bit. That however means implementing slightly different approach to tdf#92630 in dialogs (for a tab dialog, find current tab page and go through its children) Change-Id: I3ff5ac13f04b1c5c799c7a1a3769108927809f31 Reviewed-on: https://gerrit.libreoffice.org/21615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-01-21Clean up lok::Office::freeError()Miklos Vajna2-9/+6
- let it take a non-const pointer, just like free() or g_free() does - remove lok::Document::freeError(), which was declared, but not implemented - move the declaration at the end of the stable API, but before the unstable section Change-Id: I5a8ced61fc87641dc2fa0ea3615a350361fae3a1
2016-01-21loplugin: unused return valuesNoel Grandin8-89/+10
Change-Id: I4eb1f0c9245c04058fd5e47046f043f8840a79c7 Reviewed-on: https://gerrit.libreoffice.org/21628 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-21vcl: add subsettable flag property functions to Font classChris Sherlock1-0/+2
Added getter and setter for subsettable flag property to the Font class. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test this flag. Change-Id: I2a66f1c4876698e1ffeaf260b2b43d5308b71191 Reviewed-on: https://gerrit.libreoffice.org/21651 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21vcl: rename Font::GetFamily to Font::GetFamilyTypeChris Sherlock1-2/+2
Change-Id: Ie427a43bd126dcdd89c6f66582736e67130f2254 Reviewed-on: https://gerrit.libreoffice.org/21633 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-21vcl: add embeddable font property functions to Font classChris Sherlock1-0/+2
Added setter and getter for embeddable font property to the Font class. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test this flag. Change-Id: I7f4ddf09d4a122c7c335b017efcb95f1774ae0d8 Reviewed-on: https://gerrit.libreoffice.org/21650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20vcl: add built in font property functions to Font classChris Sherlock1-0/+4
Added setter for built-in font property and IsBuiltInFontFlag to Font class. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test added to vcl/qa/cppunit/font.cxx to test this flag. Change-Id: I61ce33fe6ffb31be22c68ce8a94d0886ebdc8fcf Reviewed-on: https://gerrit.libreoffice.org/21627 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20i#107205 Remove SfxDispatcher::Popup and SfxPopupMenuManager::PopupMaxim Monastirsky2-13/+0
Change-Id: I1a8bee75a2dbfb039ec32faf001b75b26ea1f3fe
2016-01-20vcl: add more property functions to FontChris Sherlock1-0/+2
Added increase and decrease quality functions to Font class, and also charset mutator and accessor function. See commit description in 8bfccd3a71d911b6d ("vcl: Create accessor and mutator for font scaling in FontMetric") for reasoning behind patch. Unit test change in vcl/qa/cppunit/font.cxx: - enhanced to check increase and decrease quality functions Change-Id: I2f5970438f6ef1ad185163d5fdcec5bbc88912a4 Reviewed-on: https://gerrit.libreoffice.org/21622 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-20drop basebmp entirely nowCaolán McNamara5-360/+0
Change-Id: I534848c4be8eadf86b7f31ac742a80982405f56f
2016-01-20loplugin:unusedmethodsNoel Grandin5-20/+0
Change-Id: Ib2dc804f55d1a96ae01f2cf31b7d55956040a72e Reviewed-on: https://gerrit.libreoffice.org/21603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-20freeError function moved to the end of the listOliver Specht1-1/+2
Change-Id: I4aed102b25ddcd5f2e8fa03395e2ffd89c858bb9 Reviewed-on: https://gerrit.libreoffice.org/21619 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-01-19DeactivateMenuBar can be non-virtual nowStephan Bergmann1-1/+1
...after 9c09d4d0d36076d39926eeaf7774171df3b55e52 "tdf#96888 - Kill internal vcl dog-tags ..." Change-Id: I12c30f5ec3d498561b47ae61b34326d4a1f380d7
2016-01-19vcl: add quality accessor & mutator to FontChris Sherlock1-0/+5
Change-Id: I261c717cabf966b8b20b8e6c921b38f4cd73e268 Reviewed-on: https://gerrit.libreoffice.org/21597 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-19tdf#96888 - Kill internal vcl dog-tags ...Ras-al-Ghul3-7/+4
Modifications done as per CR Change-Id: I0b57f5c32fc217929d71411ca5176e3cab3f6e73 Reviewed-on: https://gerrit.libreoffice.org/21457 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-19Make LibreOffice kit usable on windowsOliver Specht3-9/+20
Uses Ascii variants of LoadLibrary,Get/SetEnvironmentVariable_A_ and adds a freeError function includes windows.h instead of pre/postwin.h Change-Id: I88b7e3ed3818078efec5688e207da47dc4049b98 Reviewed-on: https://gerrit.libreoffice.org/21600 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-01-19either copy the whole thing exactly, or convert between typesCaolán McNamara1-5/+2
Change-Id: Ied1b4f81e2e851b639cc9a514659160b8571e92f
2016-01-19only use of clone is to copy, so do thatCaolán McNamara1-6/+1
Change-Id: I75cfb96e4afd69fd0f6a6716ce4be282aa8d3b14
2016-01-19drop some more stuffCaolán McNamara1-10/+0
Change-Id: I92eb6d136fc117f4694aa2cf88d93d4486855618
2016-01-19drop unused argumentCaolán McNamara1-8/+0
Change-Id: I0333f65f67cdd93f9773e6d738289e36353ef359
2016-01-19always copying to a different bitmapCaolán McNamara1-3/+0
Change-Id: I90b205bef1b01e6c4c43788fc5c95391b7842e83
2016-01-19always copying the full bitmap, not just a portion of itCaolán McNamara1-20/+3
Change-Id: Ib3e10d188c3f0d1bde40653d783f98ebfaed423c
2016-01-19sot: accept JPEG as a clipboard format where we accept PNG alreadyMiklos Vajna1-1/+2
Change-Id: I64602d31e8aa873e2280f86eaf618dd6007acaf1
2016-01-19Make enumarray_iterator adhere to iterator requirementsStephan Bergmann1-3/+7
...or else using it with GCC 6 libstdc++ std::find causes compilation failures Change-Id: I95e674922348f72fab6da8f049b2b4fcbdc74d07
2016-01-19Kill .src based Writer context menusMaxim Monastirsky3-84/+0
Change-Id: I854e2dd48b2f59b561c0d0cd3e52297046d25b96
2016-01-19tdf#88737 handle temporary array formula matrix circular referenceEike Rathke1-0/+3
This does not solve the difference in how Excel seems to handle the arguments and calculation, but some corner case. See bug comment 6. Change-Id: Ifa331e8552587c40e1486a08093ed0df92a9d245
2016-01-18devices are always top-down nowCaolán McNamara1-56/+0
and remove some more unused out of tests code Change-Id: Ie63b03d1de754038d5477112ddfc9266dbf93709
2016-01-18only using one of the drawBitmap impls nowCaolán McNamara1-30/+0
Change-Id: Ice2d2f8b565bfac6079a2d58c0d25f0352524b71
2016-01-18drop unused basebmp debug fileCaolán McNamara1-57/+0
Change-Id: I96378ef283cc94e7b9b0a9d73a43beda30028447
2016-01-18basebmp now only used from vcl/headless codeCaolán McNamara1-4/+4
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d