Commit Graph
64 Commits
Author SHA1 Message Date
Rodolfo Ribeiro Gomes ffc2e5be1f Clean zoom redundances in Math and fix fdo#55929
Zoom can be handled by sfx2 in many ways:
- 50%, 75%, 100%, 150%, 200%
- Optimal view (fit in window)
- Entire page
- Page width

The math module was doing the first two by itself. Remove it.

Strange enough, state methods for  zoom interface definitions on
sfx2's appslots.sdi were needed. I thought 'Container' property
in sfx.sdi should do the job. It seems to do nothing, though.
(The zoom should be disabled only if the object is an OLE/Container).

The Help-Ids from pop-up menu in Math/Formula were kept, because
they doesn't exist in sfx2.

Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c
Reviewed-on: https://gerrit.libreoffice.org/4076
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-30 15:44:47 +00:00
Michael Meeks 72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Luboš Luňák 1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Luboš Luňák 531391239b remove unused variables
Change-Id: I7383100f5965578160098f11cdb99bb4e4ce57fa
2013-02-09 18:48:31 +01:00
Chr. Rossmanith e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
Caolán McNamara 8f703e108a convert the other test over as well
Change-Id: I82a68d8453b9053ac08e85e02fa011fcae852ca0
2012-11-23 17:07:54 +00:00
Caolán McNamara b3edb24103 try to fix and reenable starmath unit tests
Change-Id: I4c2a1476ea6ae12fdebb8301b68eab8060bc86f8
2012-11-23 11:51:20 +00:00
Caolán McNamara c17f51c74c The additional methods of SO2_*_REF over SV_*_REF are now unused
so they can now be replaced by SV_*_REF now

Change-Id: I2207d6582cab5f41851064f3d0c773e9421c0078
2012-11-14 10:11:32 +00:00
Stephan Bergmann ced1151a1a Get rid of vcl::unohelper::GetMultiServiceFactory
...which effectively is just a glorious wrapper around
comphelper::getProcessServiceFactory.

In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the
rSMgr parameter to InitVCL.

All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work
fine.

Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-31 09:22:53 +01:00
Ivan Timofeev 0772bfc17a fix compilation and linking of starmath cppunit tests
... but the tests still crash and are disabled.

Change-Id: I5df66f21865cac98c38d4ef3684c562784e093b9
2012-10-25 10:10:35 +04:00
Ivan Timofeev b03eab3560 String -> OUString
Change-Id: Icdb39e5b5ba38d48f5cc3a4ae371fb77cb981242
2012-10-01 16:36:48 +04:00
Michael Meeks 328e2263fb targetted re-work of cppunit pieces. 2012-06-27 19:13:11 +01:00
Tim Hardeck 6484ccb4ed move zoomitem from svx to sfx2
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.

Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15 13:38:56 +02:00
Luboš Luňák 90a91ed3e9 use string literal OUString overloads 2012-03-12 13:35:59 +01:00
Caolán McNamara 61eb66bd2d make starmath ByteString free 2012-01-23 11:37:05 +00:00
Caolán McNamara c8ef924060 normalize Red Hat, Inc. spellings, and bump to latest template 2011-12-06 21:24:37 +00:00
Norbert Thiebaud 3d6592ae19 remove include o pch header from starmath 2011-11-27 13:23:17 -06:00
Julien Nabet 02d811071c fdo #37007 Add Math symbol "There does not exist". 2011-09-17 20:38:27 +02:00
Stephan Bergmann d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Caolán McNamara 75082b5c6f enter and leave registrations to keep asserts happy 2011-06-13 14:05:42 +01:00
Caolán McNamara 454e1756a6 make this a non-leaky singleton 2011-05-23 12:35:54 +01:00
Tor Lillqvist d1fbb3c57e Drop unneeded <windows.h> which actually causes a compilation error 2011-05-15 13:28:41 +03:00
David Tardon 95357d3144 reenable unit test 2011-04-24 12:00:35 +02:00
Norbert Thiebaud 33cbc06525 use --xxx instead of -xxx for command line options 2011-03-29 14:34:03 -05:00
Francois Tigeot b8c8022b3b Temporarily disable unit tests broken on DragonFly. 2011-03-27 16:35:10 +02:00
Fridrich Štrba 927f887b92 Wholesale prewin.h/postwin.h removal 2011-03-25 19:07:43 +01:00
Caolán McNamara a84510f86d windows uses BRAND_BASE_DIR instead of OOO_BASE_DIR 2011-03-24 11:41:39 +00:00
Caolán McNamara 0562ba185b this should work in theory to use the new component registration stuff 2011-03-21 21:20:44 +00:00
Michael Meeks 5d5a1348bb attempt to make unit test function, before disabling it 2011-03-15 11:05:53 +00:00
Thomas Arnhold cf1042902a Remove whitespaces from includes 2011-02-13 22:47:24 +01:00
Fridrich Štrba a05a74ab99 Trying to remove the stlport mention from the code 2011-02-09 20:23:35 +01:00
Fridrich Štrba dd09aade5a Removing the ext_std masterpiece 2011-02-09 20:23:35 +01:00
Tor Lillqvist 4ae1f10baa prewin.h already includes <windows.h> 2011-02-09 00:59:35 +02:00
Tor Lillqvist 00ac0b3776 Adapt to move of prewin.h and postwin.h 2011-02-08 14:03:28 +02:00
Luke Dixon f11e417a89 Add some brackets back to SmNodeToTextVisitor
For SmOperNodes, I shouldn't have removed these brackets.
Add brackets around SmBinVerNodes and SmBinDiagonalNodes, removing the ones
from SmBinHorNodes and SmUnHorNodes made these ones necessary.
Add brackets when an SmExpressionNode has an SmBinHorNode child.
2011-01-29 16:30:38 +01:00
Caolán McNamara 1839b19c9c fix warning 2011-01-11 14:33:33 +00:00
Miklos Vajna 5cdf4b199a use ext_std inside CppUnit::assertion_traits struct 2010-12-29 22:54:28 +01:00
Caolán McNamara 94b3c723aa relocate this header inside guards 2010-12-24 13:40:55 +00:00
Caolán McNamara 9cd4346f88 disable the tests that may vary, depending on the systems printer 2010-12-21 21:10:57 +00:00
Caolán McNamara 524e73344a set licence text 2010-12-20 16:00:24 +00:00
Caolán McNamara 3d91eca0d2 cppcheck: always build these tests now 2010-12-20 14:44:56 +00:00
Caolán McNamara 0b9ad2ddff cppunit: make sure to regenerate .rdb if makefile changes 2010-12-20 13:42:20 +00:00
Caolán McNamara a60eb8b2e1 make buildable under windows 2010-12-20 12:37:32 +00:00
Caolán McNamara 3f347fefc5 The change from List to vector changes order of error messages
Which IMO is probably a good thing as the first error is now
at the start, and the last at the end. Which is way more sane,
so change test rather than change code.
2010-12-20 12:37:04 +00:00
Luke Dixon d80b166d6a Put brackets around binoms in SmNodeToTextVisitor, with test 2010-12-19 17:15:55 +01:00
Caolán McNamara c64ac5f980 cppunit: equivalent cppunit test for ViewShowAll 2010-12-10 12:32:16 +00:00
Caolán McNamara 11af030d9b cppunit: more zoom tests with standard view mode 2010-12-08 14:40:10 +00:00
Caolán McNamara d69e5470ac setUp and tearDown are called on *every* test 2010-12-07 15:42:38 +00:00
Caolán McNamara 7841924821 cppunit: test zoom limits 2010-12-07 11:17:24 +00:00