LibreOffice
LibreOffice 6.4 SDK API Reference
ElementModes.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 #ifndef __com_sun_star_embed_ElementModes_idl__
20 #define __com_sun_star_embed_ElementModes_idl__
21 
22 
23 
24 module com { module sun { module star { module embed {
25 
36 published constants ElementModes
37 {
40  const long READ = 1;
41 
51  const long SEEKABLE = 2;
52 
60  const long SEEKABLEREAD = 3;
61 
64  const long WRITE = 4;
65 
72  const long READWRITE = 7;
73 
81  const long TRUNCATE = 8;
82 
91  const long NOCREATE = 16;
92 };
93 
94 
95 }; }; }; };
96 
97 #endif
98 
99 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::embed::ElementModes::NOCREATE
const long NOCREATE
restricts creation of a new element on opening in case a requested one does not exist.
Definition: ElementModes.idl:91
com::sun::star::embed::ElementModes::TRUNCATE
const long TRUNCATE
lets the document be truncated immediately after opening.
Definition: ElementModes.idl:81
com::sun::star::embed::ElementModes::WRITE
const long WRITE
specifies opening of an element for writing.
Definition: ElementModes.idl:64
com::sun::star::embed::ElementModes::SEEKABLE
const long SEEKABLE
specifies opening of a seekable element.
Definition: ElementModes.idl:51
com::sun::star::embed::ElementModes::READ
const long READ
specifies opening of an element for reading.
Definition: ElementModes.idl:40
com::sun::star::embed::ElementModes::READWRITE
const long READWRITE
specifies opening of an element for reading and writing.
Definition: ElementModes.idl:72
com
Definition: Ambiguous.idl:22
com::sun::star::embed::ElementModes::SEEKABLEREAD
const long SEEKABLEREAD
specifies opening of a seekable element for reading.
Definition: ElementModes.idl:60