| 
    LibreOffice Module sc (master) 1
    
   | 
 
#include <scdllapi.h>#include <address.hxx>#include "csvsplits.hxx"#include <o3tl/typed_flags_set.hxx>#include <rtl/ref.hxx>#include <vcl/customweld.hxx>#include "AccessibleCsvControl.hxx"Go to the source code of this file.
Classes | |
| struct | ScCsvExpData | 
| Exported data of a column (data used in the dialog).  More... | |
| struct | o3tl::typed_flags< ScCsvDiff > | 
| struct | ScCsvLayoutData | 
| A structure containing all layout data valid for both ruler and data grid (i.e.  More... | |
| class | ScCsvCmd | 
| Data for a CSV control command.  More... | |
| class | ScCsvControl | 
| Base class for the CSV ruler and the data grid control.  More... | |
Namespaces | |
| namespace | com | 
| namespace | com::sun | 
| namespace | com::sun::star | 
| namespace | com::sun::star::accessibility | 
| namespace | o3tl | 
Typedefs | |
| typedef ::std::vector< ScCsvExpData > | ScCsvExpDataVec | 
Functions | |
| bool | operator== (const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2) | 
| bool | operator!= (const ScCsvLayoutData &rData1, const ScCsvLayoutData &rData2) | 
Variables | |
| const sal_Int32 | CSV_MINCOLWIDTH = 8 | 
| Minimum character count for a column in separators mode.  More... | |
| const sal_Int32 | CSV_MAXSTRLEN = 0x7FFF | 
| Maximum length of a cell string.  More... | |
| const sal_uInt16 | CSV_HDR_TRANSPARENCY = 85 | 
| Transparency for header color of selected columns.  More... | |
| const sal_Int32 | CSV_SCROLL_DIST = 3 | 
| Minimum distance to border for auto scroll.  More... | |
| const sal_Int32 | CSV_PREVIEW_LINES = 32 | 
| TODO make string array dynamic.  More... | |
| const sal_Int32 | CSV_MAXCOLCOUNT = MAXCOLCOUNT | 
| Maximum count of columns.  More... | |
| const sal_Int32 | CSV_TYPE_DEFAULT = 0 | 
| Default column data type.  More... | |
| const sal_Int32 | CSV_TYPE_MULTI = -1 | 
| Multi selection with different types.  More... | |
| const sal_Int32 | CSV_TYPE_NOSELECTION = -2 | 
| No column selected.  More... | |
| const sal_uInt8 | SC_COL_STANDARD = 1 | 
| const sal_uInt8 | SC_COL_TEXT = 2 | 
| const sal_uInt8 | SC_COL_MDY = 3 | 
| const sal_uInt8 | SC_COL_DMY = 4 | 
| const sal_uInt8 | SC_COL_YMD = 5 | 
| const sal_uInt8 | SC_COL_SKIP = 9 | 
| const sal_uInt8 | SC_COL_ENGLISH = 10 | 
| typedef ::std::vector< ScCsvExpData > ScCsvExpDataVec | 
Definition at line 73 of file csvcontrol.hxx.
| enum ScCsvCmdType | 
Enumeration of possible commands to change any settings of the CSV controls.
@descr Controls have to send commands instead of changing their settings directly. This helps to keep the different controls consistent to each other. A command can contain 0 to 2 sal_Int32 parameters. In the description of each command the required parameters are shown in brackets. [-] means no parameter.
Definition at line 158 of file csvcontrol.hxx.
      
  | 
  strong | 
Flags for comparison of old and new control layout data.
| Enumerator | |
|---|---|
| Equal | |
| PosCount | |
| PosOffset | |
| HeaderWidth | |
| CharWidth | |
| LineCount | |
| LineOffset | |
| HeaderHeight | |
| LineHeight | |
| RulerCursor | |
| GridCursor | |
| HorizontalMask | |
| VerticalMask | |
Definition at line 88 of file csvcontrol.hxx.
| enum ScMoveMode | 
Specifies which element should be used to perform an action.
Definition at line 76 of file csvcontrol.hxx.
      
  | 
  inline | 
Definition at line 148 of file csvcontrol.hxx.
      
  | 
  inline | 
Definition at line 143 of file csvcontrol.hxx.
References Equal, and ScCsvLayoutData::GetDiff().
| const sal_uInt16 CSV_HDR_TRANSPARENCY = 85 | 
Transparency for header color of selected columns.
Definition at line 37 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ImplDrawColumnSelection().
| const sal_Int32 CSV_MAXCOLCOUNT = MAXCOLCOUNT | 
Maximum count of columns.
Definition at line 44 of file csvcontrol.hxx.
Referenced by IMPL_LINK(), and ScCsvGrid::ImplSetTextLineSep().
| const sal_Int32 CSV_MAXSTRLEN = 0x7FFF | 
Maximum length of a cell string.
Definition at line 35 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ImplSetTextLineFix(), and ScCsvGrid::ImplSetTextLineSep().
| const sal_Int32 CSV_MINCOLWIDTH = 8 | 
Minimum character count for a column in separators mode.
Definition at line 33 of file csvcontrol.hxx.
Referenced by ScCsvGrid::ImplSetTextLineSep().
| const sal_Int32 CSV_PREVIEW_LINES = 32 | 
TODO make string array dynamic.
Definition at line 42 of file csvcontrol.hxx.
Referenced by IMPL_LINK_NOARG(), and ScCsvTableBox::SetUniStrings().
| const sal_Int32 CSV_SCROLL_DIST = 3 | 
Minimum distance to border for auto scroll.
Definition at line 39 of file csvcontrol.hxx.
Referenced by ScCsvGrid::GetNoScrollCol(), ScCsvRuler::GetNoScrollPos(), ScCsvTableBox::MakePosVisible(), and ScCsvGrid::MoveCursor().
| const sal_Int32 CSV_TYPE_DEFAULT = 0 | 
Default column data type.
Definition at line 47 of file csvcontrol.hxx.
Referenced by ScCsvGrid::FillColumnDataSep(), and ScCsvGrid::SetTypeNames().
| const sal_Int32 CSV_TYPE_MULTI = -1 | 
Multi selection with different types.
Definition at line 49 of file csvcontrol.hxx.
Referenced by ScCsvGrid::GetSelColumnType(), IMPL_LINK(), and ScCsvGrid::SetSelColumnType().
| const sal_Int32 CSV_TYPE_NOSELECTION = -2 | 
No column selected.
Definition at line 51 of file csvcontrol.hxx.
Referenced by ScCsvGrid::GetColumnType(), ScCsvGrid::GetSelColumnType(), and ScCsvGrid::SetSelColumnType().
| const sal_uInt8 SC_COL_DMY = 4 | 
Definition at line 57 of file csvcontrol.hxx.
Referenced by lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_ENGLISH = 10 | 
Definition at line 60 of file csvcontrol.hxx.
Referenced by lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_MDY = 3 | 
Definition at line 56 of file csvcontrol.hxx.
Referenced by lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_SKIP = 9 | 
Definition at line 59 of file csvcontrol.hxx.
Referenced by ScImportExport::ExtText2Doc(), ScCsvGrid::FillColumnDataFix(), lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_STANDARD = 1 | 
Definition at line 54 of file csvcontrol.hxx.
Referenced by ScImportExport::ExtText2Doc(), lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_TEXT = 2 | 
Definition at line 55 of file csvcontrol.hxx.
Referenced by ScImportExport::ExtText2Doc(), lcl_GetExtColumnType(), and lcl_PutString().
| const sal_uInt8 SC_COL_YMD = 5 | 
Definition at line 58 of file csvcontrol.hxx.
Referenced by lcl_GetExtColumnType(), and lcl_PutString().