diff options
Diffstat (limited to 'offapi/com/sun/star/text/textfield')
55 files changed, 3262 insertions, 0 deletions
diff --git a/offapi/com/sun/star/text/textfield/Annotation.idl b/offapi/com/sun/star/text/textfield/Annotation.idl new file mode 100644 index 000000000..f6140b7e3 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Annotation.idl @@ -0,0 +1,65 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Annotation_idl__ +#define __com_sun_star_text_textfield_Annotation_idl__ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/util/Date.idl> +#include <com/sun/star/util/DateTime.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of an annotation text field. + @see com::sun::star::text::TextField +*/ +published service Annotation +{ + service com::sun::star::text::TextField; + /** contains the name of the author of the annotation. + */ + [property]string Author; + /** contains the initials of the author of the annotation. + + @since LibreOffice 4.0 + */ + [optional, property]string Initials; + /** contains the name of the annotation. + + @since LibreOffice 4.0 + */ + [optional, property]string Name; + /** contains the annotation's content + */ + [property]string Content; + /** contains the creation date. + */ + [property]com::sun::star::util::Date Date; + /** contains the creation date. + */ + [optional, property]com::sun::star::util::DateTime DateTimeValue; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Author.idl b/offapi/com/sun/star/text/textfield/Author.idl new file mode 100644 index 000000000..598a2fc63 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Author.idl @@ -0,0 +1,64 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Author_idl__ +#define __com_sun_star_text_textfield_Author_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of an author text field. + @see com::sun::star::text::TextField +*/ +published service Author +{ + service com::sun::star::text::TextField; + + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + [optional, property] boolean IsFixed; + + /** the is the content of this field + */ + [optional, property] string Content; + + /** this is the display format for this field + @see com::sun::star::text::AuthorDisplayFormat + */ + [optional, property] short AuthorFormat; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [optional, property]string CurrentPresentation; + /** determines whether the full name of the author is displayed rather than + the initials. + */ + [optional, property]boolean FullName; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Bibliography.idl b/offapi/com/sun/star/text/textfield/Bibliography.idl new file mode 100644 index 000000000..1205fd0bc --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Bibliography.idl @@ -0,0 +1,48 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Bibliography_idl__ +#define __com_sun_star_text_textfield_Bibliography_idl_ + +#include <com/sun/star/beans/PropertyValue.idl> +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a bibliography text field. + @see com::sun::star::text::TextField +*/ +published service Bibliography +{ + service com::sun::star::text::DependentTextField; + + /** contains the bibliography fields of the text field. + */ + [property] sequence <com::sun::star::beans::PropertyValue> Fields; +}; + + +}; }; }; }; }; + +#endif + + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Chapter.idl b/offapi/com/sun/star/text/textfield/Chapter.idl new file mode 100644 index 000000000..79791d0e2 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Chapter.idl @@ -0,0 +1,50 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Chapter_idl__ +#define __com_sun_star_text_textfield_Chapter_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a chapter text field. + @see com::sun::star::text::TextField +*/ +published service Chapter +{ + service com::sun::star::text::TextField; + /** determines how the chapter should be displayed as described in + com::sun::star::text::ChapterFormat. + */ + [property]short ChapterFormat; + /** determines which chapter level should be used. The highest chapter + level has the value 0. + */ + [property]byte Level; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/CharacterCount.idl b/offapi/com/sun/star/text/textfield/CharacterCount.idl new file mode 100644 index 000000000..6d90e8cf9 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/CharacterCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_CharacterCount_idl__ +#define __com_sun_star_text_textfield_CharacterCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of characters + contained in the document. + @see com::sun::star::text::TextField +*/ +published service CharacterCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/CombinedCharacters.idl b/offapi/com/sun/star/text/textfield/CombinedCharacters.idl new file mode 100644 index 000000000..8d7899a31 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/CombinedCharacters.idl @@ -0,0 +1,45 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_CombinedCharacters_idl__ +#define __com_sun_star_text_textfield_CombinedCharacters_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field to combine 1 to 6 characters that are treated + as one normal character. + @see com::sun::star::text::TextField +*/ +published service CombinedCharacters +{ + service com::sun::star::text::TextField; + /** contains the characters to be combined. + */ + [property]string Content; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/ConditionalText.idl b/offapi/com/sun/star/text/textfield/ConditionalText.idl new file mode 100644 index 000000000..c51ab839b --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ConditionalText.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_ConditionalText_idl__ +#define __com_sun_star_text_textfield_ConditionalText_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a conditional text field. + @see com::sun::star::text::TextField +*/ +published service ConditionalText +{ + service com::sun::star::text::TextField; + + /** contains the text that is displayed if the condition evaluates to `TRUE`. + */ + [property] string TrueContent; + /** contains the text that is displayed if the condition evaluates to `FALSE`. + */ + [property] string FalseContent; + /** contains the condition. + */ + [property] string Condition; + /** contains the result of the last evaluation of the condition. + <p>This property has to be read/written in file export/import to save and + restore the result without initiation of a new evaluation.</p> + */ + [property] boolean IsConditionTrue; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [optional, property]string CurrentPresentation; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DDE.idl b/offapi/com/sun/star/text/textfield/DDE.idl new file mode 100644 index 000000000..e7d04d6c3 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DDE.idl @@ -0,0 +1,44 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DDE_idl__ +#define __com_sun_star_text_textfield_DDE_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of text field that visualizes a DDE connection. + + @see com::sun::star::text::TextFieldMaster::DDE + + @since OOo 1.1.2 +*/ +published service DDE +{ + service com::sun::star::text::TextField; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Database.idl b/offapi/com/sun/star/text/textfield/Database.idl new file mode 100644 index 000000000..e02656ac3 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Database.idl @@ -0,0 +1,59 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Database_idl__ +#define __com_sun_star_text_textfield_Database_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a database text field which is used as mail merge field. + @see com::sun::star::text::TextField +*/ +published service Database +{ + service com::sun::star::text::DependentTextField; + + /** contains the database content that was merged in the last database merge action. + Initially it contains the column name in parenthesis (<>). + */ + [property]string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** determines whether the number format is number display format is read + from the database settings. + */ + [property]boolean DataBaseFormat; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DatabaseName.idl b/offapi/com/sun/star/text/textfield/DatabaseName.idl new file mode 100644 index 000000000..9a4840f4c --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseName.idl @@ -0,0 +1,71 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DatabaseName_idl__ +#define __com_sun_star_text_textfield_DatabaseName_idl_ + + +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of text field that displays the name of a database. + @see com::sun::star::text::TextField + + Only one of the properties #DataBaseName, + #DataBaseURL and #DataBaseResource + should be set. If more than one are set the last one will be used. +*/ +published service DatabaseName +{ + service com::sun::star::text::DependentTextField; + + /** specifies the database name. + */ + [property] string DataBaseName; + + /** determines the interpretation of the property DataTableName. + @see com::sun::star::sdb::CommandType + */ + [property] long DataCommandType; + + /** contains the name of the database table, query or a statement depending + on the DataCommandType property. + */ + [property] string DataTableName; + + /** indicates the URL of a database file. + @since OOo 2.0 + */ + [optional, property] string DataBaseURL; + + /** indicates a connection URL, which locates a database driver. + @since OOo 2.0 + */ + [optional, property] string DataBaseResource; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DatabaseNextSet.idl b/offapi/com/sun/star/text/textfield/DatabaseNextSet.idl new file mode 100644 index 000000000..b5bb38b23 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseNextSet.idl @@ -0,0 +1,75 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DatabaseNextSet_idl__ +#define __com_sun_star_text_textfield_DatabaseNextSet_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that increments a database selection. + @see com::sun::star::text::TextField + + Only one of the properties #DataBaseName, + #DataBaseURL and #DataBaseResource + should be set. If more than one are set the last one will be used. +*/ +published service DatabaseNextSet +{ + service com::sun::star::text::DependentTextField; + + /** specifies the database name. + */ + [property] string DataBaseName; + + /** determines the interpretation of the property DataTableName. + @see com::sun::star::sdb::CommandType + */ + [property] long DataCommandType; + + /** contains the name of the database table, query or a statement depending + on the DataCommandType property. + */ + [property] string DataTableName; + + /** determines whether the database selection is set to the next position or not. + */ + [property] string Condition; + + /** indicates the URL of a database file. + @since OOo 2.0 + */ + [optional, property] string DataBaseURL; + + /** indicates a connection URL, which locates a database driver. + @since OOo 2.0 + */ + [optional, property] string DataBaseResource; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DatabaseNumberOfSet.idl b/offapi/com/sun/star/text/textfield/DatabaseNumberOfSet.idl new file mode 100644 index 000000000..efe9cd947 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseNumberOfSet.idl @@ -0,0 +1,80 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DatabaseNumberOfSet_idl__ +#define __com_sun_star_text_textfield_DatabaseNumberOfSet_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of text field that conditionally set the selection of + a database cursor. + @see com::sun::star::text::TextField + + Only one of the properties #DataBaseName, + #DataBaseURL and #DataBaseResource + should be set. If more than one are set the last one will be used. +*/ +published service DatabaseNumberOfSet +{ + service com::sun::star::text::DependentTextField; + + /** specifies the database name. + */ + [property] string DataBaseName; + + /** determines the interpretation of the property DataTableName. + @see com::sun::star::sdb::CommandType + */ + [property] long DataCommandType; + + /** contains the name of the database table, query or a statement depending + on the DataCommandType property. + */ + [property] string DataTableName; + + /** contains the conditions that determines whether the SetNumber is applied or not. + */ + [property] string Condition; + + /** contains the set number that is to be applied. + */ + [property] long SetNumber; + + /** indicates the URL of a database file. + @since OOo 2.0 + */ + [optional, property] string DataBaseURL; + + /** indicates a connection URL, which locates a database driver. + @since OOo 2.0 + */ + [optional, property] string DataBaseResource; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DatabaseSetNumber.idl b/offapi/com/sun/star/text/textfield/DatabaseSetNumber.idl new file mode 100644 index 000000000..a10f9cf97 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseSetNumber.idl @@ -0,0 +1,81 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DatabaseSetNumber_idl__ +#define __com_sun_star_text_textfield_DatabaseSetNumber_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the current set number of + a database. + @see com::sun::star::text::TextField + + Only one of the properties #DataBaseName, + #DataBaseURL and #DataBaseResource + should be set. If more than one are set the last one will be used. +*/ +published service DatabaseSetNumber +{ + service com::sun::star::text::DependentTextField; + + /** specifies the database name. + */ + [property] string DataBaseName; + + /** determines the interpretation of the property DataTableName. + @see com::sun::star::sdb::CommandType + */ + [property] long DataCommandType; + + /** contains the name of the database table, query or a statement depending + on the DataCommandType property. + */ + [property] string DataTableName; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property] short NumberingType; + + /** contains the number of the database set. + */ + [property] long SetNumber; + + /** indicates the URL of a database file. + @since OOo 2.0 + */ + [optional, property] string DataBaseURL; + + /** indicates a connection URL, which locates a database driver. + @since OOo 2.0 + */ + [optional, property] string DataBaseResource; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DateTime.idl b/offapi/com/sun/star/text/textfield/DateTime.idl new file mode 100644 index 000000000..2f7950735 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DateTime.idl @@ -0,0 +1,88 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DateTime_idl__ +#define __com_sun_star_text_textfield_DateTime_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/util/DateTime.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a date or time text field. + @see com::sun::star::text::TextField +*/ +published service DateTime +{ + service com::sun::star::text::TextField; + + /** If this flag is set to `FALSE` the date or time + is always displayed as the current date or time. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixed; + + /** If this flag is set to `TRUE` this field represents + a date with an optional time. If it is set to `FALSE` + only the time is used here. + */ + [property] boolean IsDate; + + /** the is the content of this field. + */ + [optional, property] com::sun::star::util::DateTime DateTimeValue; + + /** this is the number format for this field + @see com::sun::star::util::NumberFormatter + */ + [optional, property] long NumberFormat; + + /** this is the display format for this field. + Depending on #IsDate, this + is either a + com::sun::star::text::DateDisplayFormat or + com::sun::star::text::TimeDisplayFormat. + + This property is deprecated and is here only + for components that do not support a + com::sun::star::util::NumberFormatter. + + @see com::sun::star::text::DateDisplayFormat + @see com::sun::star::text::TimeDisplayFormat + + @deprecated + */ + [optional, property] short DateTimeFormat; + /** contains an offset to the date or time value in minutes. + */ + [optional, property] long Adjust; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/DropDown.idl b/offapi/com/sun/star/text/textfield/DropDown.idl new file mode 100644 index 000000000..ec93e664f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DropDown.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_DropDown_idl__ +#define __com_sun_star_text_textfield_DropDown_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of an author text field. + @see com::sun::star::text::TextField +*/ +published service DropDown +{ + service com::sun::star::text::TextField; + + /** + The name of the drop down field. + */ + [property] string Name; + + /** + The items of the dropdown field. + */ + [property] sequence<string> Items; + + /** + The selected item. If no item is selected this property + contains an empty string. If this property is set to a value + not present in the items of the dropdown field it is + invalidated, i.e. it is set to an empty string. + */ + [property] string SelectedItem; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/EmbeddedObjectCount.idl b/offapi/com/sun/star/text/textfield/EmbeddedObjectCount.idl new file mode 100644 index 000000000..57c78ca5a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/EmbeddedObjectCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_EmbeddedObjectCount_idl__ +#define __com_sun_star_text_textfield_EmbeddedObjectCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of embedded objects + contained in the document. + @see com::sun::star::text::TextField +*/ +published service EmbeddedObjectCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/ExtendedUser.idl b/offapi/com/sun/star/text/textfield/ExtendedUser.idl new file mode 100644 index 000000000..75e559402 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ExtendedUser.idl @@ -0,0 +1,57 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_ExtendedUser_idl__ +#define __com_sun_star_text_textfield_ExtendedUser_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that shows and element of the user data + (name, address, phone, ...) + @see com::sun::star::text::TextField +*/ +published service ExtendedUser +{ + service com::sun::star::text::TextField; + /** contains the content. + */ + [property]string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content is regularly updated. + */ + [property]boolean IsFixed; + /** specifies which part of the user data is displayed as described in + com::sun::star::text::UserDataPart. + */ + [property]short UserDataType; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/FileName.idl b/offapi/com/sun/star/text/textfield/FileName.idl new file mode 100644 index 000000000..4a5ab163d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/FileName.idl @@ -0,0 +1,53 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_FileName_idl__ +#define __com_sun_star_text_textfield_FileName_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of text field that displays the file name (URL) of + the document. + @see com::sun::star::text::TextField +*/ +published service FileName +{ + service com::sun::star::text::TextField; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** determines the format the file name is displayed as specified in + com::sun::star::text::FilenameDisplayFormat. + */ + [property]short FileFormat; + /** If this flag is set to `FALSE` the content is regularly updated. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/GetExpression.idl b/offapi/com/sun/star/text/textfield/GetExpression.idl new file mode 100644 index 000000000..d29702a66 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GetExpression.idl @@ -0,0 +1,73 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_GetExpression_idl__ +#define __com_sun_star_text_textfield_GetExpression_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a get expression text field. + @see com::sun::star::text::TextField +*/ +published service GetExpression +{ + service com::sun::star::text::TextField; + /** contains the textual content of the field. + */ + [property]string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; + + /** determines whether the content is displayed or evaluated. + */ + [property]boolean IsShowFormula; + /** determines the type of the variable as described in + com::sun::star::text::SetVariableType + */ + [property]short SubType; + /** contains the numerical value of the field. + */ + [property, readonly] double Value; + + /** deprecated + */ + [property]short VariableSubtype; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/GetReference.idl b/offapi/com/sun/star/text/textfield/GetReference.idl new file mode 100644 index 000000000..f561053c8 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GetReference.idl @@ -0,0 +1,77 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_GetReference_idl__ +#define __com_sun_star_text_textfield_GetReference_idl__ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a reference field. + @see com::sun::star::text::TextField +*/ +published service GetReference +{ + service com::sun::star::text::TextField; + + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property] string CurrentPresentation; + /** contains the source of the reference. + @see com::sun::star::text::ReferenceFieldSource + */ + [property] short ReferenceFieldSource; + /** contains the name of the source. + <p> Depending on the property ReferenceFieldSource it may be the name of + a bookmark, a reference mark.</p> + */ + [property] string SourceName; + /** contains the type of the reference. + @see com::sun::star::text::ReferenceFieldPart + */ + [property] short ReferenceFieldPart; + /** contains the sequence number of a set expression field that is used as sequence field + or the value of the ReferenceId property of a footnote or endnote. + @see com::sun::star::text::Footnote + */ + [property] short SequenceNumber; + /** contains the language id of the alternative language-dependent references. + <p> Alternative language-dependent forms of reference types. </p> + + @since LibreOffice 6.1 + + <p> The current set of supported languages is: + <ul> + <li>hu : Hungarian, reference with lowercase article "a" or "az"</li> + <li>Hu : Hungarian, reference with uppercase article "A" or "Az"</li> + </ul> + </p> + */ + [optional, property] string ReferenceFieldLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/GraphicObjectCount.idl b/offapi/com/sun/star/text/textfield/GraphicObjectCount.idl new file mode 100644 index 000000000..57509aa20 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GraphicObjectCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_GraphicObjectCount_idl__ +#define __com_sun_star_text_textfield_GraphicObjectCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of graphic objects + contained in the document. + @see com::sun::star::text::TextField +*/ +published service GraphicObjectCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/HiddenParagraph.idl b/offapi/com/sun/star/text/textfield/HiddenParagraph.idl new file mode 100644 index 000000000..add73fb18 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/HiddenParagraph.idl @@ -0,0 +1,50 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_HiddenParagraph_idl__ +#define __com_sun_star_text_textfield_HiddenParagraph_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a hidden paragraph field. + @see com::sun::star::text::TextField +*/ +published service HiddenParagraph +{ + service com::sun::star::text::TextField; + + /** contains the condition. + */ + [property] string Condition; + /** contains the result of the last evaluation of the condition. + <p>This property has to be read/written in file export/import to save and + restore the result without initiation of a new evaluation.</p> + */ + [property] boolean IsHidden; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/HiddenText.idl b/offapi/com/sun/star/text/textfield/HiddenText.idl new file mode 100644 index 000000000..fcbdeff4f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/HiddenText.idl @@ -0,0 +1,54 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_HiddenText_idl__ +#define __com_sun_star_text_textfield_HiddenText_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a hidden text field. + @see com::sun::star::text::TextField +*/ +published service HiddenText +{ + service com::sun::star::text::TextField; + + /** contains the text content of the hidden text field. + <p> The content is displayed if the condition evaluates to `FALSE`.</p> + */ + [property] string Content; + /** contains the condition. + */ + [property] string Condition; + /** contains the result of the last evaluation of the condition. + <p>This property has to be read/written in file export/import to save and + restore the result without initiation of a new evaluation.</p> + */ + [property] boolean IsHidden; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Input.idl b/offapi/com/sun/star/text/textfield/Input.idl new file mode 100644 index 000000000..0f88a4f46 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Input.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Input_idl__ +#define __com_sun_star_text_textfield_Input_idl__ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text input field. + @see com::sun::star::text::TextField +*/ +published service Input +{ + service com::sun::star::text::TextField; + + /** contains the text content of the text field. + <p> The field displays the text content.</p> + */ + [optional, property] string Content; + + /** contains a hint text. + <p> This hint may be used as help tip or as headline of a corresponding + dialog to edit the field content.</p> + */ + [optional, property] string Hint; + + /** contains an internal-use-only multi purpose string. + <p>This is an internal multi purpose string used in WW8 import/export. + Usually it holds the help text for form fields.</p> + <p>It's content must NEVER be modified by the user.</p> + */ + [optional, property] string Help; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/InputUser.idl b/offapi/com/sun/star/text/textfield/InputUser.idl new file mode 100644 index 000000000..92fcbbd4e --- /dev/null +++ b/offapi/com/sun/star/text/textfield/InputUser.idl @@ -0,0 +1,53 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_InputUser_idl__ +#define __com_sun_star_text_textfield_InputUser_idl__ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of an input field that is used to change the content of a corresponding + field master of a user defined text field. + + @see com::sun::star::text::TextField +*/ +published service InputUser +{ + service com::sun::star::text::TextField; + + /** contains the name of the corresponding field master. + */ + [optional, property] string Content; + + /** contains a hint text. + <p> This hint may be used as help tip or as headline of a corresponding + dialog to edit the field content.</p> + */ + [optional, property] string Hint; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/JumpEdit.idl b/offapi/com/sun/star/text/textfield/JumpEdit.idl new file mode 100644 index 000000000..cd9c5f131 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/JumpEdit.idl @@ -0,0 +1,52 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_JumpEdit_idl__ +#define __com_sun_star_text_textfield_JumpEdit_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a place holder text field. + @see com::sun::star::text::TextField +*/ +published service JumpEdit +{ + service com::sun::star::text::TextField; + /** determines a hint that is displayed at the user interface as tip. + */ + [property]string Hint; + /** determines the text of the place holder. + */ + [property]string PlaceHolder; + /** determines the type of the place holder as described in + com::sun::star::text::PlaceholderType. + */ + [property]short PlaceHolderType; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Macro.idl b/offapi/com/sun/star/text/textfield/Macro.idl new file mode 100644 index 000000000..004954ad0 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Macro.idl @@ -0,0 +1,51 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Macro_idl__ +#define __com_sun_star_text_textfield_Macro_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a macro text field. + @see com::sun::star::text::TextField +*/ +published service Macro +{ + service com::sun::star::text::TextField; + /** contains a tip that is displayed at the user interface. + */ + [property]string Hint; + /** contains the macro name of a StarBASIC macro. + */ + [property]string MacroName; + /** contains the library name of a StarBASIC macro. + */ + [property]string MacroLibrary; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/MetadataField.idl b/offapi/com/sun/star/text/textfield/MetadataField.idl new file mode 100644 index 000000000..a4f237cd4 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/MetadataField.idl @@ -0,0 +1,80 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_MetadataField_idl__ +#define __com_sun_star_text_textfield_MetadataField_idl__ + +#include <com/sun/star/container/XEnumerationAccess.idl> +#include <com/sun/star/container/XChild.idl> +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/XText.idl> +#include <com/sun/star/rdf/XMetadatable.idl> + + + +module com { module sun { module star { module text { module textfield { + +/** is a com::sun::star::text::TextField whose content + is specified by RDF metadata. + + @since OOo 3.2 + + @see com::sun::star::rdf +*/ +service MetadataField +{ + /** None of the properties of + com::sun::star::text::TextContent are supported. */ + service com::sun::star::text::TextField; + + /** The MetadataField can have RDF metadata attached. */ + interface com::sun::star::rdf::XMetadatable; + + /** Allows for insertion of text content into, and creating cursors + that are bound within, the MetadataField. */ + interface com::sun::star::text::XText; + + /** The com::sun::star::text::TextContents that are + contained in the MetadataField can be enumerated. */ + interface com::sun::star::container::XEnumerationAccess; + + /** The com::sun::star::text::TextContent + that is the parent of this MetadataField. + @since OOo 3.3 + */ + interface com::sun::star::container::XChild; + + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [optional, property] long NumberFormat; + + /** determines whether changes in language attributes at the + position of the text field also change the number format + as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/PageCount.idl b/offapi/com/sun/star/text/textfield/PageCount.idl new file mode 100644 index 000000000..2ae0a408d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/PageCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_PageCount_idl__ +#define __com_sun_star_text_textfield_PageCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of pages + contained in the document. + @see com::sun::star::text::TextField +*/ +published service PageCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/PageNumber.idl b/offapi/com/sun/star/text/textfield/PageNumber.idl new file mode 100644 index 000000000..dc172303e --- /dev/null +++ b/offapi/com/sun/star/text/textfield/PageNumber.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_PageNumber_idl__ +#define __com_sun_star_text_textfield_PageNumber_idl__ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/PageNumberType.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a page number text field. + @see com::sun::star::text::TextField +*/ +published service PageNumber +{ + service com::sun::star::text::TextField; + + /** determines the type of the numbering. + @see com::sun::star::style::NumberingType + */ + [property] short NumberingType; + + /** determines an offset value to show a different page number. + */ + [property] short Offset; + /** determines which page the field refers to. + @see com::sun::star::text::PageNumberType + */ + [property] PageNumberType SubType; + /** if the user text string is set then it is displayed when the value + of NumberingType is set to com::sun::star::style::NumberingType::CHAR_SPECIAL + */ + [property] string UserText; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/ParagraphCount.idl b/offapi/com/sun/star/text/textfield/ParagraphCount.idl new file mode 100644 index 000000000..dc5626b48 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ParagraphCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_ParagraphCount_idl__ +#define __com_sun_star_text_textfield_ParagraphCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of paragraphs + contained in the document. + @see com::sun::star::text::TextField +*/ +published service ParagraphCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/ReferencePageGet.idl b/offapi/com/sun/star/text/textfield/ReferencePageGet.idl new file mode 100644 index 000000000..1b0a8761f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ReferencePageGet.idl @@ -0,0 +1,48 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_ReferencePageGet_idl__ +#define __com_sun_star_text_textfield_ReferencePageGet_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that + displays the page number with respect to a reference point. + The reference point is determined by a ReferencePageSet text field. + @see com::sun::star::text::TextField + @see com::sun::star::text::textfield::ReferencePageSet +*/ +published service ReferencePageGet +{ + service com::sun::star::text::TextField; + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/ReferencePageSet.idl b/offapi/com/sun/star/text/textfield/ReferencePageSet.idl new file mode 100644 index 000000000..1157d8d58 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ReferencePageSet.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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_ReferencePageSet_idl__ +#define __com_sun_star_text_textfield_ReferencePageSet_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that inserts additional page numbers. + @see com::sun::star::text::TextField + @see com::sun::star::text::textfield::ReferencePageGet +*/ +published service ReferencePageSet +{ + service com::sun::star::text::TextField; + /** determines an offset value to change the displayed value of a ReferencePageGet text field. + */ + [property]short Offset; + /** determines whether the ReferencePageGet text fields are displayed or not. + */ + [property]boolean NameOn; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Script.idl b/offapi/com/sun/star/text/textfield/Script.idl new file mode 100644 index 000000000..3e74c4ef0 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Script.idl @@ -0,0 +1,52 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_Script_idl__ +#define __com_sun_star_text_textfield_Script_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field . + @see com::sun::star::text::TextField +*/ +published service Script +{ + service com::sun::star::text::TextField; + /** contains the script text or a URL that points to a script depending on + the URLContent property. + */ + [property]string Content; + /** contains the name of the script type (i.e. JavaScript) + */ + [property]string ScriptType; + /** determines whether the property Content contains a URL or a script. + */ + [property]boolean URLContent; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/SetExpression.idl b/offapi/com/sun/star/text/textfield/SetExpression.idl new file mode 100644 index 000000000..269ada8cc --- /dev/null +++ b/offapi/com/sun/star/text/textfield/SetExpression.idl @@ -0,0 +1,104 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_SetExpression_idl__ +#define __com_sun_star_text_textfield_SetExpression_idl_ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of an expression text field. + @see com::sun::star::text::TextField +*/ +published service SetExpression +{ + service com::sun::star::text::DependentTextField; + + /** contains the textual content of the field. + */ + [property] string Content; + + /** contains the current content of the text field. + <p>This property is especially useful for import/export purposes.</p> + */ + [property] string CurrentPresentation; + + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property] long NumberFormat; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property] short NumberingType; + + /** determines whether the content is displayed or evaluated. + */ + [property] boolean IsShowFormula; + + /** contains an informational text that is displayed at the user + interface if it's an input field. + */ + [property] string Hint; + + /** determines whether this field is an input field. + */ + [property] boolean IsInput; + + /** determines whether the field is visible. + */ + [property] boolean IsVisible; + + /** contains the sequence value when this field is used as sequence field. + */ + [property] short SequenceValue; + + /** determines the type of the variable as described in + com::sun::star::text::SetVariableType + */ + [property] short SubType; + + /** contains the numerical value of the field. + */ + [property]double Value; + + /** contains the name of the set expression field master this field is + connected to. + */ + [property, readonly] string VariableName; + + /** determines whether changes in language attributes at the position + the text field is located also change the number format as appropriate + for this language. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/TableCount.idl b/offapi/com/sun/star/text/textfield/TableCount.idl new file mode 100644 index 000000000..d0dbe48ca --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TableCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_TableCount_idl__ +#define __com_sun_star_text_textfield_TableCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of tables + contained in the document. + @see com::sun::star::text::TextField +*/ +published service TableCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/TableFormula.idl b/offapi/com/sun/star/text/textfield/TableFormula.idl new file mode 100644 index 000000000..d44307ccb --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TableFormula.idl @@ -0,0 +1,58 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_TableFormula_idl__ +#define __com_sun_star_text_textfield_TableFormula_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a table formula text field. + @deprecated + @see com::sun::star::text::TextField +*/ +published service TableFormula +{ + service com::sun::star::text::TextField; + + /** contains the formula. */ + [property] string Formula; + + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property] string CurrentPresentation; + + /** determines whether the formula displayed as text or evaluated. + */ + [property] boolean IsShowFormula; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property] short NumberFormat; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/TemplateName.idl b/offapi/com/sun/star/text/textfield/TemplateName.idl new file mode 100644 index 000000000..d8bd1aad6 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TemplateName.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_TemplateName_idl__ +#define __com_sun_star_text_textfield_TemplateName_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service text field that displays the name of the template the document + has been created from. + @see com::sun::star::text::TextField +*/ +published service TemplateName +{ + service com::sun::star::text::TextField; + /** determines the format the template file name is displayed as specified in + com::sun::star::text::FilenameDisplayFormat. + */ + [property]short FileFormat; + +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/Type.idl b/offapi/com/sun/star/text/textfield/Type.idl new file mode 100644 index 000000000..648400a22 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Type.idl @@ -0,0 +1,53 @@ +/* -*- 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_text_textfield_Type_idl__ +#define __com_sun_star_text_textfield_Type_idl__ + + +module com { module sun { module star { module text { module textfield { + +/** + * Text field types. + * + * Right now this only contains the types that are supported by the edit engine, + * but it should eventually contain all field types that are used across all + * engines. + * + * @since LibreOffice 3.6 + */ +constants Type +{ + const long UNSPECIFIED = -1; + + const long DATE = 0; + const long URL = 1; + const long PAGE = 2; + const long PAGES = 3; + const long TIME = 4; + const long TABLE = 5; + const long EXTENDED_TIME = 6; + const long EXTENDED_FILE = 7; + const long AUTHOR = 8; + const long MEASURE = 9; + + const long DOCINFO_TITLE = 10; + + const long PRESENTATION_HEADER = 11; + const long PRESENTATION_FOOTER = 12; + const long PRESENTATION_DATE_TIME = 13; + const long PAGE_NAME = 14; + const long DOCINFO_CUSTOM = 15; +}; + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/URL.idl b/offapi/com/sun/star/text/textfield/URL.idl new file mode 100644 index 000000000..a6edcdf78 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/URL.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_URL_idl__ +#define __com_sun_star_text_textfield_URL_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of text field that displays a URL + + @see com::sun::star::text::TextField +*/ +published service URL +{ + service com::sun::star::text::TextField; + + /** Specifies how the URL is formatted on output. + */ + [property] short Format; + + /** contains the unparsed original URL, for example, + http://me:pass@www.sun.de:8080/pub/test/foo.txt?a=b#xyz + */ + [property] string URL; + + /** contains the content that will be displayed to the user. + <p> If this string is empty, the <code>URL</code> will be shown. + */ + [property] string Representation; + + /** Specifies the frame name in that the URL will be opened + */ + [property] string TargetFrame; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/User.idl b/offapi/com/sun/star/text/textfield/User.idl new file mode 100644 index 000000000..4da8faea4 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/User.idl @@ -0,0 +1,62 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_User_idl__ +#define __com_sun_star_text_textfield_User_idl__ + +#include <com/sun/star/text/TextField.idl> +#include <com/sun/star/text/DependentTextField.idl> +#include <com/sun/star/text/XDependentTextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a user defined field. + @see com::sun::star::text::TextField +*/ +published service User +{ + service com::sun::star::text::DependentTextField; + + /** determines if the content is shown as text rather than as value. + */ + [optional, property] boolean IsShowFormula; + + /** determines if the field is visible. + */ + [optional, property] boolean IsVisible; + + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [optional, property] long NumberFormat; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/WordCount.idl b/offapi/com/sun/star/text/textfield/WordCount.idl new file mode 100644 index 000000000..5bd269f57 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/WordCount.idl @@ -0,0 +1,47 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_WordCount_idl__ +#define __com_sun_star_text_textfield_WordCount_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { module text { module textfield { + +/** specifies service of a text field that displays the number of words + contained in the document. + @see com::sun::star::text::TextField +*/ +published service WordCount +{ + service com::sun::star::text::TextField; + + /** specifies the type of the numbering as + com::sun::star::style::NumberingType + */ + [property]short NumberingType; +}; + + +}; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/ChangeAuthor.idl b/offapi/com/sun/star/text/textfield/docinfo/ChangeAuthor.idl new file mode 100644 index 000000000..a44418dfa --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/ChangeAuthor.idl @@ -0,0 +1,56 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_ChangeAuthor_idl__ +#define __com_sun_star_text_textfield_docinfo_ChangeAuthor_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the author + of the last change. + @see com::sun::star::text::TextField +*/ +published service ChangeAuthor +{ + service com::sun::star::text::TextField; + + /** contains the name of the author. + */ + [property]string Author; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + [optional, property] boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/ChangeDateTime.idl b/offapi/com/sun/star/text/textfield/docinfo/ChangeDateTime.idl new file mode 100644 index 000000000..3d0023d4c --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/ChangeDateTime.idl @@ -0,0 +1,73 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_ChangeDateTime_idl__ +#define __com_sun_star_text_textfield_docinfo_ChangeDateTime_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the date + and time the document was last changed. + @see com::sun::star::text::TextField +*/ +published service ChangeDateTime +{ + service com::sun::star::text::TextField; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + /** If this flag is set to `FALSE` the date or time + is always displayed as the current date or time. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixed; + /** If this flag is set to `TRUE` this field represents, + a date with an optional time. If it is set to `FALSE` + only the time is used here. + */ + [property]boolean IsDate; + /** contains the date and time as double value. + */ + [property]double DateTimeValue; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/CreateAuthor.idl b/offapi/com/sun/star/text/textfield/docinfo/CreateAuthor.idl new file mode 100644 index 000000000..8beda78d1 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/CreateAuthor.idl @@ -0,0 +1,56 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_CreateAuthor_idl__ +#define __com_sun_star_text_textfield_docinfo_CreateAuthor_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the author + who created the document. + @see com::sun::star::text::TextField +*/ +published service CreateAuthor +{ + service com::sun::star::text::TextField; + + /** contains the name of the author. + */ + [property]string Author; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + [optional, property] boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/CreateDateTime.idl b/offapi/com/sun/star/text/textfield/docinfo/CreateDateTime.idl new file mode 100644 index 000000000..277d726ab --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/CreateDateTime.idl @@ -0,0 +1,73 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_CreateDateTime_idl__ +#define __com_sun_star_text_textfield_docinfo_CreateDateTime_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the date + and time of the document creation. + @see com::sun::star::text::TextField +*/ +published service CreateDateTime +{ + service com::sun::star::text::TextField; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + /** If this flag is set to `FALSE` the date or time + is always displayed as the current date or time. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixed; + /** If this flag is set to `TRUE` this field represents, + a date with an optional time. If it is set to `FALSE` + only the time is used here. + */ + [property]boolean IsDate; + /** contains the date and time as double value. + */ + [property]double DateTimeValue; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Custom.idl b/offapi/com/sun/star/text/textfield/docinfo/Custom.idl new file mode 100644 index 000000000..4903b1ddb --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Custom.idl @@ -0,0 +1,60 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Custom_idl__ +#define __com_sun_star_text_textfield_docinfo_Custom_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that refers to the content of a + user-defined field in the document information. + + @since OOo 3.0 + + @see com::sun::star::text::TextField +*/ +published service Custom +{ + service com::sun::star::text::TextField; + + /** the name of the user-defined property that this field refers to. + */ + [property] string Name; + + /** contains the current content of the text field. + <p>This property is useful for import/export purposes.</p> + */ + [property] string CurrentPresentation; + + /** If this flag is set to `FALSE`, the content is updated when + the document information changes. + */ + [property] boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Description.idl b/offapi/com/sun/star/text/textfield/docinfo/Description.idl new file mode 100644 index 000000000..6b017363e --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Description.idl @@ -0,0 +1,55 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Description_idl__ +#define __com_sun_star_text_textfield_docinfo_Description_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides the description that is contained + in the document information. + @see com::sun::star::text::TextField +*/ +published service Description +{ + service com::sun::star::text::TextField; + + /** contains content information. + */ + [property] string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content updated every time the document + information is changed. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/EditTime.idl b/offapi/com/sun/star/text/textfield/docinfo/EditTime.idl new file mode 100644 index 000000000..d133bfcae --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/EditTime.idl @@ -0,0 +1,68 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_EditTime_idl__ +#define __com_sun_star_text_textfield_docinfo_EditTime_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the + duration the document has been edited. + @see com::sun::star::text::TextField +*/ +published service EditTime +{ + service com::sun::star::text::TextField; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + /** If this flag is set to `FALSE` the date or time + is always displayed as the current date or time. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixed; + /** contains the date and time as double value. + */ + [property]double DateTimeValue; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Keywords.idl b/offapi/com/sun/star/text/textfield/docinfo/Keywords.idl new file mode 100644 index 000000000..e7a95235a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Keywords.idl @@ -0,0 +1,55 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Keywords_idl__ +#define __com_sun_star_text_textfield_docinfo_Keywords_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides the keywords that are contained + in the document information. + @see com::sun::star::text::TextField +*/ +published service Keywords +{ + service com::sun::star::text::TextField; + + /** contains content information. + */ + [property] string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content updated every time the document + information is changed. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/PrintAuthor.idl b/offapi/com/sun/star/text/textfield/docinfo/PrintAuthor.idl new file mode 100644 index 000000000..4deb0427c --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/PrintAuthor.idl @@ -0,0 +1,56 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_PrintAuthor_idl__ +#define __com_sun_star_text_textfield_docinfo_PrintAuthor_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the author + of the last print operation. + @see com::sun::star::text::TextField +*/ +published service PrintAuthor +{ + service com::sun::star::text::TextField; + + /** contains the name of the author. + */ + [property]string Author; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + [optional, property] boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/PrintDateTime.idl b/offapi/com/sun/star/text/textfield/docinfo/PrintDateTime.idl new file mode 100644 index 000000000..86b0445d5 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/PrintDateTime.idl @@ -0,0 +1,73 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_PrintDateTime_idl__ +#define __com_sun_star_text_textfield_docinfo_PrintDateTime_idl__ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides information about the date + and time the document was last printed. + @see com::sun::star::text::TextField +*/ +published service PrintDateTime +{ + service com::sun::star::text::TextField; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to false the author + will be overridden by the current author + each time the document is saved. + */ + /** If this flag is set to `FALSE` the date or time + is always displayed as the current date or time. + + @since OOo 1.1.2 + */ + [optional, property] boolean IsFixed; + /** If this flag is set to `TRUE` this field represents, + a date with an optional time. If it is set to `FALSE` + only the time is used here. + */ + [property]boolean IsDate; + /** contains the date and time as double value. + */ + [property]double DateTimeValue; + /** this is the number format for this field. + @see com::sun::star::util::NumberFormatter + */ + [property]long NumberFormat; + /** determines whether changes in language attributes at the position the text field + is located also change the number format as appropriate for this language. + */ + [optional, property] boolean IsFixedLanguage; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Revision.idl b/offapi/com/sun/star/text/textfield/docinfo/Revision.idl new file mode 100644 index 000000000..04ca64c15 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Revision.idl @@ -0,0 +1,55 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Revision_idl__ +#define __com_sun_star_text_textfield_docinfo_Revision_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides the revision that is contained + in the document information. + @see com::sun::star::text::TextField +*/ +published service Revision +{ + service com::sun::star::text::TextField; + + /** contains content information. + */ + [property] string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content updated every time the document + information is changed. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Subject.idl b/offapi/com/sun/star/text/textfield/docinfo/Subject.idl new file mode 100644 index 000000000..5f3348080 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Subject.idl @@ -0,0 +1,55 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Subject_idl__ +#define __com_sun_star_text_textfield_docinfo_Subject_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides the subject that is contained + in the document information. + @see com::sun::star::text::TextField +*/ +published service Subject +{ + service com::sun::star::text::TextField; + + /** contains content information. + */ + [property] string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content updated every time the document + information is changed. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/text/textfield/docinfo/Title.idl b/offapi/com/sun/star/text/textfield/docinfo/Title.idl new file mode 100644 index 000000000..29730bffa --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Title.idl @@ -0,0 +1,55 @@ +/* -*- 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/. + * + * 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 . + */ + +#ifndef __com_sun_star_text_textfield_docinfo_Title_idl__ +#define __com_sun_star_text_textfield_docinfo_Title_idl_ + +#include <com/sun/star/text/TextField.idl> + + +module com { module sun { module star { + module text { module textfield { module docinfo { + +/** specifies service of a text field that provides the title that is contained + in the document information. + @see com::sun::star::text::TextField +*/ +published service Title +{ + service com::sun::star::text::TextField; + + /** contains content information. + */ + [property] string Content; + /** contains the current content of the text field. + <p> This property is especially useful for import/export purposes. </p> + */ + [property]string CurrentPresentation; + /** If this flag is set to `FALSE` the content updated every time the document + information is changed. + */ + [property]boolean IsFixed; +}; + + +}; }; }; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |