Commit graph

296869 commits

Author SHA1 Message Date
Markus Mohrhard
b1097c4769 ManageNames: add undo to Define Names dialog 2011-11-23 06:25:33 +01:00
Markus Mohrhard
106f128f35 ManageNames: make global undo work again with dialog 2011-11-23 06:25:33 +01:00
Markus Mohrhard
26c86c78c5 ManageNames: make modify button obsolete 2011-11-23 06:25:33 +01:00
Markus Mohrhard
42bb6baae4 ManageNames: make Multiselection work in the table 2011-11-23 06:25:32 +01:00
Markus Mohrhard
b5a509e217 ManageNames: improve layout of ManageNames dialog 2011-11-23 06:25:32 +01:00
Markus Mohrhard
ce26c58c7f ManageNames: Paste names, initial layout without table 2011-11-23 06:25:32 +01:00
Markus Mohrhard
7f7c90861d ManageNames: make formula input box work correctly 2011-11-23 06:25:32 +01:00
Markus Mohrhard
b3d22ae4ca ManageNames: make Define Name dialog work again 2011-11-23 06:25:32 +01:00
Markus Mohrhard
1e6ad2af4b ManageNames: restructure the code
move namepast.cxx to namedlg
namedefdlg is "modeless"(only in technical sense) and needs to be in sc
while namepast is modal and needs to be in scui
move the table implementation to an own file, we can reuse it for
namepast.cxx
2011-11-23 06:25:31 +01:00
Markus Mohrhard
3224ddaf1a Rename Database Ranges to Database ranges as wished by UX 2011-11-23 06:25:31 +01:00
Markus Mohrhard
411d95598f Manage Names: add most logic to Define Name dialog
missing are:
-undo
-range options
-help
-test for correct expression is not working
2011-11-23 06:25:31 +01:00
Markus Mohrhard
7f8deb4f90 ManageNames: improve AddNames UI, no logic yet 2011-11-23 06:25:31 +01:00
Markus Mohrhard
8fd3c3ac9e ManageNames: add menu and dialog for Add Name 2011-11-23 06:25:31 +01:00
Markus Mohrhard
668a71065f ManageNames: clean ScNameDlg even more 2011-11-23 06:25:31 +01:00
Markus Mohrhard
24f63256f4 ManageNames: remove no longer needed undo stack
the new concept does not have an dialog local undo stack, instead we use
the global undo stack
2011-11-23 06:25:30 +01:00
Markus Mohrhard
39d15735fb ManageNames: clean up ui for new concept 2011-11-23 06:25:30 +01:00
Kohei Yoshida
a725d287a2 Unit test for cell function T with external references. 2011-11-22 22:32:05 -05:00
Kohei Yoshida
f7831ed5ca We should clear the cache of external doc when breaking its linkage. 2011-11-22 21:23:42 -05:00
Jan Holesovsky
6b74943cc6 Using #if etc. inside OSL_TRACE is not a good idea, breaks Windows. 2011-11-22 21:57:46 +01:00
Stephan Bergmann
2be37f241f Clean up after component passivation. 2011-11-22 21:56:07 +01:00
Kohei Yoshida
e9d5629a52 fdo#40726: Handle external references with cell function T. 2011-11-22 15:52:41 -05:00
Stephan Bergmann
f055e0e361 Upon startup, do not unnecesarily instantiate component service factories.
Discovered by Michael Meeks <michael.meeks@suse.com>.
2011-11-22 21:22:24 +01:00
Kohei Yoshida
264e503468 fdo#43154: Fixed incorrectly query validation.
It was due to a simple mis-placement of an operator.  No idea how
the compiler may have parsed that statement...
2011-11-22 14:58:53 -05:00
Miklos Vajna
543d3bf035 writerfilter: add a README explaining subdirs 2011-11-22 20:54:00 +01:00
Stephan Bergmann
8376779842 Do passive registration of reportbuilder, to avoid java thrash at 1st start 2011-11-22 18:20:19 +00:00
Andras Timar
eb339bf18c remove (empty) help of Presentation Minimizer fdo#39306 2011-11-22 19:15:51 +01:00
Takeshi Abe
e2de4357f5 catch by const reference 2011-11-23 02:21:44 +09:00
Kohei Yoshida
799c944cc1 fdo#40304: Check if BOUNDSHEET points to valid BOF record.
Some (presumably Russian) 3rd party programs generate invalid xls docs
that have BOUNDSHEET record pointing to invalid BOF record position.
The real BOF position may be before or after the record pointed to by
the BOUNDSHEET.

So, let's check if the BOUNDSHEET points to a valid BOF, and if not,
manually search for one from the BOUNDSHEET record position.
2011-11-22 12:15:24 -05:00
Noel Power
319d8be9da tweak experimental gsoc multiline input bar, better resizing, enable scroll 2011-11-22 16:24:12 +00:00
Stephan Bergmann
d6a8934eeb Remove no longer necessary "(void) x; // avoid warnings". 2011-11-22 17:03:12 +01:00
Daniel Di Marco
33a8ac0750 remove NfShCurrencyEntries and NfShCurrencyEntryPtr types 2011-11-22 16:59:16 +01:00
Cédric Bosdonnat
98f32b2b8e RTF import: better implement \trrh to import fixed height rows 2011-11-22 15:17:05 +01:00
Cédric Bosdonnat
b03fbe13f3 writerfilter: Fixed crasher when importing docx files with dbglevel>1 2011-11-22 15:17:05 +01:00
Cédric Bosdonnat
07b5fe3b8c n#417818: empty paragraphs in tables weren't considered in the table.
The paragraph properties weren't propagated to the empty paragraphs in
the tables. Called checkNeedPap() to do that job when finding \par.
2011-11-22 15:17:04 +01:00
Eike Rathke
d66a2c4525 scan genitive and partitive month names only if they differ 2011-11-22 14:52:41 +01:00
Eike Rathke
3b5ee26d2c added partitive case month names
* Locale data:
  * nominative (nouns) month names always given in <MonthsOfYear>
    element
  * optional genitive case month names in <GenitiveMonths> element,
    following the <MonthsOfYear> element; if not given take nominative
    names
  * optional partitive case month names in <PartitiveMonths> element,
    following the <GenitiveMonths> element, or following the
    <MonthsOfYear> element if the <GenitiveMonths> element is not
    present; if not given take genitive case names, or nominative if
    genitive names aren't defined
    * currently known partitive case matters in Finnish locales

* Rules for use of nominative / genitive / partitive case month names in
  number formatter:
  * no day of month (D or DD) present in format code => MMM or MMMM
    display nominative month name (noun)
  * day of month (D or DD) after MMM or MMMM => genitive name
    * no genitive names defined => nominative names
  * day of month (D or DD) before MMM or MMMM => partitive name
    * no partitive names defined => genitive names
      * no genitive names defined => nominative names
2011-11-22 14:52:41 +01:00
Andras Timar
734bfe16bd remove unused FOR_WIN_X define 2011-11-22 14:17:23 +01:00
Andras Timar
018b48d361 fix VERSIONINFO section of win32 executables fdo#30798 2011-11-22 14:17:23 +01:00
Caolán McNamara
4a06a42de4 want to match here, not check for equality 2011-11-22 12:50:14 +00:00
Caolán McNamara
5317e0501f WaE: unused variable, and catch by const 2011-11-22 12:46:43 +00:00
Caolán McNamara
ed7c80d335 these can be const 2011-11-22 12:46:43 +00:00
Caolán McNamara
3679b76517 callcatcher: remove various unused MultiAtomProvider methods 2011-11-22 12:46:43 +00:00
Caolán McNamara
2f0914e5f2 ByteString->rtl::OString 2011-11-22 12:46:42 +00:00
Caolán McNamara
32a0646ba6 simply tabdialog, remove unused resetbutton api 2011-11-22 12:46:42 +00:00
Stephan Bergmann
981470b240 Base SAL_INFO/WARN inclusion on if instead of #if.
So that variables only used within SAL_INFO/WARN do not lead to
unused variable warnings in product builds.  Also for OSL_TRACE
(which used to work that way before already); allowing to revert
a recent warning fix.
2011-11-22 13:24:27 +01:00
Stephan Bergmann
5de43a57cd Avoid rtl::OString::copy(getLength() + 1). 2011-11-22 12:15:39 +01:00
Stephan Bergmann
28bb26279e Avoid unused variable warning. 2011-11-22 12:10:02 +01:00
Stephan Bergmann
171855c21e rtlbootstrap.mk.cxx needs to be a C++ file (including C++ macros.hxx). 2011-11-22 11:01:06 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Kohei Yoshida
f297224267 i#115255: Skip invalid record(s) where BOF is expected.
Some 3rd party (Russian?) programs generate broken xls docs which
cause Calc to hang when it tries to open it.  This particular doc
placed invalid record at position indicated by BOUNDSHEET, where BOF
was expected.  Let's skip those invalid records.
2011-11-22 01:06:44 -05:00