IXlsRange |
interface IXlsRange : IDispatch { [id(1), propget] HRESULT Style([out, retval] IXlsStyle** style); [id(2) ] HRESULT AddSubRange([in]BSTR cellrange); [id(3) ] HRESULT AddCellsRange([in]int row1, [in]int col1, [in]int row2, [in]int col2); [id(4), propget] HRESULT Range([out, retval] BSTR* cellrange); [id(4), propput] HRESULT Range([in] BSTR cellrange); [id(5), propget] HRESULT Name([out, retval] BSTR* name); [id(5), propput] HRESULT Name([in] BSTR name); [id(6) ] HRESULT Apply(); [id(7), propget] HRESULT Top([out, retval]int* row); [id(8), propget] HRESULT Left([out, retval]int* col); [id(9), propget] HRESULT Right([out, retval]int* col); [id(10),propget] HRESULT Bottom([out, retval]int* row); [id(11) ] HRESULT NewConditionalFormatting([out, retval] IXlsConditionalFormatting** cf); [id(12),propget] HRESULT Hidden([out, retval]BOOL* hidden); [id(12),propput] HRESULT Hidden([in]BOOL hidden); [id(13) ] HRESULT NewOutline([out, retval] IXlsOutline** ot); [id(14) ] HRESULT NewMergedCells([out, retval] IXlsMergedCells** mc); [id(15) ] HRESULT Delete(); [id(16) ] HRESULT NewAutoFilter([out, retval] IXlsAutoFilter** af); [id(17) ] HRESULT Paste([in]int row, [in]int col, [in]enumPasteOption option); [id(18) ] HRESULT NewSort([out, retval]IXlsSort** sort); [id(19) ] HRESULT Erase(); [id(20) ] HRESULT Transpose([in]enumPasteOption option, [out, retval] BSTR* cellrange); [id(21) ] HRESULT AutoFit(); [id(22) ] HRESULT CalculateFormulas(); [id(23) ] HRESULT DeleteFormulas(); [id(24) ] HRESULT AutoFill(int nDepth); [id(25),propput] HRESULT Formula([in]BSTR formula); [id(26) ] HRESULT CopyToClipboard(); [id(27) ] HRESULT SelectByFormula([in]BSTR formula, [out, retval]IXlsRange** range); [id(28) ] HRESULT RemoveDuplicates(); [id(29) ] HRESULT PasteAsList([in]int row, [in]int col, [in]enumPasteOption option); [id(30),propget] HRESULT FullRange([out, retval] BSTR* cellrange); [id(31) ] HRESULT ClearContents(); [id(32) ] HRESULT Label([in]BSTR label); [id(33) ] HRESULT Number([in]int n); [id(34) ] HRESULT Float([in]double f); [id(35) ] HRESULT RichLabel([in]IXlsRichLabel* rl); [id(36) ] HRESULT ClearFormats(); [id(37) ] HRESULT RemoveDuplicatesUsingList([in]IXlsList* list); [id(38) ] HRESULT SearchAndReplace([in]BSTR searchWord, [in]BSTR replacementWord, [out, retval]int* nbChanges); [id(39) ] HRESULT PasteTo([in]IUnknown* worksheet, [in]int row, [in]int col, [in]enumPasteOption option); [id(40),propget] HRESULT IsFormulaCalculated([out, retval]BOOL* bCalculated); [id(41) ] HRESULT NewTable([out, retval]IXlsTable** table); [id(42) ] HRESULT CreateNames([in]BOOL bTopHeaders, [in]BOOL bLeftColumn, [in]BOOL bBottomHeaders, [in]BOOL bRightColumn); [id(43) ] HRESULT DeleteComments(); [id(44) ] HRESULT DeleteHyperlinks(); [id(45),propget] HRESULT Local([out, retval]BOOL* bLocal); [id(45),propput] HRESULT Local([in]BOOL bLocal); [id(46),propget] HRESULT ProtectedRange([out, retval] IXlsProtectedRange** pr); [id(47),propget] HRESULT SpecialCells([in]enumSpecialCellsType t, [in]enumSpecialCellsValue v, [out, retval] IXlsRange** r); [id(48) ] HRESULT ShiftCellsLeft(); [id(49) ] HRESULT ShiftCellsUp(); [id(50) ] HRESULT FillTo([in]IXlsWorksheet* destWorksheet, [in]IXlsRange* destRange, [in]enumPasteOption option); }
HRESULT Style([out, retval] IXlsStyle** style);
HRESULT AddSubRange([in]BSTR cellrange);
RxxCx:RyyCy
(example : R10C1:R12C13), or of the natural form Ax:Ax (example : A2:B5).HRESULT AddCellsRange([in]int row1, [in]int col1, [in]int row2, [in]int col2);
HRESULT Range([out, retval] BSTR* cellrange);
HRESULT Range([in] BSTR cellrange);
AddSubRange()
and AddCellRange().
The cellrange format expected is either of the form RxxCx:RyyCy
(example : R10C1:R12C13), or of the natural form Ax:Ax (example : A2:B5).HRESULT Name([out, retval] BSTR* name)
HRESULT Name([in] BSTR name);
HRESULT Apply();
HRESULT Top([out, retval]int* row);
HRESULT Left([out, retval]int* col);
HRESULT Right([out, retval]int* col);
HRESULT Bottom([out, retval]int* row);
HRESULT NewConditionalFormatting([out, retval] IXlsConditionalFormatting** cf);
HRESULT Hidden([out, retval]BOOL* hidden);
HRESULT Hidden([in]BOOL hidden);
HRESULT NewOutline([out, retval] IXlsOutline** ot);
HRESULT NewMergedCells([out, retval] IXlsMergedCells** mc);
HRESULT Delete();
HRESULT NewAutoFilter([out, retval] IXlsAutoFilter** af);
HRESULT Paste([in]int row, [in]int col, [in]enumPasteOption option);
HRESULT NewSort([out, retval] IXlsSort** sort);
HRESULT Erase();
HRESULT Transpose([in]enumPasteOption option, [out, retval] BSTR* cellrange);
HRESULT AutoFit();
HRESULT CalculateFormulas();
HRESULT DeleteFormulas();
HRESULT AutoFill(int nDepth);
HRESULT Formula([in]BSTR formula);
HRESULT CopyToClipboard();
HRESULT SelectByFormula([in]BSTR formula, [out, retval]IXlsRange** range);
HRESULT RemoveDuplicates();
HRESULT PasteAsList([in]int row, [in]int col, [in]enumPasteOption option);
HRESULT FullRange([out, retval] BSTR* cellrange);
HRESULT ClearContents();
HRESULT Label([in]BSTR label);
HRESULT Number([in]int n);
HRESULT Float([in]double f);
HRESULT RichLabel([in]IXlsRichLabel* rl);
HRESULT ClearFormats();
HRESULT RemoveDuplicatesUsingList([in]IXlsList* list);
HRESULT SearchAndReplace([in]BSTR searchWord, [in]BSTR replacementWord, [out, retval]int* nbChanges);
HRESULT PasteTo([in]IUnknown* worksheet, [in]int row, [in]int col, [in]enumPasteOption option);
HRESULT IsFormulaCalculated([out, retval]BOOL* bCalculated);
HRESULT NewTable([out, retval]IXlsTable** table);
HRESULT CreateNames([in]BOOL bTopHeaders, [in]BOOL bLeftColumn, [in]BOOL bBottomHeaders, [in]BOOL bRightColumn);
HRESULT DeleteComments();
HRESULT DeleteHyperlinks();
HRESULT Local([out, retval]BOOL* bLocal);
HRESULT Local([in]BOOL bLocal);
HRESULT ProtectedRange([out, retval] IXlsProtectedRange** pr);
HRESULT SpecialCells([in]enumSpecialCellsType t, [in]enumSpecialCellsValue v, [out, retval] IXlsRange** r);
HRESULT ShiftCellsLeft();
HRESULT ShiftCellsUp();
HRESULT FillTo([in]IXlsWorksheet* destWorksheet, [in]IXlsRange* destRange, [in]enumPasteOption option);