Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: sheet ::
interface XFormulaQuery
Description provides methods to query cells for dependencies in formulas. All methods return a collection of cell ranges. See also SheetRangesQuery, SheetCellRanges Developers Guide Spreadsheets - Querying for Cells with Specific Properties

Methods' Summary
queryDependents | queries all dependent formula cells.
queryPrecedents | queries all precedent cells.

Methods' Details
queryDependents
XSheetCellRanges
queryDependents( | [in] boolean | bRecursive );
Description queries all dependent formula cells. Dependent cells are cells containing formulas with references to the original cell. Parameter bRecursive false = queries cells dependent from the original range(s), true = repeats query with all found cells (finds dependents of dependents, and so on). Returns all dependent cells of any formula cell of the current cell range(s).
queryPrecedents
XSheetCellRanges
queryPrecedents( | [in] boolean | bRecursive );
Description queries all precedent cells. Precedent cells are cells which are referenced from a formula cell. Parameter bRecursive false = queries precedent cells of the original range(s), true = repeats query with all found cells (finds precedents of precedents, and so on). Returns all precedent cells of any formula cell of the current cell range(s).

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.