1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module ucb
{
23 /** contains data of several rows of a ContentResultSet.
25 <p>This struct is returned from XFetchProvider::fetch(),
29 published
struct FetchResult
31 /** contains the demanded data.
33 <p>One any contains the data of one whole row. Those methods which
34 use this struct have to specify, what the any has to contain.
38 /** indicates the index of the first row contained in
39 FetchResult::Rows in the original result set. So if
40 FetchResult::StartIndex equals <code>3</code>, the
41 first element in the sequence FetchResult::Rows
42 contains the data of the index <code>3</code> in the original result set.
44 <p>The following rows are one after the other, but the direction
45 depends on the value of FetchResult::Direction
49 /** indicates the orientation in which the rows are fetched and set into
50 the sequence FetchResult::Rows.
52 <p>When FetchResult::Orientation equals `TRUE`, the
53 rows in FetchResult::Rows are ordered in the same way
54 as in the original result set.
58 /** indicates whether and which error has occurred, while fetching.
60 <p>The value may contain zero or more constants of the
61 FetchError constants group.
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */