Commit graph

36 commits

Author SHA1 Message Date
Eike Rathke
9dd0e2aabc dr78: #i111413# new ODFF interpreter functions SEC, SECH, CSC, CSCH; patch from <regina>, slightly reworked
# HG changeset patch
# User Eike Rathke [er] <eike.rathke@oracle.com>
# Date 1291394833 -3600
# Node ID ff05fcb4fe392f8c336466982a25fdfda207515a
# Parent  4ca136c3f3c8eb330664884c2ff79e2027d8e4eb
2011-11-28 15:25:28 +01:00
Wolfgang Pechlaner
c6b49f9098 BITxxx functions according to ODF 1.2 OpenFormula
Implements BITAND, BITOR, BITXOR, BITLSHIFT and BITRSHIFT as specified by
OASIS OpenDocument Format 1.2 OpenFormula / ODFF.

Changes made by the committer:
* Original submission added the new functions to the Logical group, that group
  has only functions though that return a logical value 1/0/true/false. ODFF
  groups them under "Bit operation functions" that currently is not available
  in Calc. Added the functions to the Mathematical group instead.
* Changed descriptions of functions in the Function Wizard.
* One sal_uInt64 constant instead of several identical literal 281474976710655
  values.
* Replaced 'or' operators with ||
* Don't push two return values, if PushIllegalArgument() was used don't use
  PushDouble() thereafter.
* Treat double values with ::rtl::math::approxFloor() to obtain integer
  values.
* For BITLSHIFT and BITRSHIFT implemented a different algorithm following the
  ODFF specification that allows larger shift values.
* Use our block braces style, respectively don't use block braces for one-line
  if-statements.
* Fixed indentation levels.
* Adapted RTL_LOGFILE_CONTEXT_AUTHOR to say "pechlaner". Credit to whom credit
  is due ;-)
2011-09-07 12:27:27 +02:00
Mathias Bauer
13afa75fa7 CWS changehid: #i111784#: use mhids.pl to generate conversion list for HIDs 2010-07-19 17:13:56 +02:00
Jens-Heiner Rechtien
4cb5221199 CWS-TOOLING: integrate CWS dr74 2010-04-12 17:59:48 +02:00
Jens-Heiner Rechtien
4573ccfffd changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
Daniel Rentz
e0bff7cc71 dr74: migrate changes to hg 2010-01-15 12:00:39 +01:00
Jens-Heiner Rechtien
4453678f4d CWS-TOOLING: integrate CWS odff05
2008-12-11 04:17:37 +0100 er  r265237 : #i94555# AppendIntToken for GAMMADIST, Excel needs 4 parameters; also use AppendIntToken instead of AppendNumToken for POISSON
2008-12-11 04:04:27 +0100 er  r265236 : #i96837# make cumulative parameter of POISSON optional; patch from <lvyue> with slight modifications
2008-12-11 03:35:03 +0100 er  r265235 : #i96835# make base parameter of LOG() optional also in UI; patch from <lvyue>
2008-12-11 03:15:30 +0100 er  r265234 : #i94555# patch from <regina>, ODFF:
Add GAMMA, CHISQDIST, CHISQINV.
Make the 'cumulative' parameter of GAMMADIST optional.
Adapt the domain of CHIDIST to allow negative x.
Remove the constraint "degrees of freedom < 1.0E5" from CHIDIST and CHIINV.
Plus a mechanism to write the now optional parameter of GAMMADIST to PODF and
ODFF if omitted, for backwards compatibility.
2008-12-10 18:14:16 +0100 er  r265214 : DBG_... need semicolon
2008-12-05 00:49:55 +0100 er  r264881 : WaE unxlngi6: declaration of 'pFuncInfo' shadows a previous local
2008-12-05 00:26:05 +0100 er  r264879 : #i91547# BETADIST with optional density/cumulative parameter and much better precision; patch from <regina>
2008-12-04 22:51:40 +0100 er  r264877 : #i91602# add expm1() and log1p() replacements; based on a patch from <regina>
2008-12-01 16:07:35 +0100 dr  r264614 : #i93789# import of EUROCONVERT from XLSX/XLSB
2008-11-28 13:15:01 +0100 dr  r264543 : #i93789# new sheet function EUROCONVERT + XLS import/export, patch contributed by lvyue
2008-11-26 14:54:23 +0100 er  r264397 : CWS-TOOLING: rebase CWS odff05 to trunk@264325 (milestone: DEV300:m36)
2008-11-20 14:23:33 +0100 er  r264053 : CWS-TOOLING: rebase CWS odff05 to trunk@263288 (milestone: DEV300:m35)
2008-11-19 18:07:43 +0100 er  r264012 : merged from trunk
2008-11-19 17:51:36 +0100 er  r264011 : migrate CWS odff05 to SVN
2009-01-06 13:57:48 +00:00
Rüdiger Timm
e81428fe0f INTEGRATION: CWS changefileheader (1.28.34); FILE MERGED
2008/03/31 17:20:07 rt 1.28.34.1: #i87441# Change license header to LPGL v3.
2008-04-11 00:48:54 +00:00
Kurt Zenker
278ebd17eb INTEGRATION: CWS odff02 (1.27.30); FILE MERGED
2008/02/29 23:55:45 er 1.27.30.2: #i86514# prepare functions EUROCONVERT and NUMBERVALUE, suppressed
2008/02/29 21:13:32 er 1.27.30.1: #i86514# prepare functions UNICODE and UNICHAR, suppressed
2008-03-07 10:23:30 +00:00
Ivo Hinkelmann
bd37d6c805 INTEGRATION: CWS calcsolver (1.26.110); FILE MERGED
2007/12/14 18:48:33 nn 1.26.110.1: #i8808# solver options
2008-02-05 14:49:29 +00:00
Rüdiger Timm
359a7d6538 INTEGRATION: CWS dr54 (1.24.222); FILE MERGED
2007/06/07 12:18:59 er 1.24.222.1: #i70213# JIS and ASC spreadsheet functions, fullwidth/halfwidth katakana conversion
2007-07-03 14:57:53 +00:00
Jens-Heiner Rechtien
b7d5365068 INTEGRATION: CWS getpivotdata (1.24.182); FILE MERGED
2007/04/19 17:54:59 nn 1.24.182.1: #i45843# add function GETPIVOTDATA
2007-06-27 12:46:29 +00:00
Oliver Bolte
05a87f4011 INTEGRATION: CWS dr47 (1.23.104); FILE MERGED
2006/03/10 14:05:08 dr 1.23.104.1: #i49498# INFO function
2006-07-10 11:46:32 +00:00
Rüdiger Timm
b771ac6fca INTEGRATION: CWS dr41 (1.21.230); FILE MERGED
2005/10/05 02:03:17 dr 1.21.230.2: RESYNC: (1.21-1.22); FILE MERGED
2005/08/25 14:27:45 dr 1.21.230.1: #i42727# BAHTTEXT
2005-10-21 11:10:22 +00:00
Rüdiger Timm
861d760f6a INTEGRATION: CWS ooo19126 (1.21.242); FILE MERGED
2005/09/05 15:09:52 rt 1.21.242.1: #i54170# Change license header: remove SISSL
2005-09-08 22:15:12 +00:00
Oliver Bolte
c208447c72 INTEGRATION: CWS dr29 (1.20.126); FILE MERGED
2004/11/01 15:23:13 dr 1.20.126.1: #i36334# help ID for page field in DP Layout dialog
2004-11-18 16:04:18 +00:00
Jens-Heiner Rechtien
7281a43488 INTEGRATION: CWS grouping (1.18.6); FILE MERGED
2004/07/19 14:21:29 nn 1.18.6.2: RESYNC: (1.18-1.19); FILE MERGED
2004/07/05 17:24:07 dr 1.18.6.1: #i25110# DataPilot grouping dialogs
2004-08-03 10:38:51 +00:00
Kurt Zenker
4645142007 INTEGRATION: CWS jmarmion1 (1.18.20); FILE MERGED
2004/06/28 12:42:40 jmarmion 1.18.20.1: #i27974# - add HID_FUNC_HYPERLINK.
2004-06-28 15:54:25 +00:00
Oliver Bolte
1146ecc218 INTEGRATION: CWS fieldoptions (1.17.224); FILE MERGED
2004/05/04 16:33:46 dr 1.17.224.1: #i23447# DP data field options dialog
2004-06-04 13:15:23 +00:00
Jens-Heiner Rechtien
555d702903 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-26 17:07:02 +00:00
Niklas Nebel
629e71e960 #105887# new help ID for edit in SvxNameDialog for renaming drawing objects 2002-12-03 14:27:11 +00:00
Daniel Rentz
5f9c078bc0 #105351# HIDs for DP layout dlg 2002-11-20 07:57:29 +00:00
Daniel Rentz
02ccda8726 #101952# HID for cell overwrite warning box 2002-10-23 13:53:06 +00:00
Daniel Rentz
604d08a000 #99369# New dialog 'Select Sheets' 2002-05-22 06:23:28 +00:00
Daniel Rentz
3b339f5b62 #99040# help ids for DateFunc AddIn 2002-05-15 07:30:00 +00:00
Niklas Nebel
09c9c6fd99 #95943# added SID_RENAME_OBJECT to hidother.src 2001-12-14 10:44:19 +00:00
Niklas Nebel
cc8ee696db #95575# allow changing the name of OLE objects 2001-12-05 21:10:04 +00:00
Niklas Nebel
9ab73a22e7 #88772# own help ID for SfxURLBox in external data dialog 2001-06-27 14:06:29 +00:00
gt
de8dc4fb47 #88070# help ids for Analysis Addin functions 2001-06-12 12:27:16 +00:00
Eike Rathke
02ea5cf7df ChangeTrack password protection (disables end, accept, reject) 2001-04-25 13:05:02 +00:00
Daniel Rentz
cf2f287094 new calc function ISPMT 2001-03-13 14:38:11 +00:00
Daniel Rentz
5a5288cd3d new calc function CELL 2001-03-08 10:57:21 +00:00
Daniel Rentz
a12eecdeb7 new calc function MIRR 2001-03-05 13:58:09 +00:00
Daniel Rentz
a50cd1b3f2 new calc function ARABIC 2001-03-01 14:42:55 +00:00
Daniel Rentz
51203e7565 new calc function ROMAN 2001-02-28 15:45:43 +00:00
Jens-Heiner Rechtien
9ae5a91f79 initial import 2000-09-18 16:07:07 +00:00