office-gobmx/wizards/Package_scriptforge.mk
Jean-Pierre Ledure 272a90c45a ScriptForge - (SF_Region) new service in the core library
Singleton class implementing the "ScriptForge.Region" service
Implemented as a usual Basic module

A collection of functions about languages, countries and timezones
- Locales
- Currencies
- Numbers and dates formatting
- Calendars
- Timezones conversions
- Numbers transformed to text in local language

Definitions:
  Locale or Region
    A combination of a language (2 or 3 lower case characters)
    and a country (2 upper case characters)
    Most properties and methods require a locale as argument.
    Some of them accept either the complete locale or only
    the language or country parts.
  Timezone
    Specified as "Region/City" name like "Europe/Berlin",
    or a custom time zone ID such as "UTC" or "GMT-8:00".
    The time offset between the timezone and the
    Greenwich Meridian Time (GMT) is expressed in minutes.
    The Daylight Saving Time (DST) is an additional offset.
    Both offsets can be positive or negative.

Properties:
  Currency
  Language
  Country
  DatePatterns
  DateSeparator
  ThousandSeparator
  DecimalPoint
  TimeSeparator
  ListSeparator
  DayNames
  DayAbbrevNames
  DayNarrowNames
  MonthNames
  MonthAbbrevNames
  MonthNarrowNames

Methods
  UTCDateTime
  UTCNow
  LocalDateTime
  TimeZoneOffset
  DSTOffset
  Number2Text

Change-Id: Iabf31ea0e6c235e960fcca5b1e7a9d928cf8cd0f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132068
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-03-24 16:20:30 +01:00

61 lines
1.9 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_Package_Package,wizards_basicsrvscriptforge,$(SRCDIR)/wizards/source/scriptforge))
$(eval $(call gb_Package_add_files,wizards_basicsrvscriptforge,$(LIBO_SHARE_FOLDER)/basic/ScriptForge,\
SF_Array.xba \
SF_Dictionary.xba \
SF_Exception.xba \
SF_FileSystem.xba \
SF_L10N.xba \
SF_Platform.xba \
SF_PythonHelper.xba \
SF_Region.xba \
SF_Root.xba \
SF_Services.xba \
SF_Session.xba \
SF_String.xba \
SF_TextStream.xba \
SF_Timer.xba \
SF_UI.xba \
SF_Utils.xba \
_CodingConventions.xba \
_ModuleModel.xba \
__License.xba \
dialog.xlb \
dlgConsole.xdl \
dlgProgress.xdl \
script.xlb \
))
$(eval $(call gb_Package_add_files,wizards_basicsrvscriptforge,$(LIBO_SHARE_FOLDER)/Scripts/python,\
python/ScriptForgeHelper.py \
))
$(eval $(call gb_Package_add_files,wizards_basicsrvscriptforge,$(LIBO_SHARE_FOLDER)/basic/ScriptForge/po,\
po/ScriptForge.pot \
po/en.po \
po/pt.po \
))
$(eval $(call gb_Package_add_files,wizards_basicsrvscriptforge,$(LIBO_LIB_PYUNO_FOLDER),\
python/scriptforge.py \
))
# vim: set noet sw=4 ts=4: