TQImport3XLS.Map
property Map: TStrings;
设置数据集字段和Excel单元格之间定义映射属性以下列方式:
FieldName=CellRange
导入单独的单元格
Field1=A1
Field1=A1;B2;C3;
导入整列或者它的一部分
|
Example |
Imported cells |
|
Field1=A1-A10 |
从A1到 A10 |
|
Field1=A10-A1 |
从 A10 到 A1 |
|
Field1=COLSTART-A10 |
From the first cell with data in the column A up to A10 |
|
Field1=A10-COLSTART |
From A10 down to the first cell with data in the column A |
|
Field1=A10-COLFINISH |
From A10 up to the last cell with data in the column A |
|
Field1=COLFINISH-A10 |
From the last cell with data in the column A down to A10 |
|
Field1=A-COLFINISH |
From the first up to the last cell with data in the column A |
|
Field1=A-COLSTART |
From the last down to the first cell with data in the column A |
导入整行或者它的一部分
|
Example |
Imported cells |
|
Field1=A1-D1 |
From A1 up to D1 |
|
Field1=D1-A1 |
From D1 down to D1 |
|
Field1=ROWSTART-F1 |
From the first cell with data in the row 1 up to F1 |
|
Field1=F1-ROWSTART |
From F1 down to the first cell with data in the row 1 |
|
Field1=A10-ROWFINISH |
From A10 up to the last cell with data in the row 10 |
|
Field1=ROWFINISH-A10 |
From the last cell with data in the row 10 down to A10 |
|
Field1=10-ROWFINISH |
From the first up to the last cell with data in the row 10 |
|
Field1=10-COLSTART |
From the last down to the first cell with data in the row 10 |
定义特定的表
FieldName=[SheetName]FirstCell-LastCell
or
FieldName=[:SheetNumber]FirstCell-LastCell
|
Example |
Imported cells |
|
Field1=[Sheet1]A1-A10 |
From A1 up to A10 at the sheet named Sheet1 |
|
Field1=[:3]A1-A10 |
From A1 up to A10 at the sheet number 3 |
你可以根据需要混合单元范围
Field1=A1;A3;A10-A15;A15-D15;D15-COLFINISH;[Sheet1]COLFINISH-A1
SkipFirstCols属性
property SkipFirstCols: integer;
SkipFirstCols 属性定义哪列不导入. 如果你设置 SkipFirstCols=4那么Excel表第4列将不会被导入.
SkipFirstRows属性
property SkipFirstRows: integer;
SkipFirstRows 属性定义哪行不导入. 如果你设置 SkipFirstRows=4 那么EXCEL表第4行将不会被导入.
TQImport3XLS.Map的更多相关文章
- mapreduce中一个map多个输入路径
package duogemap; import java.io.IOException; import java.util.ArrayList; import java.util.List; imp ...
- .NET Core中间件的注册和管道的构建(3) ---- 使用Map/MapWhen扩展方法
.NET Core中间件的注册和管道的构建(3) ---- 使用Map/MapWhen扩展方法 0x00 为什么需要Map(MapWhen)扩展 如果业务逻辑比较简单的话,一条主管道就够了,确实用不到 ...
- Java基础Map接口+Collections工具类
1.Map中我们主要讲两个接口 HashMap 与 LinkedHashMap (1)其中LinkedHashMap是有序的 怎么存怎么取出来 我们讲一下Map的增删改查功能: /* * Ma ...
- Java基础Map接口+Collections
1.Map中我们主要讲两个接口 HashMap 与 LinkedHashMap (1)其中LinkedHashMap是有序的 怎么存怎么取出来 我们讲一下Map的增删改查功能: /* * Ma ...
- 多用多学之Java中的Set,List,Map
很长时间以来一直代码中用的比较多的数据列表主要是List,而且都是ArrayList,感觉有这个玩意就够了.ArrayList是用于实现动态数组的包装工具类,这样写代码的时候就可以拉进 ...
- Java版本:识别Json字符串并分隔成Map集合
前言: 最近又看了点Java的知识,于是想着把CYQ.Data V5迁移到Java版本. 过程发现坑很多,理论上看大部分很相似,实践上代码写起来发现大部分都要重新思考方案. 遇到的C#转Java的一些 ...
- MapReduce剖析笔记之八: Map输出数据的处理类MapOutputBuffer分析
在上一节我们分析了Child子进程启动,处理Map.Reduce任务的主要过程,但对于一些细节没有分析,这一节主要对MapOutputBuffer这个关键类进行分析. MapOutputBuffer顾 ...
- MapReduce剖析笔记之七:Child子进程处理Map和Reduce任务的主要流程
在上一节我们分析了TaskTracker如何对JobTracker分配过来的任务进行初始化,并创建各类JVM启动所需的信息,最终创建JVM的整个过程,本节我们继续来看,JVM启动后,执行的是Child ...
- MapReduce剖析笔记之五:Map与Reduce任务分配过程
在上一节分析了TaskTracker和JobTracker之间通过周期的心跳消息获取任务分配结果的过程.中间留了一个问题,就是任务到底是怎么分配的.任务的分配自然是由JobTracker做出来的,具体 ...
随机推荐
- UVa 10954 (Huffman 优先队列) Add All
直接用一个优先队列去模拟Huffman树的建立过程. 每次取优先队列前两个数,然后累加其和,把这个和在放入到优先队列中去. #include <cstdio> #include <q ...
- Linux删除文件后空间没有释放
.COMMAND默认以9个字符长度显示的命令名称.可使用+c参数指定显示的宽度,若+c后跟的参数为零,则显示命令的全名.PID:进程的ID号.PPID父进程的IP号,默认不显示,当使用-R参数可打开. ...
- JavaScript——关于字符串的replace函数中的function函数的参数
<!DOCTYPE> <html> <head> </head> <body> <script type="text/jav ...
- 【转】Qt数据库总结
转自:http://blog.chinaunix.net/uid-25201977-id-3014100.html #include <QtSql>QT += sql QSqlDataba ...
- HDU 小明A+B 2096
解题思路:So easy,练手速的,这种题很快1A,但是没有任何成就感. 转念一想,反正水题也就那几题,所以很快就会刷完. #include<cstdio> int main() { ...
- web.xml 中的listener、 filter、servlet 加载顺序
在项目中总会遇到一些关于加载的优先级问题,近期也同样遇到过类似的,所以自己查找资料总结了下,下面有些是转载其他人的,毕竟人家写的不错,自己也就不重复造轮子了,只是略加点了自己的修饰. 首先可以肯定的是 ...
- mysql 优化analyze table
Analyze Table MySQL 的Optimizer(优化元件)在优化SQL语句时,首先需要收集一些相关信息,其中就包括表的cardinality(可以翻译为“散列程度”),它表示某个索引对应 ...
- Android应用性能优化之使用SQLiteStatement优化SQLite操作
平常在做Android数据库操作时,都是用的execSQL之个方法. 今天偶然发现了SQLiteStatement这个类.让我想起了在做Java Web开发写JDBC的代码时Prestatement这 ...
- @Component @Repository @Service @Controller
Spring 2.5 中除了提供 @Component 注释外,还定义了几个拥有特殊语义的注释,它们分别是:@Repository.@Service 和 @Controller.在目前的 Spring ...
- 8、NFC技术:让Android自动打开网页
创建封装Uri的NdefRecord public NdefRecord createUri(String uriString); public NdefRecord cre ...