Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / rendering / StringContext.idl
blob76523e32f190866ee1e67277c4a088fcdfd3f92c
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_rendering_StringContext_idl__
20 #define __com_sun_star_rendering_StringContext_idl__
22 module com { module sun { module star { module rendering {
24 /** Collection of string-related arguments used on all canvas text
25 interfaces.<p>
27 A possibly much larger string than later rendered is necessary
28 here, because in several languages, glyph selection is context
29 dependent.<p>
31 @since OOo 2.0
33 struct StringContext
35 /** The complete text, from which a subset is selected by the
36 parameters below.
38 string Text;
41 /** Start position within the string.<p>
43 The first character has index 0.<p>
45 long StartPosition;
48 /** Length of the substring to actually use.<p>
50 Must be within the range [0,INTMAX].<p>
52 long Length;
56 }; }; }; };
58 #endif
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */