summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-04-10It's "its", not "it's"Tor Lillqvist
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10DownLoad -> Download.Jan Holesovsky
Change-Id: Ia1729f570cc80a0375532da6478de9d58518556e
2014-04-10Kill the ImplSVGDIData::mbNoXORClipping flagTor Lillqvist
Instead, act as if it was true on all platforms. Don't do XOR clipping on any platform. Simpler code is better code, and XOR tricks are generally very much out of fashion these days, I have been told. Didn't seem to have any visible ill effects on Linux at least. Change-Id: I6192006c77a4a81363ec7b3292f72d512d5e9b53 Reviewed-on: https://gerrit.libreoffice.org/8901 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-10Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: Ic720aa7b30bbe56d67e0b65f3e047ad3ae521a97
2014-04-10callcatcher: update unused codeCaolán McNamara
OAuth2Handler is from libcmis Change-Id: Ia1986d6df7ab45580c66b4e536c5882af41f357f
2014-04-10Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: I9d6e9df0b686c61597aaa0e194ab321445671a20
2014-04-10Remove unnecessary bound-box parameter from clipping functionsChris Sherlock
The bounding rectangle actually comes from the polygon. Therefore, it's not needed. Removed from the following functions in OutputDevice, et al + ClipAndDrawGradient + XORClipAndDrawGradient + ClipAndDrawGradientMetafile Change-Id: I4a87edcddb8895871982f0448854e1c0854124bc
2014-04-09Remove unused codeStephan Bergmann
Change-Id: Ifaab2aecec65ec6e81056e5fca430df8ca3af908
2014-04-08Make it compile for iOS and maybe Android, tooTor Lillqvist
Don't include X11 headers where there is no X. Include a copy of gluCheckExtension as there is no glu on either iOS nor Android. Change-Id: Idf387a4eda5a8410d1511d6e0db78c0742af5a99
2014-04-08coverity#708210 Uninitialized scalar fieldCaolán McNamara
Change-Id: I9bf4182d4c6e7a61b057f3541cc4c2a4b0316edd
2014-04-08fdo#43157 [API CHANGE] Remove deprecated _OSL_GLOBALMichaël Lefèvre
Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Conflicts: include/osl/diagnose.h Change-Id: Ie2e6b7a8546318bdd8b81261bef46bf92c0c125f
2014-04-08WaE: implicit conversion of literal of type 'int' to 'bool'Tor Lillqvist
Change-Id: Ibab8e9e29886cdffce1cd1480f7c5d421537b2bb
2014-04-08fdo76591:-Textbox property (order-> send behind text) is not preserved.Sourav
Z-Index was not handledin LO for vml. I have made the changes to handle that using aGrabBag. Change-Id: I2af3b2974c8eb699bc6a7b743dc438584d6517ac Reviewed-on: https://gerrit.libreoffice.org/8833 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-08coverity#708193 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ibf9f267acf3bef7aa0ce34660664f095453f4b82
2014-04-08coverity#708197 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ied5ed708b60fe63288ca2ef1b50a7091dd7dbd2e
2014-04-08coverity#708202 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie73377009a2aefd4ec18adafc61e56076b8c3c9a
2014-04-08use TriState instead of sal_Bool as there's three possibilitiesCaolán McNamara
Change-Id: If24d4cec9ef4369f20419fe70de7392614a35316
2014-04-08fdo#77123: Add option ignore kashida to the searchFaisal M. Al-Otaibi
This patch will add new checkbox to ignore kashida in the search and replace dialog. Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-08WaE: unknown log area 'chart2.barchart3D'Tor Lillqvist
Change-Id: I6f4ed9a816c13d35b92059c68132d90fe532b321
2014-04-08WaE: unknown log area 'svx.opengl'Tor Lillqvist
Change-Id: Ib7b19a53fe6b523b302276d5123c070eb46a4737
2014-04-08WaE: overriding virtual function declaration not marked 'override'Tor Lillqvist
Change-Id: Ib4693d28657cb8d33f41184696cf83c4e55ad0d7
2014-04-08temporarily render to a fileMarkus Mohrhard
Change-Id: Ibfc8101f261489bf11f990ea3fe6ae2e74b99df9
2014-04-08improve the code for temporary OpenGl contextMarkus Mohrhard
Change-Id: Ia66bf54539e67066a56bb50fb606e50e581bee73
2014-04-08initial work on allowing to resize the OpenGL objectMarkus Mohrhard
Change-Id: I29799522d32e31b4ffbba9d931fda352ee080e2d
2014-04-08move the OpenGLContext to the model objectMarkus Mohrhard
In the next step we need to initialize it again but in the ViewContact it gets destroyed several times which is a problem. Change-Id: I3efe4311bfb279b7407eabd0dd673f33603d8e9b
2014-04-08fix crash when passing external Window to OpenGLContext::initMarkus Mohrhard
The external window is not controlled by OpenGLContext so it is not allowed to delete the window Change-Id: Id2c79a3612cc875fd94b8cd1206b30af2f185875
2014-04-08prevent initializing the OpenGL context multiple timesMarkus Mohrhard
Change-Id: I2ebdbcd51938bc1dc61693ac392eed5d5e497a8d
2014-04-08Revert "Remove opengl usage from svx until we can't solve building problems"Markus Mohrhard
This reverts commit 10be411f33c69db83cc5de410eaddf2d297608ae.
2014-04-08Remove unnecessary ImplDrawMask function in OutputDeviceChris Sherlock
Every DrawMask variant calls on a final DrawMask - we duplicate code and there is an unnecessary private ImplDrawMask function in OutputDevice. We should just forward calls to DrawMask. Change-Id: Ice24598e3a437ca51a047f6006acc5a66198ff22
2014-04-07fdo#75741: Re-implement CompileNameFormula for formula groups.Kohei Yoshida
Change-Id: I57e1e464ac5f7abc10ce5ea5752e036ddb6cf6d7
2014-04-07Bin empty @seealso, @param, @return etc metacommentsTor Lillqvist
Change-Id: I1590c20c4080578f5b528f4d6d43749e4e939fde
2014-04-07Remove silly PUT_SEMICOLON_AT_THE_ENDStephan Bergmann
...and rather live with macro calls not terminated by semicolons until those macros are gone for good anyway. Completely remove unused DECLARE_UNO3_XCOMPONENT_DEFAULTS. Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd
2014-04-07Move functions back out of OutputDevice so they aren't exportedChris Sherlock
Moved DoesActionHandleTransparency and IsTransparentAction back to being ocal functions in an anonymous namespace so they aren't exported. Change-Id: Ic8335155c1a32035b02caacb29821bbd26197e49
2014-04-07Rename .doc SPRM IDs to match current MS specsLuke Deller
I understand that Libreoffice's names for SPRM IDs come from old documentation for WW8 (Word '97), plus some later additions named by OpenOffice developers as they encountered newer SPRMs in the wild. Meanwhile Microsoft has released newer documentation which supplies names for these previously undocumented SPRMs, plus it renames some WW8 properties to have the suffix "80" to make room for newer versions of those properties. This commit aims to bring LibreOffice's SPRM ID names in line with the current file format specification from Microsoft. http://msdn.microsoft.com/en-us/library/dd923581.aspx Change-Id: I904c1db17a776e2d9e6076f87369160e3b80f2e4 Reviewed-on: https://gerrit.libreoffice.org/8884 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-07Bring static functions into OutputDevice as private functionsChris Sherlock
Also rename them to something saner. ImplIsActionSpecial in particular is not a particularly useful function name, so updating this for clarity. Functions renamed: + ImplIsActionHandlingTransparency() -> DoesActionHandleTransparency() + ImplIsActionSpecial() -> IsTransparentAction() I've also updated some of the comments to clarify. Change-Id: I6c9d0c33d96ce40af2c877b52da66de17ed8ce78
2014-04-07untangle the bFmt == 2 hackCaolán McNamara
Firstly, IsFormat is unused so there's no "escape" of bFmt back into the outside world. Then bFmt has two purposes. Purpose 1 is 'not be a format dialog, be a format dialog, be a format dialog but hide standard button' so, lets just add an explicit "Hide standard button" method and call it in the (apparently) one place where it's necessary. Purpose 2 is to flag that "BaseFmtHdl" was called from clicking the "Standard" button at which point its set to 2. SfxTabDialog::Init_Impl had... " // bFmt = temporary Flag passed on in the Constructor(), // if bFmt == 2, then also sal_True, // additional suppression of the standard button, // after the Initializing set to sal_True again if ( bFmtFlag != 2 ) m_pBaseFmtBtn->Show(); else bFmtFlag = sal_True; " but the variable acted on is bFmtFlag a copy of bFmt, and is never read again after that line, so setting it to sal_True is meaningless. The comment suggests that the intent is to reset bFmt to true if it was 2 during initialization, which fits with the later use of bFmt == 2 to indicate that the standard button was clicked, i.e. reset bFmt back to its standard value. So make bFmt a simple toggle of dialog as a format dialog or not, add a way to remove the standard button and add a second variable to indicate the standard button got pressed. Change-Id: I98a441f5f314845abe243e05b6d92fd71d7b0b04
2014-04-07sfx2: sal_Bool->boolNoel Grandin
Change-Id: I48ae51781f64e60deb0c03352087100729c8c3cd
2014-04-07Replace SV_DECL/IMPL_REF macros with SvRef templateStephan Bergmann
Change-Id: I0ef2e67f6d61e0ce118c0f5e926b8194ef9d8058
2014-04-07coverity#706548 Uncaught exceptionCaolán McNamara
Change-Id: Ie3be6d503b50cfa86be8fff162d01a72c6b47bf7
2014-04-07Refactored OutputDevice::DrawGradientChris Sherlock
There are two version of OutputDevice::DrawGradient(). They both have common code, I have moved this into their own private functions to allow for code reuse. The first function checks to see if the drawing mode is DRAWMODE_BLACKGRADIENT, DRAWMODE_WHITEGRADIENT or DRAWMODE_SETTINGSGRADIENT (for Window background color) - this just sets the color to black (for XOR operations), white (mainly used for printing) or the background color of a Window (not sure what this is used for!). The second function sets grayscale start and end colors. Change-Id: Idaa85c3b5cfbd8a211fd7b0714eeb8e5b9e9e434 Reviewed-on: https://gerrit.libreoffice.org/8880 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-07Unroll sole use of SV_IMPL/DECL_LOCKStephan Bergmann
Change-Id: I0d4691f700a415d0376e2bc346bc51fbf6a000b2
2014-04-06Change newly introduced Clip* functions to ClipAndDrawChris Sherlock
A number of new clipping functions have been introduced, but to make it more clear as to their purpose they have been renamed. They are: + ClipGradientToBounds -> ClipAndDrawGradientToBounds + ClipGradient -> ClipAndDrawGradient + XORClipGradient -> XORClipAndDrawGradient + ClipGradientMetafile -> ClipAndDrawGradientMetafile Change-Id: I2448a62d0473501a8d2613e685ee909cb6df7708 Reviewed-on: https://gerrit.libreoffice.org/8878 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-06fdo#74702 Refactor gradient clipping functionsChris Sherlock
There are two gradient clipping functions: one uses a normal intersection to get the symmetric difference to clip the gradient - this is used by OS X and when printing. The other uses XOR clipping, which is an elegant trick to implement complex clipping on graphics systems that have minimal capabilities. cf. http://www.openoffice.org/marketing/ooocon2008/programme/wednesday_1401.pdf Change-Id: Iab16258c8e758c41a29337525927ba780329e887 Reviewed-on: https://gerrit.libreoffice.org/8873 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2014-04-06WaE: passing OString by value, rather pass by referenceTor Lillqvist
Change-Id: I41a318b8376ae3e68701ffe6ebc745bdbec62dc8
2014-04-06Add HtmlWriterHelper to svtools.Tomaž Vajngerl
Change-Id: I4d96402cc0fa86d83fe0ade314b84bff86d7db97
2014-04-06HtmlWriter: add prettyPrint option, instance variablesTomaž Vajngerl
Change-Id: I6a29e91cc2f328ccbd01b617b39dc9275332d1f0
2014-04-06svtools: HtmlWriter - for writing HTML structure to a streamTomaž Vajngerl
HtmlWriter is used to write the structure of a HTML document to a stream. The goal is to abstract the messy construction of strings when writing attributes of a html element and other HTML specifics needed when structuring a HTML document. Change-Id: Ibdf42914e43ef02f16a43e4230575ed7340e68d8
2014-04-06Typo: s/ouer/ourTor Lillqvist
Change-Id: I0179678c6c5dd6a05b1d7d5038a901e7bf2af3de
2014-04-06Bin copy-pasta comments of low informative valueTor Lillqvist
Change-Id: Ib9ddc516636d2150101c40ee3f249c7511bcb375
2014-04-06Bin empty @seealso, @param, @return etc metacommentsTor Lillqvist
Change-Id: I9582afceb5daf5993bfca1445370d8a60030c3c5