cid#1636693 COPY_INSTEAD_OF_MOVE
[LibreOffice.git] / offapi / com / sun / star / form / component / HTMLForm.idl
blob9d577321af9579df05688f36db36d3696839df95
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com { module sun { module star { module form { module component {
25 /** This service specifies the special kind of Forms for HTML documents.
27 <p>An HTMLForm fulfills the specification of forms in HTML. It supplies
28 the possibility of submitting or resetting the contents of a form.
29 For more information on HTML forms, please see the documentation of HTML.</p>
31 published service HTMLForm
33 service com::sun::star::form::component::Form;
35 /** resets the control.
37 interface com::sun::star::form::XReset;
39 /** allows to submit changes.
41 <p>When a form is submitted, the data contained in the form is sent
42 to the target URL as a series of name/value pairs. The name portion
43 of each pair is the name of a form component as specified by its NAME
44 attribute. In most cases the value portion is the value displayed
45 by the element, for example, the text displayed in a text field.</p>
47 interface com::sun::star::form::XSubmit;
49 /** describes the frame, where to open the document specified by the TargetURL.
51 [property] string TargetFrame;
54 /** specifies the URL, which should be used for submission.
56 [property] string TargetURL;
58 /** specifies the kind of submission.
60 [property] com::sun::star::form::FormSubmitMethod SubmitMethod;
62 /** specifies the kind of encoding for submission.
64 [property] com::sun::star::form::FormSubmitEncoding SubmitEncoding;
68 }; }; }; }; };
70 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */