diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-03-30 10:14:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2015-03-30 11:04:02 +0200 |
commit | 6e6f822e2be39e2ceb146c6eeed10b965ae6e0b9 (patch) | |
tree | 14659f6df04ee0188178616d659758314f72a4cd /offapi/com | |
parent | f5c178f7c8654519f984d0ef830ceca0431727a0 (diff) |
finally implement and define also date formatting
Change-Id: I261e6d3199573fc2e37d940e4249a1fce105e6eb
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/sheet/DateCondition.idl | 34 | ||||
-rw-r--r-- | offapi/com/sun/star/sheet/DateType.idl | 49 |
2 files changed, 83 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/DateCondition.idl b/offapi/com/sun/star/sheet/DateCondition.idl new file mode 100644 index 000000000000..0536b672c32b --- /dev/null +++ b/offapi/com/sun/star/sheet/DateCondition.idl @@ -0,0 +1,34 @@ +/* -*- 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 __com_sun_star_sheet_DateCondition_idl__ +#define __com_sun_star_sheet_DateCondition_idl__ + +#include <com/sun/star/sheet/XConditionEntry.idl> + +module com { module sun { module star { module sheet { + +service DateCondition +{ + interface XConditionEntry; + + [property] string StyleName; + + /** + * See com.sun.star.sheet.DateType for possible values + */ + [property] long DateType; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/sheet/DateType.idl b/offapi/com/sun/star/sheet/DateType.idl new file mode 100644 index 000000000000..9aed4a6c1eda --- /dev/null +++ b/offapi/com/sun/star/sheet/DateType.idl @@ -0,0 +1,49 @@ +/* -*- 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 __com_sun_star_sheet_DateType_idl__ +#define __com_sun_star_sheet_DateType_idl__ + +module com { module sun { module star { module sheet { + +constants DateType +{ + const long TODAY = 0; + + const long YESTERDAY = 1; + + const long TOMORROW = 2; + + const long LAST7DAYS = 3; + + const long THISWEEK = 4; + + const long LASTWEEK = 5; + + const long NEXTWEEK = 6; + + const long THISMONTH = 7; + + const long LASTMONTH = 8; + + const long NEXTMONTH = 9; + + const long THISYEAR = 10; + + const long LASTYEAR = 11; + + const long NEXTYEAR = 12; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |