/* -*- 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/.
*/ #pragma once
// This is an integer used as a unique identifier string
OUString SAL_CALL getID() override;
sal_Int32 SAL_CALL getLevel() override;
// returns or sets if the user can delete the control
sal_Bool SAL_CALL getLockContentControl() override; void SAL_CALL setLockContentControl(sal_Bool bSet) override;
// returns or sets if the user can edit the contents (i.e. read-only flag)
sal_Bool SAL_CALL getLockContents() override; void SAL_CALL setLockContents(sal_Bool bSet) override;
// returns or sets if the control is removed after accepting user change (i.e. control -> text)
sal_Bool SAL_CALL getTemporary() override; void SAL_CALL setTemporary(sal_Bool bSet) override;
// returns or sets a WdContentControlType that represents the type for a content control.
sal_Int32 SAL_CALL getType() override; void SAL_CALL setType(sal_Int32 nSet) override;
// XContentControl Methods
// Copies the content control from the active document to the Clipboard. // Retrieve from the clipboard using the Paste method of the Selection object // or of the Range object, or use the Paste function from within Microsoft Word. void SAL_CALL Copy() override;
// Removes the control from the active document and moves it to the Clipboard. void SAL_CALL Cut() override;
// Specifies whether to delete the contents of the content control. The default value is False. // True removes both the content control and its contents. // False removes the control but leaves the contents of the content control in the document. void SAL_CALL Delete(const css::uno::Any& bDeleteContents) override;
// Set the Unicode character used to display the checked state. void SAL_CALL SetCheckedSymbol(sal_Int32 Character, const css::uno::Any& sFont) override;
// Set the Unicode character used to display the unchecked state. void SAL_CALL SetUnCheckedSymbol(sal_Int32 Character, const css::uno::Any& sFont) override;
// Sets the placeholder text that displays until a user enters their own text. // Only one of the parameters is used when specifying placeholder text. // If more than one parameter is provided, use the text specified in the first parameter. // If all parameters are omitted, the placeholder text is blank. void SAL_CALL SetPlaceholderText(const css::uno::Any& BuildingBlock, const css::uno::Any& Range, const css::uno::Any& sText) override;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.