在各类系统开发中,Word相关的应用相当广泛。在各类MIS系统中,在各种和实际业务结合紧密的系统中,对Word的操作可以说是必不可少的。典型的应用包括:
1、内嵌Word。在系统中内嵌Word的功能,可以利用Word强大功能进行文档的新建、编辑、修改,同时节省了编辑器本身的学习成本。 2、Word的...
分类:
其他好文 时间:
2014-05-17 02:55:36
阅读次数:
1003
要使用C#操作word,首先要添加引用:
1、添加引用->COM->Microsoft Word 11.0 Object Library
2、在.cs文件中添加usingWord;下面的例子中包括C#对Word文档的创建、插入表格、设置样式等操作:(例子中代码有些涉及数据信息部分被省略,重要是介绍一...
分类:
其他好文 时间:
2014-05-17 01:36:01
阅读次数:
244
命名空间:System.Diagnostics
以前在word的时候,经常碰到word进程产生一大堆,怕关错了,把用户自己打开的word也关闭,一直搞忽悠,今天上网花了10块钱,下了个文件,给我了一点启发,总于可以实现只关闭程序中打开的,,,我自己测试了,是可以实现的,各位也可以copy去试试,.....
分类:
其他好文 时间:
2014-05-16 22:55:43
阅读次数:
301
Given a string S, find the longest palindromic
substring in S. You may assume that the maximum length of S is 1000, and there
exists one unique longes...
分类:
其他好文 时间:
2014-05-16 21:15:37
阅读次数:
454
perseverance n坚持不懈 耐性carefree adj 无忧无虑的
不负责任的interaction n互动 交流confidence n信心 密码 adj 诈骗的nomination n提名任命
分类:
其他好文 时间:
2014-05-14 08:49:14
阅读次数:
223
分享一个Python获取远程文件大小的函数代码,简单实用,是学习python编程的基础实例。代码:def getRemoteFileSize(url,
proxy=None):""" 通过content-length头获取远程文件大小url - 目标文件URLproxy - 代理 """opener...
分类:
编程语言 时间:
2014-05-14 06:53:17
阅读次数:
615
不是很明白出题人的意图,其实这道题用java的话简直是太简单了,用split处理一下,得到所有单词的一个数组,然后求最后一个的长度就行了。我个人觉得java里最成功的函数就是split了,我做工程时几乎总能用到它,方便强大。
c++里面稍微复杂一些,不过这也算是最简单的字符串的问题了。函数的接口决定了字符串的长度是未知的,要自己循环找一下,然后从尾向头找不等于空格的字符,找到了就找到了最后一个单...
分类:
其他好文 时间:
2014-05-13 15:40:48
阅读次数:
222
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:
其他好文 时间:
2014-05-13 14:59:51
阅读次数:
356
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:
其他好文 时间:
2014-05-13 13:54:14
阅读次数:
463
中心节点就是树的中心,2遍dfs求到树的直径,而中心一定在直径上,顺着直径找到中心就够了。
然后可以一遍树形DP找到最小值或者二分+判断是否访问到叶子节点。
#include
#include
#include
#include
using namespace std;
struct node
{
int next;
int power;
int length...
分类:
其他好文 时间:
2014-05-13 11:28:38
阅读次数:
306