bump product version to 5.0.4.1
[LibreOffice.git] / forms / source / xforms / xpathlib / xpathlib.hxx
blob3965ca740465bcef0ed927f3eff22d8cf88a876d
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 .
20 #ifndef INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
21 #define INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
23 #include <libxml/tree.h>
24 #include <libxml/xpath.h>
25 #include <libxml/xpathInternals.h>
28 entry functions for libxml xpath engine
32 /**
33 * xmlXPathParserContext:
35 * An XPath parser context. It contains pure parsing information,
36 * an xmlXPathContext, and the stack of objects.
39 extern "C"
42 // XForms
44 // XForms Core Functions
45 // boolean functions
46 void xforms_booleanFromStringFunction(xmlXPathParserContextPtr ctxt, int nargs);
47 void xforms_ifFunction(xmlXPathParserContextPtr ctxt, int nargs);
49 // Number Functions
50 void xforms_avgFunction(xmlXPathParserContextPtr ctxt, int nargs);
51 void xforms_minFunction(xmlXPathParserContextPtr ctxt, int nargs);
52 void xforms_maxFunction(xmlXPathParserContextPtr ctxt, int nargs);
53 void xforms_countNonEmptyFunction(xmlXPathParserContextPtr ctxt, int nargs);
54 void xforms_indexFunction(xmlXPathParserContextPtr ctxt, int nargs);
56 // String Functions
57 void xforms_propertyFunction(xmlXPathParserContextPtr ctxt, int nargs);
58 void xforms_versionFunction(xmlXPathParserContextPtr ctxt, int nargs);
60 // Date and Time Functions
61 void xforms_nowFunction(xmlXPathParserContextPtr ctxt, int nargs);
62 void xforms_daysFromDateFunction(xmlXPathParserContextPtr ctxt, int nargs);
63 void xforms_secondsFromDateTimeFunction(xmlXPathParserContextPtr ctxt, int nargs);
64 void xforms_secondsFuction(xmlXPathParserContextPtr ctxt, int nargs);
65 void xforms_monthsFuction(xmlXPathParserContextPtr ctxt, int nargs);
67 // Node-set Functions
68 void xforms_instanceFuction(xmlXPathParserContextPtr ctxt, int nargs);
70 // Node-set Functions; XForms 1.1
71 void xforms_currentFunction(xmlXPathParserContextPtr ctxt, int nargs);
73 // --- lookup ---
74 xmlXPathFunction xforms_lookupFunc(void *ctxt, const xmlChar *name, const xmlChar *ns_uri);
78 #endif // INCLUDED_FORMS_SOURCE_XFORMS_XPATHLIB_XPATHLIB_HXX
80 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */