摘要: 信创项目的推进顺序,通常是"底座—应用—外设":先换芯片和操作系统,再改造 OA、公文、合同这些业务系统,最后联调打印机、扫描仪、高拍仪。夹在应用与外设之间,还有一类东西因为太寻常而被漏掉——文档控件。 在 Windows 上,网页里直接编辑文件是理所当然的能力。做 OA、公文、合同系统的团队,随手 阅读全文
posted @ 2026-11-16 10:16 ziwuxian 阅读(2) 评论(0) 推荐(0)
摘要: 在国产 OA 的开发与实施中,文档编辑往往是返工较集中的一个环节。问题通常不出在产品本身,而是选型时没有先把约束写清楚:公文打印必须与本地 WPS 一致、文档不能出内网、一套代码要同时覆盖 Windows 与国产终端。这三条一旦成为验收项,可选的路线会迅速收窄。 本文按“约束—对象—路线—实施—验收 阅读全文
posted @ 2026-11-16 09:29 ziwuxian 阅读(3) 评论(0) 推荐(0)
摘要: PageOffice 是一款实用的在线文档编辑工具,它让开发者能够轻松地向 Word 文档的特定部分动态地插入数据。在 PageOffice 中,这类特定部分主要涉及两个关键概念:数据区域(DataRegion)和数据标签(DataTag)。 1. 基本理念 数据区域:数据区域实际上是一种特殊的 W 阅读全文
posted @ 2023-04-10 17:44 ziwuxian 阅读(2298) 评论(0) 推荐(0)
摘要: #!/bin/sh curuser=`w -h | awk 'NR==1' | awk '{print $1}'` su - $curuser -c /etc/profile.d/xxxx.sh 阅读全文
posted @ 2022-12-22 11:31 ziwuxian 阅读(294) 评论(0) 推荐(0)
摘要: 1 自定义MyHttp类 class MyHttp: NSObject, URLSessionDelegate { // 使用URLSession请求数据 func httpGet(request: URLRequest, completionHandler: @escaping (Data?, U 阅读全文
posted @ 2022-05-19 15:21 ziwuxian 阅读(400) 评论(0) 推荐(0)
摘要: 1. 右击你的工程(Project)2. 属性(Properties)3. 点击运行(RUN)4. 在VM Options属性框中填入: -Djava.library.path="你的dll文件的路径"5. 确定(Ok) 阅读全文
posted @ 2022-01-26 10:45 ziwuxian 阅读(249) 评论(0) 推荐(0)
摘要: 一、注意事项 1、正确顺序是先插入U盘启动盘,再打开虚拟机,否则虚拟机无法检测到U盘;2、如果已经打开虚拟机,则需关闭,插入U盘后重新开启。二、设置方法:1、插入U盘启动盘,打开VMware,选中要设置的虚拟机,点击“编辑虚拟机设置”; 2、点击”添加”,选择“硬盘”,下一步; 3、磁盘类型保持默认 阅读全文
posted @ 2022-01-11 10:34 ziwuxian 阅读(24624) 评论(0) 推荐(1)
摘要: 参考链接: https://blog.csdn.net/qq_26779635/article/details/103574517 https://www.jianshu.com/p/1d020b01177c 1. 首先把vmware中的linux关机,然后打开设置-> 硬盘-> 扩展: 2. 打开 阅读全文
posted @ 2021-11-19 16:00 ziwuxian 阅读(1864) 评论(0) 推荐(0)
摘要: 现象: 原因及解决方法:webview嵌入H5中功能受影响,为缓存导致,没有开启local storage。 // 开启支持localstorage webView.getSettings().setDomStorageEnabled(true); webView.getSettings().set 阅读全文
posted @ 2021-10-15 17:52 ziwuxian 阅读(224) 评论(0) 推荐(0)
摘要: 计算机硬件有两种储存数据的方式:大端字节序(big endian)和小端字节序(little endian)。 举例来说,数值0x2211使用两个字节储存:高位字节是0x22,低位字节是0x11。 大端字节序:高位字节在前,低位字节在后,这是人类读写数值的方法。 小端字节序:低位字节在前,高位字节在 阅读全文
posted @ 2021-09-09 13:17 ziwuxian 阅读(230) 评论(0) 推荐(0)
摘要: 编写一个HelloWorld程序 #include <stdio.h> #include <stdlib.h> int main(int argc,char **argv) { while(1) { printf("hello world\n"); sleep(2);//2s } } gcc编译生成 阅读全文
posted @ 2021-06-18 14:07 ziwuxian 阅读(343) 评论(0) 推荐(0)
摘要: 打开或者新建工程出现报错Could not Get’https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.5.3/gradle-3.5.3.pom’. Received status code 400 fro 阅读全文
posted @ 2021-05-16 10:36 ziwuxian 阅读(2395) 评论(0) 推荐(0)
摘要: 1. 在docsify文档目录(比如:docs)下,创建genSidebar.js,拷贝下面的代码到genSidebar.js中保存; var sidebarTxt='* [首页](/)\n'; var path = require('path'); var curPath = path.resol 阅读全文
posted @ 2021-02-08 22:10 ziwuxian 阅读(1004) 评论(0) 推荐(0)
摘要: 代码: mVerticalScrollbar = new QScrollBar(this); mHorizontalScrollbar = new QScrollBar(this); mHorizontalScrollbar->setOrientation(Qt::Horizontal); 执行结果 阅读全文
posted @ 2021-02-03 09:42 ziwuxian 阅读(938) 评论(0) 推荐(1)
摘要: #include <iostream> #include <string> using namespace std; template <class T> void MySwap(T &a, T &b){ T temp = a; a = b; b = temp; } template <class 阅读全文
posted @ 2021-01-30 12:40 ziwuxian 阅读(138) 评论(0) 推荐(0)
摘要: #include <ft2build.h> #include FT_FREETYPE_H #include <freetype/freetype.h> #include <freetype/ftglyph.h> int main() { FT_Library pFTLib = NULL; FT_Fa 阅读全文
posted @ 2021-01-12 11:27 ziwuxian 阅读(511) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <malloc.h> struct Hello{ void (*sayHello)(char* name); }; void sayHello(char* name){ printf("hello, %s\n",name); } int mai 阅读全文
posted @ 2020-12-28 12:04 ziwuxian 阅读(2029) 评论(0) 推荐(0)
摘要: typedef struct Person Person; typedef void (*Method)(Person *my_self); typedef struct Person { char name[12]; int age; int sex; Method behavior1; // 行 阅读全文
posted @ 2020-12-08 09:48 ziwuxian 阅读(108) 评论(0) 推荐(0)
摘要: /**设计模式 行为模式 观察者模式 凤姐与粉丝 *2013年7月28 cheqiang87@qq.com * */ #include <stdio.h> #include <stdlib.h> struct Fans { struct Fengjie* fengjie; void ( *updat 阅读全文
posted @ 2020-12-07 17:37 ziwuxian 阅读(281) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> typedef struct node { char name[20]; struct node *prior, *next; } stud; stud* creat( int n ) { stud *p, *h, *s; 阅读全文
posted @ 2020-11-17 09:39 ziwuxian 阅读(298) 评论(0) 推荐(0)