LibreOffice LibreOffice 24.2 SDK API Reference

Loading...
Searching...
No Matches
KParseType.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
20
21module com { module sun { module star { module i18n {
22
23
33published constants KParseType
34{
36 const long ONE_SINGLE_CHAR = 0x00000001;
37
38 // For human .idl readers: <, >, <>, =, <=, >=
40 const long BOOLEAN = 0x00000002;
41
43 const long IDENTNAME = 0x00000004;
44
45
46 // Hint for human .idl readers: do not get confused about the double
47 // quotation marks, they are needed for the unoidl compiler which otherwise
48 // gets confused about the single quotation marks.
51 const long SINGLE_QUOTE_NAME = 0x00000008;
52
55 const long DOUBLE_QUOTE_STRING = 0x00000010;
56
59 const long ASC_NUMBER = 0x00000020;
60
64 const long UNI_NUMBER = 0x00000040;
65
68 const long MISSING_QUOTE = 0x40000000;
69
70
71 // useful combinations
72
74 const long ANY_NUMBER = ASC_NUMBER | UNI_NUMBER;
75};
76
77}; }; }; };
78
79/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::i18n::KParseType::SINGLE_QUOTE_NAME
const long SINGLE_QUOTE_NAME
"A single-quoted name matching the conditions passed ( 'na\'me' )." "Dequoted name in ParseResult::De...
Definition KParseType.idl:51
com::sun::star::i18n::KParseType::MISSING_QUOTE
const long MISSING_QUOTE
Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote.
Definition KParseType.idl:68
com::sun::star::i18n::KParseType::ASC_NUMBER
const long ASC_NUMBER
A number where all digits are ASCII characters.
Definition KParseType.idl:59
com::sun::star::i18n::KParseType::ONE_SINGLE_CHAR
const long ONE_SINGLE_CHAR
One single character like ! # ; : $ et al.
Definition KParseType.idl:36
com::sun::star::i18n::KParseType::DOUBLE_QUOTE_STRING
const long DOUBLE_QUOTE_STRING
A double-quoted string ( "str\"i""ng" ).
Definition KParseType.idl:55
com::sun::star::i18n::KParseType::IDENTNAME
const long IDENTNAME
A name matching the conditions passed.
Definition KParseType.idl:43
com
Definition Ambiguous.idl:20