summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-12-19 12:15:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-12-19 12:15:38 +0000
commit8d03b45995f84d5cb479c948d2af1359e8d09f42 (patch)
tree6175fb085d312f7ec48a69263fcdce63e148cc57 /sc/inc
parent43fc559e596fcb9e7ab361afc67a7200f74e49eb (diff)
INTEGRATION: CWS dr51 (1.6.302); FILE MERGED
2006/11/02 19:59:40 er 1.6.302.1: #i70041# add missing arguments support for most obvious functions of Xcl imported files while writing the correct default parameters to OOoXML's plain old formula
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/tokenarray.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 15d36a1b4b82..a984c406d22d 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tokenarray.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 18:01:25 $
+ * last change: $Author: ihi $ $Date: 2006-12-19 13:15:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -232,6 +232,14 @@ public:
void ReadjustRelative3DReferences(
const ScAddress& rOldPos,
const ScAddress& rNewPos );
+
+ /** Determines if this formula needs any changes to convert it to something
+ previous versions of OOo could consume (Plain Old Formula). */
+ bool NeedsPofRewrite();
+
+ /** Rewrites to Plain Old Formula, substituting missing parameters. The
+ ScTokenArray* returned is new'ed. */
+ ScTokenArray* RewriteMissingToPof();
};
inline OpCode ScTokenArray::GetOuterFuncOpCode()