diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
commit | 267c6f2ac71f92999e969232431ba04678e7437e (patch) | |
tree | 358c9467650e1d0a1d7227a21dac2e3d08b622b2 /offapi/com/sun/star/text/textfield | |
parent | Initial commit. (diff) | |
download | libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip |
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'offapi/com/sun/star/text/textfield')
55 files changed, 2867 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 0000000000..eaeebf4fa7 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Annotation.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..bc24c39972 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Author.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..b3ad4d9e02 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Bibliography.idl @@ -0,0 +1,39 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + + +/* 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 0000000000..6521594014 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Chapter.idl @@ -0,0 +1,43 @@ +/* -*- 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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..6ad942afeb --- /dev/null +++ b/offapi/com/sun/star/text/textfield/CharacterCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..aacb9fbd4a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/CombinedCharacters.idl @@ -0,0 +1,38 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..4721b6be17 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ConditionalText.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..e1e2712a91 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DDE.idl @@ -0,0 +1,37 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..6fc220cd6a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Database.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..7ae50cbfa9 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseName.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 . + */ + + + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..554182d295 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseNextSet.idl @@ -0,0 +1,67 @@ +/* -*- 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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..57ad4edc4d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseNumberOfSet.idl @@ -0,0 +1,72 @@ +/* -*- 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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..d80e57b863 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DatabaseSetNumber.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..083cedfa10 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DateTime.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..0360e7fa6d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/DropDown.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..1808f1eb61 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/EmbeddedObjectCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..e9642d4094 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ExtendedUser.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..66abf6f409 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/FileName.idl @@ -0,0 +1,46 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..8711a926fc --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GetExpression.idl @@ -0,0 +1,66 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..c686b00b23 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GetReference.idl @@ -0,0 +1,74 @@ +/* -*- 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 . + */ + + +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; + /** contains extra flags which can modify the behaviour of the field + @since LibreOffice 24.2 + */ + [optional, property] short ReferenceFieldFlags; +}; + + +}; }; }; }; }; + +/* 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 0000000000..2431ce72a5 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/GraphicObjectCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..dd749495c0 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/HiddenParagraph.idl @@ -0,0 +1,43 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..80b3fa6b21 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/HiddenText.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..5e4766e21d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Input.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..57c55a7e8f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/InputUser.idl @@ -0,0 +1,46 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..baa5bc277f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/JumpEdit.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..26308840b8 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Macro.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..c4821cb970 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/MetadataField.idl @@ -0,0 +1,69 @@ +/* -*- 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 . + */ + + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..0cf8604f09 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/PageCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..11aa9d859a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/PageNumber.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..6a84b838ab --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ParagraphCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..76697a981c --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ReferencePageGet.idl @@ -0,0 +1,41 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..9d26e99b89 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/ReferencePageSet.idl @@ -0,0 +1,42 @@ +/* -*- 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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..58bd6e649e --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Script.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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..89f9a71d8a --- /dev/null +++ b/offapi/com/sun/star/text/textfield/SetExpression.idl @@ -0,0 +1,96 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..185357271f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TableCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..f36ba09bd9 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TableFormula.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..d0d5be92c8 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/TemplateName.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; + +}; + + +}; }; }; }; }; + +/* 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 0000000000..265b6c05c0 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/Type.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/. + */ + + +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; +}; + +}; }; }; }; }; + +/* 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 0000000000..37c45f42c1 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/URL.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..97f0c8baee --- /dev/null +++ b/offapi/com/sun/star/text/textfield/User.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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..8e67f56146 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/WordCount.idl @@ -0,0 +1,40 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; + +/* 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 0000000000..d4b13bfe2d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/ChangeAuthor.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..f12846dd66 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/ChangeDateTime.idl @@ -0,0 +1,66 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..b1b29512fe --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/CreateAuthor.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..b11668c485 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/CreateDateTime.idl @@ -0,0 +1,66 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..58502211e8 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Custom.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..60fbe0099d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Description.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..be41faef3f --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/EditTime.idl @@ -0,0 +1,61 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..c2e6488ea1 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Keywords.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..374660ab58 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/PrintAuthor.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..4bb6d3738d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/PrintDateTime.idl @@ -0,0 +1,66 @@ +/* -*- 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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..211c6e9b8b --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Revision.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..b91df1e58d --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Subject.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* 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 0000000000..57f1683076 --- /dev/null +++ b/offapi/com/sun/star/text/textfield/docinfo/Title.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 . + */ + + +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; +}; + + +}; }; }; }; }; }; + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |