LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/excel - XRange.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_OOO_VBA_EXCEL_XRANGE_HDL
       2             : #define INCLUDED_OOO_VBA_EXCEL_XRANGE_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : namespace ooo { namespace vba { namespace excel { class XCharacters; } } }
       8             : #include "com/sun/star/script/BasicErrorException.hdl"
       9             : namespace ooo { namespace vba { namespace excel { class XComment; } } }
      10             : namespace ooo { namespace vba { namespace excel { class XRange; } } }
      11             : #include "com/sun/star/script/XDefaultProperty.hdl"
      12             : #include "com/sun/star/container/XEnumerationAccess.hdl"
      13             : #include "ooo/vba/excel/XFormat.hdl"
      14             : namespace ooo { namespace vba { namespace excel { class XWorksheet; } } }
      15             : #include "com/sun/star/script/XErrorQuery.hdl"
      16             : #include "com/sun/star/script/XDefaultMethod.hdl"
      17             : namespace ooo { namespace vba { namespace excel { class XValidation; } } }
      18             : #include "com/sun/star/uno/Any.h"
      19             : #include "com/sun/star/uno/Reference.h"
      20             : #include "com/sun/star/uno/Sequence.h"
      21             : #include "cppu/macros.hxx"
      22             : #include "rtl/ustring.hxx"
      23             : #include "sal/types.h"
      24             : 
      25             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      26             : 
      27             : namespace ooo { namespace vba { namespace excel {
      28             : 
      29           0 : class SAL_NO_VTABLE XRange : public css::container::XEnumerationAccess, public css::script::XDefaultMethod, public css::script::XDefaultProperty, public css::script::XErrorQuery, public ::ooo::vba::excel::XFormat
      30             : {
      31             : public:
      32             : 
      33             :     // Attributes
      34             :     virtual ::com::sun::star::uno::Any SAL_CALL getValue() = 0;
      35             :     virtual void SAL_CALL setValue( const ::com::sun::star::uno::Any& _value ) = 0;
      36             :     virtual ::com::sun::star::uno::Any SAL_CALL getFormula() = 0;
      37             :     virtual void SAL_CALL setFormula( const ::com::sun::star::uno::Any& _formula ) = 0;
      38             :     virtual ::com::sun::star::uno::Any SAL_CALL getFormulaArray() = 0;
      39             :     virtual void SAL_CALL setFormulaArray( const ::com::sun::star::uno::Any& _formulaarray ) = 0;
      40             :     virtual ::com::sun::star::uno::Any SAL_CALL getFormulaR1C1() = 0;
      41             :     virtual void SAL_CALL setFormulaR1C1( const ::com::sun::star::uno::Any& _formular1c1 ) = 0;
      42             :     virtual ::sal_Int32 SAL_CALL getCount() = 0;
      43             :     virtual ::sal_Int32 SAL_CALL getRow() = 0;
      44             :     virtual ::sal_Int32 SAL_CALL getColumn() = 0;
      45             :     virtual ::rtl::OUString SAL_CALL getText() = 0;
      46             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getEntireRow() = 0;
      47             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL getEntireColumn() = 0;
      48             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XComment > SAL_CALL getComment() = 0;
      49             :     virtual ::com::sun::star::uno::Any SAL_CALL getHidden() = 0;
      50             :     virtual void SAL_CALL setHidden( const ::com::sun::star::uno::Any& _hidden ) = 0;
      51             :     virtual ::com::sun::star::uno::Any SAL_CALL getColumnWidth() = 0;
      52             :     virtual void SAL_CALL setColumnWidth( const ::com::sun::star::uno::Any& _columnwidth ) = 0;
      53             :     virtual ::com::sun::star::uno::Any SAL_CALL getWidth() = 0;
      54             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XWorksheet > SAL_CALL getWorksheet() = 0;
      55             :     virtual ::com::sun::star::uno::Any SAL_CALL getRowHeight() = 0;
      56             :     virtual void SAL_CALL setRowHeight( const ::com::sun::star::uno::Any& _rowheight ) = 0;
      57             :     virtual ::com::sun::star::uno::Any SAL_CALL getHeight() = 0;
      58             :     virtual ::com::sun::star::uno::Any SAL_CALL getTop() = 0;
      59             :     virtual ::com::sun::star::uno::Any SAL_CALL getLeft() = 0;
      60             :     virtual ::com::sun::star::uno::Any SAL_CALL getPageBreak() = 0;
      61             :     virtual void SAL_CALL setPageBreak( const ::com::sun::star::uno::Any& _pagebreak ) = 0;
      62             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XValidation > SAL_CALL getValidation() = 0;
      63             :     virtual ::com::sun::star::uno::Any SAL_CALL getPrefixCharacter() = 0;
      64             :     virtual ::com::sun::star::uno::Any SAL_CALL getStyle() = 0;
      65             :     virtual void SAL_CALL setStyle( const ::com::sun::star::uno::Any& _style ) = 0;
      66             :     virtual ::com::sun::star::uno::Any SAL_CALL getAddIndent() = 0;
      67             :     virtual void SAL_CALL setAddIndent( const ::com::sun::star::uno::Any& _addindent ) = 0;
      68             :     virtual ::com::sun::star::uno::Any SAL_CALL getShowDetail() = 0;
      69             :     virtual void SAL_CALL setShowDetail( const ::com::sun::star::uno::Any& _showdetail ) = 0;
      70             : 
      71             :     // Methods
      72             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XComment > SAL_CALL AddComment( const ::com::sun::star::uno::Any& Text ) = 0;
      73             :     virtual void SAL_CALL Clear() = 0;
      74             :     virtual void SAL_CALL ClearComments() = 0;
      75             :     virtual void SAL_CALL ClearContents() = 0;
      76             :     virtual void SAL_CALL ClearFormats() = 0;
      77             :     virtual ::com::sun::star::uno::Any SAL_CALL HasFormula() = 0;
      78             :     virtual void SAL_CALL FillLeft() = 0;
      79             :     virtual void SAL_CALL FillRight() = 0;
      80             :     virtual void SAL_CALL FillUp() = 0;
      81             :     virtual void SAL_CALL FillDown() = 0;
      82             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Item( const ::com::sun::star::uno::Any& RowIndex, const ::com::sun::star::uno::Any& ColumnIndex ) = 0;
      83             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Offset( const ::com::sun::star::uno::Any& RowOffset, const ::com::sun::star::uno::Any& ColumnOffset ) = 0;
      84             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL CurrentRegion() = 0;
      85             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL CurrentArray() = 0;
      86             :     virtual ::rtl::OUString SAL_CALL Characters( const ::com::sun::star::uno::Any& Start, const ::com::sun::star::uno::Any& Length ) = 0;
      87             :     virtual ::rtl::OUString SAL_CALL Address( const ::com::sun::star::uno::Any& RowAbsolute, const ::com::sun::star::uno::Any& ColumnAbsolute, const ::com::sun::star::uno::Any& ReferenceStyle, const ::com::sun::star::uno::Any& External, const ::com::sun::star::uno::Any& RelativeTo ) = 0;
      88             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Cells( const ::com::sun::star::uno::Any& RowIndex, const ::com::sun::star::uno::Any& ColumnIndex ) = 0;
      89             :     virtual void SAL_CALL Select() = 0;
      90             :     virtual void SAL_CALL AutoOutline() = 0;
      91             :     virtual void SAL_CALL Activate() = 0;
      92             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Rows( const ::com::sun::star::uno::Any& RowIndex ) = 0;
      93             :     virtual void SAL_CALL Calculate() = 0;
      94             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Columns( const ::com::sun::star::uno::Any& ColumnIndex ) = 0;
      95             :     virtual void SAL_CALL Copy( const ::com::sun::star::uno::Any& Destination ) = 0;
      96             :     virtual void SAL_CALL Cut( const ::com::sun::star::uno::Any& Destination ) = 0;
      97             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Resize( const ::com::sun::star::uno::Any& RowSize, const ::com::sun::star::uno::Any& ColumnSize ) = 0;
      98             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Range( const ::com::sun::star::uno::Any& Cell1, const ::com::sun::star::uno::Any& Cell2 ) = 0;
      99             :     virtual ::com::sun::star::uno::Any SAL_CALL getCellRange() = 0;
     100             :     virtual void SAL_CALL PasteSpecial( const ::com::sun::star::uno::Any& Paste, const ::com::sun::star::uno::Any& Operation, const ::com::sun::star::uno::Any& SkipBlanks, const ::com::sun::star::uno::Any& Transpose ) = 0;
     101             :     virtual ::sal_Bool SAL_CALL Replace( const ::rtl::OUString& What, const ::rtl::OUString& Replacement, const ::com::sun::star::uno::Any& LookAt, const ::com::sun::star::uno::Any& SearchOrder, const ::com::sun::star::uno::Any& MatchCase, const ::com::sun::star::uno::Any& MatchByte, const ::com::sun::star::uno::Any& SearchFormat, const ::com::sun::star::uno::Any& ReplaceFormat ) = 0;
     102             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Find( const ::com::sun::star::uno::Any& What, const ::com::sun::star::uno::Any& After, const ::com::sun::star::uno::Any& LookIn, const ::com::sun::star::uno::Any& LookAt, const ::com::sun::star::uno::Any& SearchOrder, const ::com::sun::star::uno::Any& SearchDirection, const ::com::sun::star::uno::Any& MatchCase, const ::com::sun::star::uno::Any& MatchByte, const ::com::sun::star::uno::Any& SearchFormat ) = 0;
     103             :     virtual void SAL_CALL Sort( const ::com::sun::star::uno::Any& Key1, const ::com::sun::star::uno::Any& Order1, const ::com::sun::star::uno::Any& Key2, const ::com::sun::star::uno::Any& Type, const ::com::sun::star::uno::Any& Order2, const ::com::sun::star::uno::Any& Key3, const ::com::sun::star::uno::Any& Order3, const ::com::sun::star::uno::Any& Header, const ::com::sun::star::uno::Any& OrderCustom, const ::com::sun::star::uno::Any& MatchCase, const ::com::sun::star::uno::Any& Orientation, const ::com::sun::star::uno::Any& SortMethod, const ::com::sun::star::uno::Any& DataOption1, const ::com::sun::star::uno::Any& DataOption2, const ::com::sun::star::uno::Any& DataOption3 ) = 0;
     104             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL End( ::sal_Int32 Direction ) = 0;
     105             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XCharacters > SAL_CALL characters( const ::com::sun::star::uno::Any& Start, const ::com::sun::star::uno::Any& Length ) = 0;
     106             :     virtual void SAL_CALL Delete( const ::com::sun::star::uno::Any& Shift ) = 0;
     107             :     virtual ::com::sun::star::uno::Any SAL_CALL Areas( const ::com::sun::star::uno::Any& Item ) = 0;
     108             :     virtual ::com::sun::star::uno::Any SAL_CALL BorderAround( const ::com::sun::star::uno::Any& LineStyle, const ::com::sun::star::uno::Any& Weight, const ::com::sun::star::uno::Any& ColorIndex, const ::com::sun::star::uno::Any& Color ) = 0;
     109             :     virtual void SAL_CALL AutoFilter( const ::com::sun::star::uno::Any& Field, const ::com::sun::star::uno::Any& Criteria1, const ::com::sun::star::uno::Any& Operator, const ::com::sun::star::uno::Any& Criteria2, const ::com::sun::star::uno::Any& VisibleDropDown ) = 0;
     110             :     virtual void SAL_CALL Insert( const ::com::sun::star::uno::Any& Shift, const ::com::sun::star::uno::Any& CopyOrigin ) = 0;
     111             :     virtual void SAL_CALL Autofit() = 0;
     112             :     virtual void SAL_CALL PrintOut( const ::com::sun::star::uno::Any& From, const ::com::sun::star::uno::Any& To, const ::com::sun::star::uno::Any& Copies, const ::com::sun::star::uno::Any& Preview, const ::com::sun::star::uno::Any& ActivePrinter, const ::com::sun::star::uno::Any& PrintToFile, const ::com::sun::star::uno::Any& Collate, const ::com::sun::star::uno::Any& PrToFileName ) = 0;
     113             :     virtual void SAL_CALL AutoFill( const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& Destination, const ::com::sun::star::uno::Any& Type ) = 0;
     114             :     virtual ::sal_Bool SAL_CALL GoalSeek( const ::com::sun::star::uno::Any& Goal, const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange >& ChangingCell ) = 0;
     115             :     virtual void SAL_CALL ClearOutline() = 0;
     116             :     virtual void SAL_CALL Ungroup() = 0;
     117             :     virtual void SAL_CALL Group() = 0;
     118             :     virtual void SAL_CALL Merge( const ::com::sun::star::uno::Any& Across ) = 0;
     119             :     virtual void SAL_CALL UnMerge() = 0;
     120             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Next() = 0;
     121             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL Previous() = 0;
     122             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL SpecialCells( const ::com::sun::star::uno::Any& Type, const ::com::sun::star::uno::Any& Value ) = 0;
     123             :     virtual void SAL_CALL RemoveSubtotal() = 0;
     124             :     virtual void SAL_CALL Subtotal( ::sal_Int32 GroupBy, ::sal_Int32 Function, const ::com::sun::star::uno::Sequence< ::sal_Int32 >& TotalList, const ::com::sun::star::uno::Any& Replace, const ::com::sun::star::uno::Any& PageBreaks, const ::com::sun::star::uno::Any& SummaryBelowData ) = 0;
     125             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > SAL_CALL MergeArea() = 0;
     126             :     virtual ::com::sun::star::uno::Any SAL_CALL Hyperlinks( const ::com::sun::star::uno::Any& Index ) = 0;
     127             : 
     128             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
     129             : 
     130             : protected:
     131           0 :     ~XRange() throw () {} // avoid warnings about virtual members and non-virtual dtor
     132             : };
     133             : 
     134             : 
     135             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::excel::XRange const *);
     136             : } } }
     137             : 
     138             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::excel::XRange > *) SAL_THROW(());
     139             : 
     140             : #endif

Generated by: LCOV version 1.10