/* ==================================================================== Licensed To the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for Additional information regarding copyright ownership. The ASF licenses this file To You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed To in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==================================================================== */ namespace HH.WMS.Utils.NPOI.SS.Formula { using System; using HH.WMS.Utils.NPOI.SS.Formula; using HH.WMS.Utils.NPOI.SS.Formula.PTG; /** * Abstracts a workbook for the purpose of formula parsing.
* * For POI internal use only * * @author Josh Micich */ public interface IFormulaParsingWorkbook { /// /// named range name matching is case insensitive /// /// The name. /// Index of the sheet. /// IEvaluationName GetName(String name, int sheetIndex); /// /// Gets the name XPTG. /// /// The name. /// NameXPtg GetNameXPtg(String name); /// /// Gets the externSheet index for a sheet from this workbook /// /// Name of the sheet. /// int GetExternalSheetIndex(String sheetName); /// /// Gets the externSheet index for a sheet from an external workbook /// /// Name of the workbook, e.g. "BudGet.xls" /// a name of a sheet in that workbook /// int GetExternalSheetIndex(String workbookName, String sheetName); /// /// Returns an enum holding spReadhseet properties specific to an Excel version ( /// max column and row numbers, max arguments to a function, etc.) /// /// SpreadsheetVersion GetSpreadsheetVersion(); } }