78db0dcfb6
The SFWidgets library is intended to host the Toolbar, ToolbarControl (both future) and PopupMenu services. A popup menu is usually triggered by a mouse action (typically a right-click) on a dialog, a form, or one of their controls. In these cases the menu will be displayed below the clicked area. When triggered by other events, including in the normal flow of a user script, the script should provide the coordinates of the topleft edge of the menu versus the actual component. The menu is described from top to bottom with next methods: AddItem() AddCheckBox() AddRadioButton() Example: .AddCheckBox("View>Toolbars>Dialog") .AddCheckBox("View>Toolbars>Find", Status := True) .AddCheckBox("View>Status Bar", Status := True) .AddItem("View>Full Screen", Name := "FULLSCREEN") The SubmenuCharacter (Default = ">") is modifiable. Each menu item receives a numeric and a string identifier. The execute() method returns the item selected by the user. The service is available both from Basic and Python user scripts. The commit includes the review of build files to include the new library and the new modules. Change-Id: I2940be25313cc8fff7b337766edd348b04a20584 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123654 Tested-by: Jean-Pierre Ledure <jp@ledure.be> Tested-by: Jenkins Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
65 lines
1.7 KiB
Makefile
65 lines
1.7 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_Module_Module,wizards))
|
|
|
|
$(eval $(call gb_Module_add_targets,wizards,\
|
|
CustomTarget_share \
|
|
CustomTarget_wizards \
|
|
Package_access2base \
|
|
Package_depot \
|
|
Package_euro \
|
|
Package_form \
|
|
Package_gimmicks \
|
|
Package_import \
|
|
Package_share \
|
|
Package_scriptforge \
|
|
Package_sfdatabases \
|
|
Package_sfdialogs \
|
|
Package_sfdocuments \
|
|
Package_sfwidgets \
|
|
Package_standard \
|
|
Package_template \
|
|
Package_tools \
|
|
Package_tutorials \
|
|
Package_usr \
|
|
Package_wizards \
|
|
Package_wizards_properties \
|
|
Pyuno_fax \
|
|
Pyuno_letter \
|
|
Pyuno_agenda \
|
|
Pyuno_commonwizards \
|
|
))
|
|
|
|
$(eval $(call gb_Module_add_l10n_targets,wizards,\
|
|
AllLangMoTarget_wiz \
|
|
))
|
|
|
|
ifeq ($(ENABLE_JAVA),TRUE)
|
|
$(eval $(call gb_Module_add_targets,wizards,\
|
|
Jar_commonwizards \
|
|
Jar_form \
|
|
Jar_query \
|
|
Jar_report \
|
|
Jar_reportbuilder \
|
|
Jar_table \
|
|
))
|
|
endif
|
|
|
|
# vim: set noet sw=4 ts=4:
|