Commit graph

299439 commits

Author SHA1 Message Date
Eike Rathke
ee660ba9b7 added DateAcceptancePattern element 2012-01-11 13:18:47 +01:00
Eike Rathke
b759584735 implemented date acceptance patterns API 2012-01-11 13:18:47 +01:00
Eike Rathke
67edfdce61 made [es-BO] DateSeparator the '/' that is used in FormatCode 2012-01-11 13:18:47 +01:00
Eike Rathke
899fe10b72 made [tr-TR] use the defined '.' DateSeparator in FormatCode 2012-01-11 13:18:46 +01:00
Eike Rathke
ed58823522 made [ko-KR] DateSeparator the '/' that is used in FormatCode 2012-01-11 13:18:46 +01:00
Eike Rathke
5c81423cc0 made [ku-TR] DateSeparator the '/' that is used in FormatCode
though I strongly doubt the entire US-centric approach ...
2012-01-11 13:18:46 +01:00
Eike Rathke
8b7354217d added date acceptance patterns API 2012-01-11 13:18:46 +01:00
Eike Rathke
f6c465e355 lower date acceptance with only two numbers 2012-01-11 13:18:45 +01:00
Eike Rathke
8298a4741d strict date recognition using locale's separator and ISO 8601
- Removed separators '-', '.' and '/' working in all combinations in all
  locales forcing a date even for 23/12.99 (if locale has DMY order)
* Only the locale's date separator is accepted, plus '-' if the input may
  represent an ISO 8601 date yyyy-mm-dd, check is lax though on minimum
  digits, y-m-d is also accepted.
* Additionally, accept yy-month-dd or dd-month-yy with month name. Year must
  be <1 or >31, 2-digit year magic for values 0,32..99 is applied, or has to
  be prefixed with leading zero.
2012-01-11 13:18:45 +01:00
Eike Rathke
958cdbdcf5 accept and display years < 100
+ Years < 100 without being hit by the 2 digits year magic can be entered by
  preceding them with a leading 0 if at least 3 digits are present, e.g.
  099-1-1 is year 99, not 1999.
+ Years < 100 in an yyyy format are always displayed as 0099.
2012-01-11 13:18:45 +01:00
Andras Timar
8ca1557b85 enlarge 'Reset' button for German translation 2012-01-11 12:53:11 +01:00
Tor Lillqvist
11c9125c28 Work around http://code.google.com/p/android/issues/detail?id=23351 2012-01-11 13:48:55 +02:00
Stephan Bergmann
0e4b362690 ScGlobal::GetAutoFormat not always required to create fresh instance.
...at least in ~ScAutoFormatObj it appears unnecessary and can lead to
crashes during Desktop::DeregisterServices (when ScGlobal::ppRscString
is already null and ScAutoFormat ctor calls ScGlobal::GetRscString).

Therefore split GetAutoFormat in two, GetOrCreateAutoFormat for cases
that probably need a non-null return and GetAutoFormat for those that
are OK with a null return.
2012-01-11 11:08:02 +01:00
Muthu Subramanian
5c4d1b05fa n#734734: Text rotation fixes.
PPTX would need rotation of text _inside_ text/object
boundaries, rather than the rotation of the text/object itself.
2012-01-11 15:24:27 +05:30
Jan Holesovsky
ee24a236e1 Revert "OS_FOR_BUILD is not right do decide Host module name"
This reverts commit 39cfc4d8ad.

This OS_FOR_BUILD is to modify behavior in the cross-compilation case.
2012-01-11 09:37:09 +01:00
Stephan Bergmann
d506bc43f6 Hide bogus "Untitled already exists" errors...
...when adding multiple new template regions in a row in
SfxOrganizeDlg_Impl.
2012-01-11 08:18:46 +01:00
Stephan Bergmann
4a8e458b45 fdo#43532 Partial revert of "...template names appear... correct word order"
Sorting the sfx2-based list boxes does not work as SfxDocumentTemplates uses a
different collating order (plain Unicode code points) than the list boxes, so
that e.g. "en-US" comes last in SfxDocumentTemplates but not in the list boxes.
Even with that fixed, insertions into SfxOrganizeDlg_Impl would still not work
right.

This reverts the sfx2 parts of commits 50b7733fa4
and df59068902.
2012-01-11 08:18:45 +01:00
David Tardon
9dec6475aa fix for gcc 4.7/C++11: these are not string literal operators 2012-01-11 07:49:53 +01:00
David Tardon
0669fdb487 fix for gcc 4.7/C++11: this is not string literal operator 2012-01-11 07:49:53 +01:00
August Sodora
5a180fd905 Fix MacOSX build 2012-01-11 00:15:51 -05:00
August Sodora
1681ee65f6 SvStringsDtor->std::vector 2012-01-10 23:56:29 -05:00
August Sodora
d5e1963080 Remove unnecessary forward declarations 2012-01-10 23:56:28 -05:00
Norbert
39cfc4d8ad OS_FOR_BUILD is not right do decide Host module name 2012-01-10 22:28:43 -06:00
August Sodora
bcb9ddaa7e Remove _SVSTDARR_STRINGSISORTDTOR 2012-01-10 23:18:14 -05:00
August Sodora
2f9231f320 These can be static 2012-01-10 23:18:14 -05:00
August Sodora
9ee49871a8 Remove unused table declaration 2012-01-10 23:18:14 -05:00
Kohei Yoshida
9b853ee450 fdo#44147: Sheet 0 is selected by default.
ScViewData's default ctor sets current sheet to 0, but its selected
sheet data didn't have it selected which meant that the two data
were out-of-sync when created.  This affected entering data into cell
when the sheet was embedded (because no sheet was "selected").  In
reality at least one sheet is selected at all times.

The above bug was present before, but was masked by a hack in ScTabView
which always selected sheet 0 when activated.  I removed that because
it was interfering with syncing the sheet selection data before and
after print preview.  And removing that hack exposed this.

This commit is the right fix.
2012-01-10 22:32:54 -05:00
Olivier Hallot
e24a27b4cc Fix for fdo43460 Part XXXIII getLength() to isEmpty()
Part XXXIII
Modules
sfx2
2012-01-10 23:39:13 -02:00
Olivier Hallot
f19d269ab4 Fix for fdo43460 Part XXXII getLength() to isEmpty()
Part XXXII
Modules
sdext
2012-01-10 23:08:01 -02:00
Olivier Hallot
db08c1ac5e Fix for fdo43460 Part XXXI getLength() to isEmpty()
Part XXXI
Modules
sd
2012-01-10 23:08:01 -02:00
Olivier Hallot
5e7d38fe5b Fix for bug fdo#44110, New Math symbols issues in Windows
This patch fixes the rendering issues in Windows for the new Math symbols for game theory.
The precsim and succsim symbols were truncated. They have been shifted upward.

File OpenSymbol.sfd with only the characters touched (at the end of the file)
File opens____.ttf generated from OpenSymbol.sfd (fontforge)
2012-01-10 23:08:01 -02:00
Miklos Vajna
b5d9e500ed microopt, avoid unnecessary call to Tell() 2012-01-11 02:06:35 +01:00
Miklos Vajna
92c7b6733e fdo#38057 implement RTF import progressbar 2012-01-11 01:53:18 +01:00
Christian Lohmaier
7cee57f336 ups, that part should not have been committed.
cross-compiling is broken currently when using separate nss
2012-01-11 00:46:31 +01:00
Christian Lohmaier
abb1bcf7bf fix build on Mac - use SDK, map loader_path for nss-libs, remove HH cruft 2012-01-11 00:44:08 +01:00
Thorsten Behrens
122cb4ff9c Fix fdo#43820 - properly initialize iterators before math. 2012-01-11 00:08:01 +01:00
Norbert Thiebaud
c48bac1968 cosmetic: clean-up tab/space mix. 2012-01-10 16:11:20 -06:00
Takeshi Abe
9a2472d492 fdo#44616: drop attributes FRAME and RULES of <table> for HTML 3.2
This fixes fdo#44616.
HTML 3.2 does not have these attributes:
http://www.w3.org/TR/REC-html32
2012-01-10 16:35:33 -05:00
Michael Stahl
0e898354fc sw: SwNavigationMgr: don't store SwPositions
Using SwPosition to store the history is an awful ideal as that isn't
corrected when the node it points to is deleted, which could cause
crashes when the user then wants to jump there.
SwUnoCrsr looks like a better fit as it is automatically corrected.
2012-01-10 22:07:29 +01:00
Michael Stahl
e9624f00e1 sw: SwNavigationMgr: style cleanup 2012-01-10 21:29:12 +01:00
Michael Stahl
b75ac42a1d Repository.mk: some special executable names on WNT 2012-01-10 21:01:19 +01:00
Kohei Yoshida
8422e18b01 fdo#42624: Do the same for BIFF5 and earlier. 2012-01-10 14:48:32 -05:00
Kohei Yoshida
d041d14692 fdo#42624: Defer formula token conversion for defined names (xls import).
This is necessary for handling names that cross-reference each other.
2012-01-10 14:29:23 -05:00
David Tardon
e9419b9468 list source files explicitly 2012-01-10 19:53:39 +01:00
David Tardon
1c37e96ae9 list source files explicitly 2012-01-10 19:53:39 +01:00
Matúš Kukan
9af656af19 pathutils-obj is in static library ooopathutils 2012-01-10 18:31:32 +01:00
Tor Lillqvist
92ac10d4ec Apparently need more (all?) methods 2012-01-10 19:27:40 +02:00
Tor Lillqvist
5ed6f94688 Avoid CUPS on Android 2012-01-10 19:27:38 +02:00
Tor Lillqvist
a24a1701d0 Rename weird "NetPath" term to the more descriptive "InstallationRootPath" 2012-01-10 19:27:37 +02:00
Tor Lillqvist
9d0c50e81b Add a couple more methods 2012-01-10 19:27:36 +02:00