fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / udkapi / com / sun / star / io / XDataOutputStream.idl
blob5a0e7b2f07871aa68248908b1c3482a2f4d4d644
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_io_XDataOutputStream_idl__
20 #define __com_sun_star_io_XDataOutputStream_idl__
22 #include <com/sun/star/io/XOutputStream.idl>
24 #include <com/sun/star/io/IOException.idl>
28 module com { module sun { module star { module io {
30 /** makes it possible to write machine-independent simple data types to a
31 stream.
32 @see com::sun::star::io::XDataInputStream
34 published interface XDataOutputStream: com::sun::star::io::XOutputStream
36 /** writes a boolean. It is an 8-bit value. 0 means FALSE; all other
37 values mean TRUE.
39 void writeBoolean( [in] boolean Value )
40 raises( com::sun::star::io::IOException );
42 /** writes an 8-bit byte.
44 void writeByte( [in] byte Value )
45 raises( com::sun::star::io::IOException );
47 /** writes a 16-bit character.
49 void writeChar( [in] char Value )
50 raises( com::sun::star::io::IOException );
52 /** writes a 16-bit big endian integer.
54 void writeShort( [in] short Value )
55 raises( com::sun::star::io::IOException );
57 /** writes a 32-bit big endian integer.
59 void writeLong( [in] long Value )
60 raises( com::sun::star::io::IOException );
62 /** writes a 64-bit big endian integer.
64 void writeHyper( [in] hyper Value )
65 raises( com::sun::star::io::IOException );
67 /** writes a 32-bit IEEE float.
69 void writeFloat( [in] float Value )
70 raises( com::sun::star::io::IOException );
72 /** writes a 64-bit IEEE double.
74 void writeDouble( [in] double Value )
75 raises( com::sun::star::io::IOException );
77 /** writes a string in UTF format.
79 void writeUTF( [in] string Value )
80 raises( com::sun::star::io::IOException );
85 }; }; }; };
87 #endif
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */