LibreOffice
LibreOffice 6.2 SDK API Reference
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 #ifndef __com_sun_star_i18n_KParseType_idl__
20 #define __com_sun_star_i18n_KParseType_idl__
21 
22 
23 module com { module sun { module star { module i18n {
24 
25 
35 published constants KParseType
36 {
38  const long ONE_SINGLE_CHAR = 0x00000001;
39 
40  // For human .idl readers: <, >, <>, =, <=, >=
42  const long BOOLEAN = 0x00000002;
43 
45  const long IDENTNAME = 0x00000004;
46 
47 
48  // Hint for human .idl readers: do not get confused about the double
49  // quotation marks, they are needed for the unoidl compiler which otherwise
50  // gets confused about the single quotation marks.
53  const long SINGLE_QUOTE_NAME = 0x00000008;
54 
57  const long DOUBLE_QUOTE_STRING = 0x00000010;
58 
61  const long ASC_NUMBER = 0x00000020;
62 
66  const long UNI_NUMBER = 0x00000040;
67 
70  const long MISSING_QUOTE = 0x40000000;
71 
72 
73  // useful combinations
74 
76  const long ANY_NUMBER = ASC_NUMBER | UNI_NUMBER;
77 };
78 
79 }; }; }; };
80 
81 #endif
82 
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: Ambiguous.idl:22
const long IDENTNAME
A name matching the conditions passed.
Definition: KParseType.idl:45
const long MISSING_QUOTE
Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote.
Definition: KParseType.idl:70
const long SINGLE_QUOTE_NAME
"A single-quoted name matching the conditions passed ( &#39;na\&#39;me&#39; )." "Dequoted name in ParseResult::De...
Definition: KParseType.idl:53
const long BOOLEAN
A Boolean operator like <, >, <>, =, <=, >=.
Definition: KParseType.idl:42
const long DOUBLE_QUOTE_STRING
A double-quoted string ( "str\"i""ng" ).
Definition: KParseType.idl:57
const long ASC_NUMBER
A number where all digits are ASCII characters.
Definition: KParseType.idl:61
const long ANY_NUMBER
Any ASCII or Unicode number.
Definition: KParseType.idl:76
const long UNI_NUMBER
A number where at least some digits are Unicode (and maybe ASCII) characters.
Definition: KParseType.idl:66
const long ONE_SINGLE_CHAR
One single character like ! # ; : $ et al.
Definition: KParseType.idl:38