summaryrefslogtreecommitdiff
path: root/include/svl/int64item.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-01 12:54:43 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-01 12:57:35 -0500
commit2f527738ea4f8e93acafdd7f0ae06de1678cfdd8 (patch)
tree143da54518d79251f42435b307de6294d8a6909c /include/svl/int64item.hxx
parentd3f96d7458d74c5ec14b1a4f03f4244350cfeea6 (diff)
Set the default cell border line width to 0.75 pt in Calc.
0.75 pt provides a better interop with Excel documents. Change-Id: Ic1d2cbbe4e35dc0793a0e35d3836261d91138f7c
Diffstat (limited to 'include/svl/int64item.hxx')
-rw-r--r--include/svl/int64item.hxx56
1 files changed, 56 insertions, 0 deletions
diff --git a/include/svl/int64item.hxx b/include/svl/int64item.hxx
new file mode 100644
index 000000000000..2d6fd676417a
--- /dev/null
+++ b/include/svl/int64item.hxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_SVL_INT64ITEM_HXX
+#define INCLUDED_SVL_INT64ITEM_HXX
+
+#include <svl/poolitem.hxx>
+#include <svl/svldllapi.h>
+
+class SVL_DLLPUBLIC SfxInt64Item : public SfxPoolItem
+{
+ sal_Int64 mnValue;
+
+public:
+ SfxInt64Item( sal_uInt16 nWhich = 0, sal_Int64 nVal = 0 );
+ SfxInt64Item( sal_uInt16 nWhich, SvStream & rStream );
+ SfxInt64Item( const SfxInt64Item& rItem );
+
+ virtual ~SfxInt64Item();
+
+ virtual bool operator== ( const SfxPoolItem& rItem ) const;
+
+ virtual int Compare( const SfxPoolItem& r ) const;
+ virtual int Compare( const SfxPoolItem& r, const IntlWrapper& rIntlWrapper ) const;
+
+ virtual SfxItemPresentation GetPresentation(
+ SfxItemPresentation, SfxMapUnit, SfxMapUnit,
+ OUString& rText, const IntlWrapper* pIntlWrapper = NULL ) const;
+
+ virtual bool QueryValue(
+ com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const;
+
+ virtual bool PutValue(
+ const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 );
+
+ virtual SfxPoolItem* Create( SvStream& rStream, sal_uInt16 nItemVersion ) const;
+
+ virtual SvStream& Store( SvStream& rStream, sal_uInt16 nItemVersion ) const;
+
+ virtual SfxPoolItem* Clone( SfxItemPool* pOther = NULL ) const;
+
+ sal_Int64 GetValue() const;
+
+ void SetValue( sal_Int64 nVal );
+};
+
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */