Commit graph

293807 commits

Author SHA1 Message Date
Cédric Bosdonnat
59585dab4b Header/Footer: fixed the Ctrl+PgUp and Ctrl+PdDown behaviors
When in a header and hitting Ctrl+PgDown, go to the end of the page if
there is no footer in it instead of staying in the header. The same case
for footers has been fixed too.

Removed the cursor positioning hackery in ToggleHeaderFooterEdit(): this
is now handled by the caller.

Show the Header/Footer edition when hitting Ctrl+PgUp and Ctrl+PgDown
and actually landing into a header or footer.
2011-09-13 14:11:14 +02:00
Cédric Bosdonnat
c0251bf65d Header/Footer: shared code for the insertion/removal
Moved the ChangedHeaderOrFooter method from SwTextShell to SwWrtShell
for it to be accessible from the SwHeaderFooterWin objects... and that
method didn't really need to be in the root shell.

That fixed a few quirks from the copied code in SwHeaderFooterWin.
2011-09-13 14:11:04 +02:00
Cédric Bosdonnat
c900069dee Header/Footer: display improvements
Changed the following:
 + Draw a gradient in the separator tabs background
 + Draw a solid line under the dotted one to have a contrast for some page
   background colors.
2011-09-13 14:10:50 +02:00
Tomáš Chvátal
d670cdcf33 Fix quoting in create_tree so distdir can have spaces in it. 2011-09-13 12:26:13 +01:00
Caolán McNamara
e118630f22 reduce the scope a bit further 2011-09-13 11:02:00 +01:00
Andreu Correa Casablanca
935c7c0714 Reduced the scope of a variable in core/sal/osl/w32/file_dirvol.cxx 2011-09-13 11:01:59 +01:00
Stephan Bergmann
9f78448b94 Added missing dependencies on solenv back into build.lsts. 2011-09-13 11:32:12 +02:00
Caolán McNamara
a558a8da56 can remove ByteString::Convert now 2011-09-13 10:15:23 +01:00
Caolán McNamara
7a16bd69d0 not sure if this is copyable 2011-09-13 10:15:23 +01:00
Caolán McNamara
ba2ec933db make ByteString::Convert private 2011-09-13 10:15:23 +01:00
Caolán McNamara
ddf93e2c09 try better template friend class syntax 2011-09-13 10:15:22 +01:00
Caolán McNamara
1cf8e70f78 ByteString->rtl::OStringBuffer 2011-09-13 10:15:22 +01:00
Caolán McNamara
d3f4455c54 let's use scoped_ptr to avoid c++0x deprecated warnings 2011-09-13 10:15:21 +01:00
Caolán McNamara
bebbe97248 wtratree unbuilt 2011-09-13 10:15:21 +01:00
Caolán McNamara
f2306b9474 elide conversion from MS1252 to MS1252 2011-09-13 10:15:21 +01:00
Caolán McNamara
13caa83dca no route left to set encoding, only RTL_TEXTENCODING_MS_1252 is possible 2011-09-13 10:15:20 +01:00
Caolán McNamara
c216006f0a remove commented out CHARSET_ANSI foo 2011-09-13 10:15:20 +01:00
Caolán McNamara
f64dc2c9fb I believe the src charset pragma is archaic and unused 2011-09-13 10:15:20 +01:00
Caolán McNamara
3a17760c69 remove commented out archaic CHARSET_ANSI pragma 2011-09-13 10:15:19 +01:00
Andras Timar
caf8c8f423 typo fix 2011-09-13 11:08:28 +02:00
Andras Timar
89bead3e45 change publisher from Oracle to TDF fdo#40638 2011-09-13 10:48:22 +02:00
Muthu Subramanian
e8acb5c43c n#657909: Fixed import of free drawn curves. 2011-09-13 14:14:31 +05:30
Stephan Bergmann
37e5910c13 fdo#40819# Disabled failing complex.writer.CheckBookmarks test for now. 2011-09-13 10:07:09 +02:00
Stephan Bergmann
e849071acc fdo#33960#, fdo#35690#: Disabled failing checkCrossReferences tests for now. 2011-09-13 09:36:08 +02:00
Kohei Yoshida
e61010d242 Let's keep our file naming scheme consistent. 2011-09-13 00:28:16 -04:00
Kohei Yoshida
239ad92c27 We normally use an 'f' prefix for double.
I'm not a big fan of Hungarian notation, but since we use it, let's
be consistent.
2011-09-12 23:59:46 -04:00
Kohei Yoshida
a60b10593d No need to use += to initialize m_aFileRoot. 2011-09-12 23:55:06 -04:00
Kohei Yoshida
8d74cabd80 Let's do hard re-calc only when necessary.
Since doing a hard re-calc can be slow, let's not do this for all
loading test cases, but only when we are testing formula interpretations.
2011-09-12 23:44:59 -04:00
Kohei Yoshida
0544af5f11 Let's put using namespace declarations at the top. 2011-09-12 23:36:53 -04:00
Kohei Yoshida
e15718c41d It's appropriate to name this class singular.
Since each instance refers to a single file format, while its array
instance holds multiple instances of this structure.
2011-09-12 23:34:27 -04:00
Kohei Yoshida
5440aa1e37 Let's not indent in namespace scopes. 2011-09-12 23:33:31 -04:00
Kohei Yoshida
efebf5181c These don't have to be member functions. 2011-09-12 23:30:51 -04:00
Markus Mohrhard
52f56d2401 force always a full recalculation for ods, xls and xlsx in unit test
we can't assume that always all formulas are recalculated, we might used
cached results
2011-09-13 03:29:36 +02:00
Markus Mohrhard
e7cd70302c make it possible to est formula string in csv files 2011-09-13 03:29:36 +02:00
Kohei Yoshida
7a60be6e00 Move ScCheckListMenuWindow and ScMenuFloatingWindow into own files. 2011-09-12 21:14:01 -04:00
Markus Mohrhard
0bc368babc add files for bugFix tests and restructure filters-test a bit 2011-09-13 02:17:19 +02:00
Kohei Yoshida
8b309a9e15 Rename: ScDPFieldPopupWindow -> ScCheckListMenuWindow. 2011-09-12 19:40:46 -04:00
Norbert Thiebaud
726b6b12ac missed a \ in the MathDTD core review... 2011-09-12 17:53:33 -05:00
Peter Foley
4d42a519f9 convert MathMLDTD to gbuild and add to tail_build 2011-09-12 16:40:28 -05:00
Peter Foley
fcb441c468 convert xml2cmp to gbuild 2011-09-12 16:18:52 -05:00
Cédric Bosdonnat
6b6e6b8dbc Header/Footer: the whole separator tab is now a menu button 2011-09-12 22:54:11 +02:00
Cédric Bosdonnat
f189e7275d Header/Footer: forgot to remove a sequence realloc 2011-09-12 22:53:57 +02:00
Cédric Bosdonnat
053d4c9c7a Header/Footer: small painting improvements
The dashed line is now 1px wide and has smaller dashes. The separator
button has also smaller padding.
2011-09-12 22:53:43 +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
Stephan Bergmann
52b32f6175 sb140: #i114669# appears be duplicate of fixed i114718, so re-enabling test 2011-09-12 22:47:49 +02:00
Stephan Bergmann
23b04dae8b sb140: #i117698# no implementations of XIdlClassProvider remain, so code that checks for it can be removed 2011-09-12 22:47:49 +02:00
Stephan Bergmann
12e2e04977 sb140: #i117697# simplify obsolete cppuhelper/stdidlclass.hxx implementation 2011-09-12 22:47:49 +02:00
Stephan Bergmann
30ad5e9d87 sb140: #i117694# some CppUnit related cleanup 2011-09-12 22:47:48 +02:00
Stephan Bergmann
2b39501b8e fs34b: #i117545# (patch provided by mathias.bauer@oracle.com) 2011-09-12 22:47:48 +02:00
Stephan Bergmann
75b6b24ab5 sb140: #i117486# avoid XWindow.getPosSize immediately after XWindow.setPosSize 2011-09-12 22:47:48 +02:00