first commit

This commit is contained in:
zwt13703
2026-05-13 19:22:46 +08:00
commit b263abdb78
16618 changed files with 9719307 additions and 0 deletions
+230
View File
@@ -0,0 +1,230 @@
# AGENTS.md
This document is for coding agents and automation tools working in this repository.
## Project Overview
- Project: `kkFileView`
- Stack: Spring Boot + Freemarker + Redis/Redisson (optional) + JODConverter + front-end preview pages
- Main module: `server`
- Default local URL: `http://127.0.0.1:8012/`
- Production demo: `https://file.kkview.cn/`
This repository is a document preview service. Most user-facing work falls into one of these areas:
1. preview routing and file-type dispatch
2. conversion pipelines for Office / PDF / CAD / archives / images
3. Freemarker preview templates under `server/src/main/resources/web`
4. CI, E2E fixtures, and production deployment automation
## Repository Layout
- `server/`
Main application code, templates, config, packaged artifacts
- `server/src/main/java/cn/keking/`
Core Java application code
- `server/src/main/resources/web/`
Freemarker preview templates
- `server/src/main/resources/static/`
Front-end static assets used by preview pages
- `server/src/main/config/`
Main runtime config files
- `server/src/main/bin/`
Local startup/dev scripts
- `tests/e2e/`
Playwright-based end-to-end tests and fixtures
- `.github/workflows/`
CI and deployment workflows
- `.github/scripts/`
Windows production deployment scripts over WinRM
## Key Entry Points
- App entry:
- `server/src/main/java/cn/keking/ServerMain.java`
- Preview controller:
- `server/src/main/java/cn/keking/web/controller/OnlinePreviewController.java`
- File attribute parsing / request handling:
- `server/src/main/java/cn/keking/service/FileHandlerService.java`
- Office preview flow:
- `server/src/main/java/cn/keking/service/impl/OfficeFilePreviewImpl.java`
- PDF preview flow:
- `server/src/main/java/cn/keking/service/impl/PdfFilePreviewImpl.java`
- Archive extraction:
- `server/src/main/java/cn/keking/service/CompressFileReader.java`
## Important Templates
- `server/src/main/resources/web/compress.ftl`
Archive directory/tree preview page
- `server/src/main/resources/web/pdf.ftl`
PDF preview container page
- `server/src/main/resources/web/picture.ftl`
Single image preview page
- `server/src/main/resources/web/officePicture.ftl`
Office/PDF image-mode preview page
- `server/src/main/resources/web/officeweb.ftl`
Front-end xlsx/html preview page
When debugging UX issues, inspect the exact template selected by the preview flow first. Do not assume two similar preview pages share the same CSS or behavior.
## Local Development
### Recommended dev mode
Use:
```bash
./server/src/main/bin/dev.sh
```
This runs Spring Boot with resource hot reload using:
- `spring-boot:run`
- `-Dspring-boot.run.addResources=true`
- `server/src/main/config/application.properties`
For front-end template or CSS/JS edits, prefer `dev.sh` over rebuilding jars repeatedly.
### Jar build
```bash
mvn -q -pl server -DskipTests package
```
### Main test command used in CI
```bash
mvn -B package -Dmaven.test.skip=true --file pom.xml
```
## Configuration Notes
Primary runtime config used by the scripts and defaults committed in this repository:
- `server/src/main/config/application.properties`
Optional environment-specific config:
- `server/src/main/config/test.properties`
Be careful: the repository defaults point at `application.properties`. If a deployment environment explicitly starts the app with `test.properties`, treat that as an environment-specific override rather than the repository default. Always verify the actual startup command before assuming which config file is active.
Examples of config that commonly affects behavior:
- `office.preview.type`
- `office.preview.switch.disabled`
- `trust.host`
- `not.trust.host`
- `file.upload.disable`
## Preview Behavior Notes
- Office files can render in `pdf` mode or `image` mode.
- PDF preview uses `pdf.ftl`.
- Single images use `picture.ftl`.
- Office image-mode previews use `officePicture.ftl`.
- Archive previews are not simple file lists; they can load nested previews via the archive UI in `compress.ftl`.
When changing preview defaults, verify both:
1. server-side default config
2. front-end mode-switch links/buttons
## Archive Preview Notes
Archive preview is a sensitive area because it combines:
- directory tree generation
- extraction to disk
- nested preview URL construction
- inline iframe loading
If an archive-contained Office file gets stuck on loading:
1. verify the extracted file on disk is not corrupted
2. verify conversion output exists
3. verify the preview template points to the correct generated artifact
4. verify the running Office manager / LibreOffice process is healthy
Do not assume “loading forever” is a front-end issue.
## Testing
### Targeted Java tests
Example targeted test:
```bash
mvn -q -pl server -Dtest=PdfViewerCompatibilityTests test
```
### E2E tests
See:
- `tests/e2e/README.md`
PR E2E currently covers:
- common preview smoke tests
- Office smoke tests
- archive smoke tests
- basic security and performance checks
## CI / Deployment
### CI
- `maven.yml`
- builds on `push` to `master`
- builds on PRs targeting `master`
- `pr-e2e-mvp.yml`
- runs E2E on PRs to `master`
### Production deployment
- `master-auto-deploy.yml`
- triggers on push to `master`
- deploys to Windows over WinRM
Deployment script:
- `.github/scripts/remote_windows_deploy.ps1`
Important operational detail:
- the committed `bin/startup.bat` in this repo points at `..\config\application.properties`
- if production uses a different config file, treat that as an out-of-repo server override rather than a repository default
If a production config change “does not take effect”, inspect the actual startup command or deployed `startup.bat` on the server first and verify which config file path it is using.
## Working Conventions For Agents
- Prefer minimal, targeted changes over wide refactors.
- Inspect the active preview template before editing CSS.
- Verify whether behavior is controlled by config, back-end routing, or front-end template logic before changing code.
- For production/debug tasks, distinguish clearly between:
- repository source defaults
- deployed server config
- runtime process arguments
- When changing defaults, mention whether the change affects:
- local dev only
- repository default config
- deployed server config
- existing query-param overrides
## Suggested Validation Checklist
For preview-related changes, validate as many of these as apply:
1. target URL returns `200`
2. selected template is the expected one
3. generated intermediate artifacts exist when required
4. target UI element or style change is actually present in rendered HTML
5. targeted Java test passes
6. relevant E2E path is still compatible
## Non-Goals
This file is not a replacement for user-facing product documentation. Keep it focused on helping coding agents navigate the codebase and make correct changes faster.
+4
View File
@@ -0,0 +1,4 @@
FROM keking/kkfileview-base:5.0.0
ADD server/target/kkFileView-*.tar.gz /opt/
ENV KKFILEVIEW_BIN_FOLDER=/opt/kkFileView-5.0.0/bin
ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-5.0.0/config/application.properties","-jar","/opt/kkFileView-5.0.0/bin/kkFileView-5.0.0.jar"]
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+482
View File
@@ -0,0 +1,482 @@
# kkFileView
文档在线预览项目解决方案,项目使用流行的spring boot搭建,易上手和部署。万能的文件预览开源项目,基本支持主流文档格式预览,如:
1. 支持 doc, docx, xls, xlsx, xlsm, ppt, pptx, csv, tsv, dotm, xlt, xltm, dot, dotx,xlam, xla ,pages ,pptm 等 Office 办公文档
2. 支持 wps, dps, et, ett, wpt 等国产 WPS Office 办公文档
3. 支持 odt, ods, ots, odp, otp, six, ott, fodt, fods 等OpenOffice、LibreOffice 办公文档
4. 支持 vsd, vsdx 等 Visio 流程图文件
5. 支持 wmf, emf 等 Windows 系统图像文件
6. 支持 psd ,eps 等 Photoshop 软件模型文件
7. 支持 pdf ,ofd, rtf 等文档
8. 支持 xmind 软件模型文件
9. 支持 bpmn 工作流文件
10. 支持 eml, msg 邮件文件
11. 支持 epub 图书文档
12. 支持 obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim 等 3D 模型文件
13. 支持 dwg, dxf, dwf, iges , igs, dwt, dng, ifc, dwfx, stl, cf2, plt 等 CAD 模型文件
14. 支持 txt, xml(渲染), xbrl(渲染), md(渲染), java, php, py, js, css 等所有纯文本
15. 支持 zip, rar, jar, tar, gzip, 7z 等压缩包
16. 支持 jpg, jpeg, png, gif, bmp, ico, jfif, webp ,heic ,heif等图片预览(翻转,缩放,镜像)
17. 支持 tif, tiff 图信息模型文件
18. 支持 tga 图像格式文件
19. 支持 svg 矢量图像格式文件
20. 支持 mp3,wav,mp4,flv 等音视频格式文件
21. 支持 avi,mov,rm,webm,ts,rm,mkv,mpeg,ogg,mpg,rmvb,wmv,3gp,ts 等视频格式转码预览
22. 支持 dcm 等医疗数位影像预览
23. 支持 drawio 绘图预览
> 基于当前良好的架构模式,支持的文件类型在进一步丰富中
### 项目特性
- 使用 spring-boot 开发,预览服务搭建部署非常简便
- rest 接口提供服务,跨语言、跨平台特性(java,php,python,go,php....)都支持,应用接入简单方便
- 抽象预览服务接口,方便二次开发,非常方便添加其他类型文件预览支持
- 最最重要 Apache 协议开源,代码 pull 下来想干嘛就干嘛
### 官网及文档
地址:[https://kkview.cn](https://kkview.cn/)
### 在线体验
> 请善待公共服务,会不定时停用
地址:[https://file.kkview.cn](https://file.kkview.cn)
### 项目文档(Project documentation
1. 详细使用文档:https://kkview.cn/zh-cn/docs/home.html
### 联系我们,加入组织
> 我们会用心回答解决大家在项目使用中的问题,也请大家在提问前至少 Google 或 baidu 过,珍爱生命远离无效的交流沟通
<img src="./doc/gitee星球.png/" width="60%">
### 文档预览效果
#### 1. 文本预览
支持所有类型的文本文档预览, 由于文本文档类型过多,无法全部枚举,默认开启的类型如下 txt,html,htm,asp,jsp,xml,xbrl,json,properties,md,gitignore,log,java,py,c,cpp,sql,sh,bat,m,bas,prg,cmd
文本预览效果如下
![文本预览效果如下](./doc/img/preview/preview-text.png)
#### 2. 图片预览
支持jpgjpeg,png,gif等图片预览(翻转,缩放,镜像),预览效果如下
![图片预览](./doc/img/preview/preview-image.png)
#### 3. word文档预览
支持doc,docx文档预览,word预览有两种模式:一种是每页word转为图片预览,另一种是整个word文档转成pdf,再预览pdf。两种模式的适用场景如下
* 图片预览:word文件大,前台加载整个pdf过慢
* pdf预览:内网访问,加载pdf快
图片预览模式预览效果如下
![word文档预览1](./doc/img/preview/preview-doc-image.png)
pdf预览模式预览效果如下
![word文档预览2](./doc/img/preview/preview-doc-pdf.png)
#### 4. ppt文档预览
支持ppt,pptx文档预览,和word文档一样,有两种预览模式
图片预览模式预览效果如下
![ppt文档预览1](./doc/img/preview/preview-ppt-image.png)
pdf预览模式预览效果如下
![ppt文档预览2](./doc/img/preview/preview-ppt-pdf.png)
#### 5. pdf文档预览
支持pdf文档预览,和word文档一样,有两种预览模式
图片预览模式预览效果如下
![pdf文档预览1](./doc/img/preview/preview-pdf-image.png)
pdf预览模式预览效果如下
![pdf文档预览2](./doc/img/preview/preview-pdf-pdf.png)
#### 6. excel文档预览
支持xls,xlsx文档预览,预览效果如下
![excel文档预览](./doc/img/preview/preview-xls.png)
#### 7. 压缩文件预览
支持zip,rar,jar,tar,gzip等压缩包,预览效果如下
![压缩文件预览1](./doc/img/preview/preview-zip.png)
可点击压缩包中的文件名,直接预览文件,预览效果如下
![压缩文件预览2](./doc/img/preview/preview-zip-inner.png)
#### 8. 多媒体文件预览
理论上支持所有的视频、音频文件,由于无法枚举所有文件格式,默认开启的类型如下
mp3,wav,mp4,flv
视频预览效果如下
![多媒体文件预览1](./doc/img/preview/preview-video.png)
音频预览效果如下
![多媒体文件预览2](./doc/img/preview/preview-audio.png)
#### 9. CAD文档预览
支持CAD dwg文档预览,和word文档一样,有两种预览模式
图片预览模式预览效果如下
![cad文档预览1](./doc/img/preview/preview-cad-image.png)
pdf预览模式预览效果如下
![cad文档预览2](./doc/img/preview/preview-cad-pdf.png)
#### 10. Excel文件纯前端渲染效果
![Excel文件纯前端渲染效果](./doc/img/preview/preview-xlsx-web.png)
#### 11. 流程图bpmn文件预览效果
![流程图bpmn文件预览效果](./doc/img/preview/preview-bpmn.png)
#### 12. 3D模型文件预览效果:
![3D模型文件预览效果](./doc/img/preview/preview-3ds.png)
#### 13. dcm医疗数位影像文件预览效果:
![dcm医疗数位影像文件预览效果](./doc/img/preview/preview-dcm.png)
#### 14. drawio流程图预览效果:
![drawio流程图预览效果](./doc/img/preview/preview-drawio.png)
考虑说明篇幅原因,就不贴其他格式文件的预览效果了,感兴趣的可以参考下面的实例搭建下
### 快速开始
> 项目使用技术
- spring boot [spring boot开发参考指南](http://www.kailing.pub/PdfReader/web/viewer.html?file=springboot)
- freemarker
- redisson
- jodconverter
> 依赖外部环境
- redis (可选,默认不用)
- OpenOffice 或者 LibreOffice( Windows 下已内置,Linux 脚本启动模式会自动安装,Mac OS 下需要手动安装)
1. 第一步:pull 项目 https://github.com/kekingcn/file-online-preview.git
3. 第二步:运行 ServerMain 的 main 方法,服务启动后,访问 http://localhost:8012/
会看到如下界面,代表服务启动成功
![输入图片说明](https://gitee.com/uploads/images/2017/1213/100221_ea15202e_492218.png "屏幕截图.png")
### 历史更新记录
#### > 2026年04月14日,v5.0.0 版本发布
#### 优化内容
1. xlsx 前端解析优化 - 提升Excel文件前端渲染性能
2. 图片解析优化 - 改进图片处理机制
3. tif 解析优化 - 增强TIF格式支持
4. svg 解析优化 - 优化SVG矢量图渲染
5. json 解析优化 - 改进JSON文件处理
6. ftp多客户端接入优化 - 提升FTP服务兼容性
7. 首页目录访问优化 - 采用post服务端分页机制
8. marked 解析优化 - 改进Markdown渲染
9. 压缩包预览页重构为单工作区布局,支持目录折叠与右侧内嵌预览
10. 优化压缩包内文件类型标识,以及单图预览页的展示样式
11. 补充面向工程自动化与编码代理的仓库说明文档
12. 重构演示门户页面,包括首页、接入说明、版本记录与赞助页
#### 新增功能
1. msg邮件解析 - 新增msg格式邮件文件预览支持
2. heic图片解析 - 新增HEIC格式图片预览支持
3. 跨域方法 - 新增跨域处理机制
4. 高亮方法 - 新增文本高亮功能
5. 页码方法 - 新增文档页码控制
6. AES加密方法 - 新增AES加密支持
7. Basic鉴权方法 - 新增Basic认证机制
8. 秘钥方法 - 新增密钥管理功能
9. 防重复转换 - 新增重复文件转换防护
10. 异步等待 - 新增异步处理机制
11. 上传限制 - 新增不支持文件上传限制
12. cadviewer转换方法 - 新增CAD查看器转换功能
#### 修复问题
1. 压缩包路径问题 - 修复压缩包内部路径处理
2. 安全问题 - 修复安全漏洞
3. 图片水印不全问题 - 修复水印显示不完整
4. SSL自签证书接入问题 - 修复自签名证书兼容性
5. 修复压缩包内 Office 文件在重复解压后被追加写坏,导致一直卡在加载中的问题
6. Office 默认预览改为 PDF 模式,且 PDF 预览默认打开缩略图侧栏
7. 启动脚本改为自动发现当前发布包中的 jar,移除过时的硬编码 jar 名称
8. 更新 Docker 与发布辅助文档,使其与 5.0.0 发布线保持一致
9. 修复 OFD 表格竖线溢出导致的渲染异常
10. 修复 PDF.js 兼容性补丁,避免兼容环境下的预览报错
#### 更新内容
1. JDK版本要求 - 强制要求JDK 21及以上版本
2. pdf前端解析更新 - 升级PDF前端渲染组件
3. odf前端解析更新 - 升级ODF文档前端渲染
4. 3D模型前端解析更新 - 升级3D模型查看器
5. pdf后端异步转换优化 - 实现多线程异步转换
6. tif后端异步转换优化 - 实现多线程异步转换
7. 视频后端异步转换优化 - 实现多线程异步转换
8. CAD后端异步转换优化 - 实现多线程异步转换
9. 默认预览配置策略调整 - Office 预览默认切换为 PDF 模式,默认隐藏图片/PDF 模式切换按钮,且 PDF 预览默认展开缩略图侧栏。若升级后仍需保持旧的图片优先体验,请显式设置 `office.preview.type=image``office.preview.switch.disabled=false`
10. 信任域名配置匹配策略扩展 - `trust.host` 及相关规则现已支持通配符和 CIDR 匹配,升级后如果你依赖域名/IP 模式匹配,需要重新检查白名单和黑名单的实际生效范围
#### > 2025年01月16日,v4.4.0 版本发布
### 新增功能
1. xlsx 新增支持打印功能
2. 配置文件新增启用 GZIP 压缩
3. CAD 格式新增支持转换成 SVG 和 TIF 格式,新增超时结束、线程管理
4. 新增删除文件使用验证码校验
5. 新增 xbrl 格式预览支持
6. PDF 预览新增控制签名、绘图、插图控制、搜索定位页码、定义显示内容等功能
7. 新增 CSV 格式前端解析支持
8. 新增 ARM64 下的 Docker 镜像支持
9. 新增 Office 预览支持转换超时属性设置功能
10. 新增预览文件 host 黑名单机制
### 优化
1. 优化 OFD 移动端预览 页面不自适应
2. 更新 xlsx 前端解析组件,加速解析速度
3. 升级 CAD 组件
4. office 功能调整,支持批注、转换页码限制、生成水印等功能
5. 升级 markdown 组件
6. 升级 dcm 解析组件
7. 升级 PDF.JS 解析组件
8. 更换视频播放插件为 ckplayer
9. tif 解析更加智能化,支持被修改的图片格式
10. 针对大小文本文件检测字符编码的正确率,处理并发隐患
11. 重构下载文件的代码,新增通用的文件服务器认证访问的设计
12. 更新 bootstrap 组件,并精简掉不需要的文件
13. 更新 epub 版本,优化 epub 显示效果
14. 解决定时清除缓存时,对于多媒体类型文件,只删除了磁盘缓存文件
15. 自动检测已安装 Office 组件,增加 LibreOffice 7.5 & 7.6 版本默认路径
16. 修改 drawio 默认为预览模式
17. 新增 PDF 线程管理、超时管理、内存缓存管理,更新 PDF 解析组件版本
18. 优化 Dockerfile,支持真正的跨平台构建镜像
### 修复
1. 修复 forceUpdatedCache 属性设置,但本地缓存文件不更新的问题
2. 修复 PDF 解密加密文件转换成功后后台报错的问题
3. 修复 BPMN 不支持跨域的问题
4. 修复压缩包二级反代特殊符号错误问题
5. 修复视频跨域配置导致视频无法预览的问题
6. 修复 TXT 文本类分页二次加载问题
7. 修复 Drawio 缺少 Base64 组件的问题
8. 修复 Markdown 被转义问题
9. 修复 EPUB 跨域报错问题
10. 修复 URL 特殊符号问题
11. 修复压缩包穿越漏洞
12. 修复压缩获取路径错误、图片合集路径错误、水印问题等 BUG
13. 修复前端解析 XLSX 包含 EMF 格式文件错误问题
#### > 2023年07月05日,v4.3.0 版本发布
#### 新增功能:
1. 新增dcm等医疗数位影像预
2. 新增drawio绘图预览
3. 新增开启缓存的情况下重新生成的命令 &forceUpdatedCache=true
4. 新增dwg CAD文件预览
5. 新增PDF文件支持密码功能
6. 新增PDF文件生成图片的dpi自定义配置
7. 新增删除转换后OFFICE、CAD、TIFF、压缩包源文件配置 默认开启 节约磁盘空间
8. 新增前端解析xlsx方法
9. 新增pages,eps, iges , igs, dwt, dng, ifc, dwfx, stl, cf2, plt等格式支持
#### 优化:
1. 调整生成的PDF文件 文件名称添加文件后缀 防止生成同名文件
2. 调整SQL文件预览方式
3. 优化OFD预览兼容性
4. 美化TXT文本 分页框的显示
5. 升级Linux、Docker版内置office为LibreOffice-7.5.3版本
6. 升级Windows版内置office为LibreOffice-7.5.3 Portable版本
7. 其他功能优化
#### 修复:
1. 修复反代情况下压缩包获取路径错误
2. 修复预览图片的url中如果包含&会导致.click报错
3. 修复OFD预览部分已知问题
4. 修复预览压缩包时,如果点击的是文件目录(树节点),页面会报错
5. 其他已知问题修复
#### > 2023年04月18日,v4.2.1 版本发布
#### 更新日志:
1. 修复 dwg 文件预览报空指针的 bug
#### > 2023年04月13日,v4.2.0 版本发布
#### 新增功能:
1. 新增 SVG 格式文件预览支持
2. 新增加密的 Office 文件预览支持
3. 新增加密的 zip、rar 等压缩包文件预览支持
4. 新增 xmind 软件模型文件预览支持
5. 新增 bpmn 工作流模型文件预览支持
6. 新增 eml 邮件文件预览支持
7. 新增 epub 电子书文件预览支持
8. 新增 dotm,ett,xlt,xltm,wpt,dot,xlam,xla,dotx 等格式的办公文档预览支持
9. 新增 obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim 等 3D 模型文件预览支持
10. 新增可配置限制高风险文件上传的功能,比如 exe 文件
11. 新增可配置站点的备案信息
12. 新增演示站点删除文件需要密码的功能
#### 优化:
1. 文本文档预览加入缓存
2. 美化 404、500 报错页
3. 优化发票等 ofd 文件预览的印证渲染兼容性
4. 移除 office-plugin 模块, 使用新版 jodconverter组件
5. 优化 Excel 文件的预览效果
6. 优化 CAD 文件的预览效果
7. 更新 xstream 、junrar、pdfbox 等依赖的版本
8. 更新 TIF 文件转换 PDF 的插件,添加转换缓存
9. 优化演示页 UI 部署
10. 压缩包文件预览支持目录
#### 修复:
1. 修复部分接口 XSS 问题
2. 修复控制台打印的演示地址不跟着 content-path 配置走的问题
3. 修复 ofd 文件预览跨域问题
4. 修复内部自签证书 https 协议 url 文件无法下载的问题
5. 修复特殊符号的文件无法删除的问题
6. 修复 PDF 转图片,内存无法回收导致的 OOM
7. 修复 xlsx7.4 以上版本文件预览乱码的问题
8. 修复 TrustHostFilter 未拦截跨域接口的问题,这是一个安全问题,有使用到 TrustHost 功能的务必升级
9. 修复压缩包文件预览在 Linux 系统下文件名乱码的问题
10. 修复 ofd 文件预览页码只能显示10页的问题
#### > 2022年12月14日,v4.1.0 版本发布
1. 全新首页视觉 @wsd7747
2. tif图片预览兼容多页tif的pdf转换、jpg转换,以及jpg在线多页预览功能 @zhangzhen1979
3. 优化docker构建方案,使用分层构建方式 @yl-yue
4. 实现基于userToken缓存加密文件 @yl-yue
5. 实现加密word、ppt、excel文件预览 @yl-yue
6. Linux & Docker镜像升级LibreOffice 7.3
7. 更新OFD预览组件、更新tif预览组件、更新PPT水印支持
8. 大量其他升级优化 & 已知问题修复
感谢 @yl-yue @wsd7747 @zhangzhen1979 @tomhusky @shenghuadun @kischn.sun 的代码贡献
#### > 2021年7月6日,v4.0.0 版本发布
1. 底层集成OpenOffice替换为LibreOfficeOffice文件兼容性增强,预览效果提升
2. 修复压缩文件目录穿越漏洞
3. 修复PPT预览使用PDF模式无效
4. 修复PPT图片预览模式前端显示异常
5. 新增功能:首页文件上传功能可通过配置实时开启或禁用
6. 优化增加Office进程关闭日志
7. 优化Windows环境下,查找Office组件逻辑(内置的LibreOffice优先)
8. 优化启动Office进程改同步执行
#### > 2021年6月17日,v3.6.0 版本发布
ofd 类型文件支持版本,本次版本重要功能均由社区开发贡献,感谢 @gaoxingzaq@zhangxiaoxiao9527 的代码贡献
1. 新增 ofd 类型文件预览支持,ofd 是国产的类似 pdf 格式的文件
2. 新增了 ffmpeg 视频文件转码预览支持,打开转码功能后,理论上支持所有主流视频的预览,如 rm、rmvb、flv 等
3. 美化了 ppt、pptx 类型文件预览效果,比之前版本好看太多
4. 更新了 pdfbox、xstream、common-io 等依赖的版本
#### > 2021年1月28日
2020农历年最后一个版本发布,主要包含了部分 UI 改进,和解决了 QQ 群友、 Issue 里反馈的 Bug 修复,最最重要的是发个新版,过个好年
1. 引入galimatias,解决不规范文件名导致文件下载异常
2. 更新index接入演示界面UI风格
3. 更新markdown文件预览UI风格
4. 更新XML文件预览UI风格,调整类文本预览架构,更方便扩展
5. 更新simTxT文件预览UI风格
6. 调整多图连续预览上下翻图的UI
7. 采用apache-common-io包简化所有的文件下载io操作
8. XML文件预览支持切换纯文本模式
9. 增强url base64解码失败时的提示信息
10. 修复导包错误以及图片预览 bug
11. 修复发行包运行时找不到日志目录的问题
12. 修复压缩包内多图连续预览的bug
13. 修复大小写文件类型后缀没通用匹配的问题
14. 指定Base64转码采用Apache Commons-code中的实现,修复base64部分jdk版本下出现的异常
15. 修复类文本类型HTML文件预览的bug
16. 修复:dwg文件预览时无法在jpg和pdf两种类型之间切换
17. escaping of dangerous characters to prevent reflected xss
18. 修复重复编码导致文档转图片预览失败的问题&编码规范
#### > 2020年12月27日
2020年年终大版本更新,架构全面设计,代码全面重构,代码质量全面提升,二次开发更便捷,欢迎拉源码品鉴,提issue、pr共同建设
1. 架构模块调整,大量的代码重构,代码质量提升N个等级,欢迎品鉴
2. 增强XML文件预览效果,新增XML文档数结构预览
3. 新增markdown文件预览支持,预览支持md渲染和源文本切换支持
4. 切换底层web server为jetty,解决这个issuehttps://github.com/kekingcn/kkFileView/issues/168
5. 引入cpdetector,解决文件编码识别问题
6. url采用base64+urlencode双编码,彻底解决各种奇葩文件名预览问题
7. 新增配置项office.preview.switch.disabled,控制offic文件预览切换开关
8. 优化文本类型文件预览逻辑,采用Base64传输内容,避免预览时再次请求文件内容
9. office预览图片模式禁用图片放大效果,达到图片和pdf预览效果一致的体验
10. 直接代码静态设置pdfbox兼容低版本jdk,在IDEA中运行也不会有警告提示
11. 移除guava、hutool等非必须的工具包,减少代码体积
12. Office组件加载异步化,提速应用启动速度最快到5秒内
13. 合理设置预览消费队列的线程数
14. 修复压缩包里文件再次预览失败的bug
15. 修复图片预览的bug
#### > 2020年05月20日
1. 新增支持全局水印,并支持通过参数动态改变水印内容
2. 新增支持CAD文件预览
3. 新增base.url配置,支持使用nginx反向代理和使用context-path
4. 支持所有配置项支持从环境变量里读取,方便Docker镜像部署和集群中大规模使用
5. 支持配置限信任站点(只能预览来自信任点的文件源),保护预览服务不被滥用
6. 支持配置自定义缓存清理时间(cron表达式)
7. 全部能识别的纯文本直接预览,不用再转跳下载,如.md .java .py等
8. 支持配置限制转换后的PDF文件下载
9. 优化maven打包配置,解决 .sh 脚本可能出现换行符问题
10. 将前端所有CDN依赖放到本地,方便没有外网连接的用户使用
11. 首页评论服务由搜狐畅言切换到Gitalk
12. 修复url中包含特殊字符可能会引起的预览异常
13. 修复转换文件队列addTask异常
14. 修复其他已经问题
15. 官网建设:[https://kkview.cn](https://kkview.cn/)
16. 官方Docker镜像仓库建设:[https://hub.docker.com/r/keking/kkfileview](https://hub.docker.com/r/keking/kkfileview)
#### > 2019年06月18日
1. 支持自动清理缓存及预览文件
2. 支持http/https下载流url文件预览
3. 支持FTP url文件预览
4. 加入Docker构建
#### > 2019年04月08日
1. 缓存及队列实现抽象,提供JDK和REDIS两种实现(REDIS成为可选依赖)
2. 打包方式提供zip和tar.gz包,并提供一键启动脚本
#### > 2018年01月19日
1. 大文件入队提前处理
1. 新增addTask文件转换入队接口
1. 采用redis队列,支持kkFIleView接口和异构系统入队两种方式
#### > 2018年01月17日
1. 优化项目结构,抽象文件预览接口,更方便的加入更多的文件类型预览支持,方便二次开发
1. 新增英文文档说明(@幻幻Fate@汝辉)贡献
1. 新增图片预览文件支持类型
1. 修复压缩包内轮播图片总是从第一张开始的问题
#### > 2018年01月12日
1. 新增多图片同时预览
1. 支持压缩包内图片轮番预览
#### > 2018年01月02日
1. 修复txt等文本编码问题导致预览乱码
1. 修复项目模块依赖引入不到的问题
1. 新增spring boot profile,支持多环境配置
1. 引入pdf.js预览doc等文件,支持doc标题生成pdf预览菜单,支持手机端预览
### 关于引用
ofd 引用于 [ofdview ](https://gitee.com/cnofd/ofdview ) 开源协议 Apache-2.0
CAD 引用于 aspose-cad 测试版本 商用请自行购买
xmind 引用于 [ xmind-embed-viewer](https://github.com/xmindltd/xmind-embed-viewer) 开源协议 MIT
epub 引用于 [ epub.js](https://github.com/futurepress/epub.js) 开源协议 BSD许可证
压缩包 引用于 [sevenzipjbinding](https://github.com/borisbrodski/sevenzipjbinding )开源协议LGPL
3D 引用于 [Online3DViewer](https://github.com/kovacsv/Online3DViewer )开源协议MIT
drawio 引用于 [drawio](https://github.com/jgraph/drawio )开源协议 Apache-2.0
bpmn流程图 引用于 [bpmn-js](https://github.com/bpmn-io/bpmn-js ) 自定义协议 保留水印 具体自行查看
dcm医疗数位影像 引用于 [dcmjs](https://github.com/dcmjs-org/dcmjs )开源协议MIT
### 使用登记
如果这个项目解决了你的实际问题,可在 https://gitee.com/kekingcn/file-online-preview/issues/IGSBV
登记下,如果节省了你的三方预览服务费用,也愿意支持下的话,可点击下方【捐助】请作者喝杯咖啡,也是非常感谢
### Stars
#### GitHub
[![Stargazers over time](https://starchart.cc/kekingcn/kkFileView.svg)](https://starchart.cc/kekingcn/kkFileView)
### 鸣谢
- 本项目诞生于[凯京集团],在取得公司高层同意后以 Apache 协议开源出来反哺社区,在此特别感谢凯京集团,以及集团领导[@唐老大](https://github.com/tangshd)的支持、@端木详笑的贡献
- 本项目已脱离公司由[KK开源社区]维护发展壮大,感谢所有给 kkFileView 提 Issue 、Pr 开发者
- 本项目引入的第三方组件已在 '关于引用' 列表列出,感谢这些项目,让 kkFileView 更出色
+371
View File
@@ -0,0 +1,371 @@
# kkFileView
### Introduction
Document online preview project solution, built using the popular Spring Boot framework for easy setup and deployment. This versatile open source project provides basic support for a wide range of document formats, including:
1. Supports Office documents such as `doc`, `docx`, `xls`, `xlsx`, `xlsm`, `ppt`, `pptx`, `csv`, `tsv`, , `dotm`, `xlt`, `xltm`, `dot`, `xlam`, `dotx`, `xla,` ,`pages` ,`pptm` etc.
2. Supports domestic WPS Office documents such as `wps`, `dps`, `et` , `ett`, ` wpt`.
3. Supports OpenOffice, LibreOffice office documents such as `odt`, `ods`, `ots`, `odp`, `otp`, `six`, `ott`, `fodt` and `fods`.
4. Supports Visio flowchart files such as `vsd`, `vsdx`.
5. Supports Windows system image files such as `wmf`, `emf`.
6. Supports Photoshop software model files such as `psd` ,`eps`.
7. Supports document formats like `pdf`, `ofd`, and `rtf`.
8. Supports software model files like `xmind`.
9. Support for `bpmn` workflow files.
10. Support for `eml` , `msg` mail files
11. Support for `epub` book documents
12. Supports 3D model files like `obj`, `3ds`, `stl`, `ply`, `gltf`, `glb`, `off`, `3dm`, `fbx`, `dae`, `wrl`, `3mf`, `ifc`, `brep`, `step`, `iges`, `fcstd`, `bim`, etc.
13. Supports CAD model files such as `dwg`, `dxf`, `dwf` `iges` ,` igs`, `dwt` , `dng` , `ifc` , `dwfx` , `stl` , `cf2` , `plt`, etc.
14. Supports all plain text files such as `txt`, `xml` (rendering), `md` (rendering), `java`, `php`, `py`, `js`, `css`, etc.
15. Supports compressed packages such as `zip`, `rar`, `jar`, `tar`, `gzip`, `7z`, etc.
16. Supports image previewing (flip, zoom, mirror) of `jpg`, `jpeg`, `png`, `gif`, `bmp`, `ico`, `jfif`, `webp`, `heic`, ,`heif` etc.
17. Supports image information model files such as `tif` and `tiff`.
18. Supports image format files such as `tga`.
19. Supports vector image format files such as `svg`.
20. Supports `mp3`,`wav`,`mp4`,`flv` .
21. Supports many audio and video format files such as `avi`, `mov`, `wmv`, `mkv`, `3gp`, and `rm`.
22. Supports for `dcm` .
23. Supports for `drawio` .
### Features
- Build with the popular frame spring boot
- Easy to build and deploy
- Basically support online preview of mainstream office documents, such as Doc, docx, Excel, PDF, TXT, zip, rar, pictures, etc
- REST API
- Abstract file preview interface so that it is easy to extend more file extensions and develop this project on your own
### Official website and DOCS
URL[https://kkview.cn](https://kkview.cn/)
### Live demo
> Please treat public service kindly, or this would stop at any time.
URL[https://file.kkview.cn](https://file.kkview.cn)
### Contact Us
> We will answer your questions carefully and solve any problems you encounter while using the project. We also kindly ask that you at least Google or Baidu before asking questions in order to save time and avoid ineffective communication. Let's cherish our lives and stay away from ineffective communication.
<img src="./doc/github星球.png/" width="50%">
### Quick Start
> Technology stack
- Spring boot [spring boot Development Reference Guide](http://www.kailing.pub/PdfReader/web/viewer.html?file=springboot)
- Freemarker
- Redisson
- Jodconverter
> Dependencies
- Redis(Optional, Unnecessary by default)
- OpenOffice or LibreOffice(Integrated on Windows, will be installed automatically on Linux, need to be manually installed on Mac OS)
1. First step`git pull https://github.com/kekingcn/kkFileView.git`
2. second stepRun the main method of `/server/src/main/java/cn/keking/ServerMain.java`. After starting,visit `http://localhost:8012/`.
## Change History
### Version 5.0.0 (April 14, 2026)
#### Improvements
1. Enhanced xlsx front-end parsing - Improved Excel file front-end rendering performance
2. Optimized image parsing - Enhanced image processing mechanism
3. Improved tif parsing - Enhanced TIF format support
4. Enhanced svg parsing - Optimized SVG vector image rendering
5. Improved json parsing - Enhanced JSON file processing
6. Optimized ftp multi-client access - Improved FTP service compatibility
7. Enhanced home page directory access - Implemented post server-side pagination mechanism
8. Improved marked parsing - Enhanced Markdown rendering
9. Redesigned archive preview into a single workspace with a collapsible tree and inline file preview
10. Improved archive preview file-type badges and single-image preview styling
11. Added an agent-focused repository guide for engineering automation and maintenance
12. Refreshed the demo portal pages, including the index, integration guide, release record, and sponsor pages
#### New Features
1. msg email parsing - Added support for msg format email file preview
2. heic image parsing - Added support for HEIC format image preview
3. Cross-domain methods - Added cross-domain processing mechanism
4. Highlighting methods - Added text highlighting functionality
5. Pagination methods - Added document page control
6. AES encryption methods - Added AES encryption support
7. Basic authentication methods - Added Basic authentication mechanism
8. Key management methods - Added key management functionality
9. Anti-duplicate conversion - Added duplicate file conversion protection
10. Async waiting - Added asynchronous processing mechanism
11. Upload restrictions - Added restrictions for unsupported file uploads
12. cadviewer conversion methods - Added CAD viewer conversion functionality
#### Fixed Issues
1. Compressed file path issues - Fixed internal path handling in compressed files
2. Security issues - Fixed security vulnerabilities
3. Incomplete image watermark issues - Fixed incomplete watermark display
4. SSL self-signed certificate access issues - Fixed compatibility with self-signed certificates
5. Fixed archive-contained Office files that could stay stuck on loading because repeated extraction appended to existing files
6. Default Office preview now prefers PDF mode, and PDF preview opens with the thumbnail sidebar visible by default
7. Updated startup scripts to discover the packaged jar dynamically instead of relying on stale hard-coded jar names
8. Updated Docker and release helper docs to align with the 5.0.0 release line
9. Fixed OFD table border overflow rendering issues
10. Refined the PDF.js compatibility polyfill to avoid preview errors in compatibility environments
#### Updates
1. JDK version requirement - Mandatory requirement for JDK 21 or higher
2. pdf front-end parsing update - Upgraded PDF front-end rendering component
3. odf front-end parsing update - Upgraded ODF document front-end rendering
4. 3D model front-end parsing update - Upgraded 3D model viewer
5. pdf backend async conversion optimization - Implemented multi-threaded asynchronous conversion
6. tif backend async conversion optimization - Implemented multi-threaded asynchronous conversion
7. Video backend async conversion optimization - Implemented multi-threaded asynchronous conversion
8. CAD backend async conversion optimization - Implemented multi-threaded asynchronous conversion
9. Default preview configuration strategy adjusted - Office preview now defaults to PDF mode, the mode switch is hidden by default, and PDF preview opens with the thumbnail sidebar visible. If you need the previous image-first behavior after upgrade, explicitly set `office.preview.type=image` and `office.preview.switch.disabled=false`.
10. Trust host configuration matching expanded - `trust.host` and related rules now support wildcard and CIDR matching, which may broaden or narrow effective allow/deny behavior after upgrade depending on your patterns
### Version 4.4.0 (January 16, 2025)
#### New Features
1. xlsx printing support
2. Added GZIP compression enablement in configuration
3. CAD format now supports conversion to SVG and TIF formats, added timeout termination and thread management
4. Added captcha verification for file deletion
5. Added xbrl format preview support
6. PDF preview added control over signatures, drawings, illustration control, search positioning pagination, and display content definition
7. Added CSV format front-end parsing support
8. Added Docker image support for ARM64
9. Added Office preview conversion timeout property setting
10. Added preview file host blacklist mechanism
#### Optimizations
1. Optimized OFD mobile preview page adaptability
2. Updated xlsx front-end parsing component to accelerate parsing speed
3. Upgraded CAD component
4. Office function adjustments, supporting comments, conversion page limit, watermark generation, etc.
5. Upgraded markdown component
6. Upgraded dcm parsing component
7. Upgraded PDF.JS parsing component
8. Changed video player plugin to ckplayer
9. Smarter tif parsing, supporting modified image formats
10. Improved character encoding detection accuracy for large and small text files, handling concurrency vulnerabilities
11. Refactored file download code, added general file server authentication access design
12. Updated bootstrap component and streamlined unnecessary files
13. Updated epub version, optimized epub display effect
14. Fixed issue where scheduled cache cleanup only deleted disk cache files for multimedia file types
15. Auto-detection of installed Office components, added default paths for LibreOffice 7.5 & 7.6 versions
16. Changed drawio default to preview mode
17. Added PDF thread management, timeout management, memory cache management, updated PDF parsing component version
18. Optimized Dockerfile for true cross-platform image building
#### Fixes
1. Fixed forceUpdatedCache property setting issue where local cache files weren't updated
2. Fixed PDF decryption error after successful encrypted file conversion
3. Fixed BPMN cross-domain support issue
4. Fixed special character error in compressed package secondary reverse proxy
5. Fixed video cross-domain configuration causing video preview failure
6. Fixed TXT text pagination secondary loading issue
7. Fixed Drawio missing Base64 component issue
8. Fixed Markdown escaping issue
9. Fixed EPUB cross-domain error
10. Fixed URL special character issues
11. Fixed compressed package traversal vulnerability
12. Fixed compressed file path errors, image collection path errors, watermark issues, etc.
13. Fixed front-end parsing XLSX containing EMF format file errors
### Version 4.3.0 (July 5, 2023)
#### New Features
1. Added DCM medical digital imaging preview
2. Added drawio drawing preview
3. Added command to regenerate with cache enabled: &forceUpdatedCache=true
4. Added dwg CAD file preview
5. Added PDF file password support
6. Added DPI customization for PDF file image generation
7. Added configuration to delete converted OFFICE, CAD, TIFF, compressed package source files (enabled by default to save disk space)
8. Added front-end xlsx parsing method
9. Added support for pages, eps, iges, igs, dwt, dng, ifc, dwfx, stl, cf2, plt and other formats
#### Optimizations
1. Modified generated PDF file names to include file extensions to prevent duplicate names
2. Adjusted SQL file preview method
3. Optimized OFD preview compatibility
4. Beautified TXT text pagination box display
5. Upgraded Linux/Docker built-in office to LibreOffice-7.5.3
6. Upgraded Windows built-in office to LibreOffice-7.5.3 Portable
7. Other functional optimizations
#### Fixes
1. Fixed compressed package path errors in reverse proxy scenarios
2. Fixed .click error when image preview URLs contain &
3. Fixed known OFD preview issues
4. Fixed page error when clicking on file directories (tree nodes) in compressed package preview
5. Other known issue fixes
### Version 4.2.1 (April 18, 2023)
#### Change Log
1. Fixed null pointer bug in dwg file preview
### Version 4.2.0 (April 13, 2023)
#### New Features
1. Added SVG format file preview support
2. Added encrypted Office file preview support
3. Added encrypted zip, rar, and other compressed package file preview support
4. Added xmind software model file preview support
5. Added BPMN workflow model file preview support
6. Added eml email file preview support
7. Added EPUB e-book file preview support
8. Added office document format support: dotm, ett, xlt, xltm, wpt, dot, xlam, xla, dotx, etc.
9. Added 3D model file support: obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim, etc.
10. Added configurable high-risk file upload restrictions (e.g., exe files)
11. Added configurable site filing information
12. Added password requirement for demo site file deletion
#### Optimizations
1. Added caching for text document preview
2. Beautified 404, 500 error pages
3. Optimized invoice and other OFD file preview seal rendering compatibility
4. Removed office-plugin module, using new jodconverter component
5. Optimized Excel file preview effect
6. Optimized CAD file preview effect
7. Updated xstream, junrar, pdfbox, and other dependency versions
8. Updated TIF to PDF conversion plugin, added conversion cache
9. Optimized demo page UI deployment
10. Compressed package file preview supports directories
#### Fixes
1. Fixed XSS issues in some interfaces
2. Fixed console printed demo address not following content-path configuration
3. Fixed OFD file preview cross-domain issues
4. Fixed internal self-signed certificate HTTPS URL file download issues
5. Fixed special character file deletion issues
6. Fixed OOM caused by unreclaimed memory in PDF to image conversion
7. Fixed garbled preview for xlsx 7.4+ version files
8. Fixed TrustHostFilter not intercepting cross-domain interfaces (security issue - upgrade required if using TrustHost)
9. Fixed compressed package file preview filename garbled issue on Linux systems
10. Fixed OFD file preview only displaying 10 pages
### Changelog
> December 14, 2022, version 4.1.0 released:
1. Updated homepage design by @wsd7747.
2. Compatible with multipage tif for pdf and jpg conversion and multiple page online preview for tif image preview by @zhangzhen1979.
3. Optimized docker build, using layered build method by @yl-yue.
4. Implemented file encryption based on userToken cache by @yl-yue.
5. Implemented preview for encrypted Word, PPT, and Excel files by @yl-yue.
6. Upgraded Linux & Docker images to LibreOffice 7.3.
7. Updated OFD preview component, tif preview component, and added support for PPT watermarking.
8. Numerous other upgrades, optimizations, and bug fixes.
We thank @yl-yue, @wsd7747, @zhangzhen1979, @tomhusky, @shenghuadun, and @kischn.sun for their code contributions.
> July 6, 2021, version 4.0.0 released:
1. The integration of OpenOffice in the underlying system has been replaced with LibreOffice, resulting in enhanced compatibility and improved preview effects for Office files.
2. Fixed the directory traversal vulnerability in compressed files.
3. Fixed the issue where previewing PPT files in PDF mode was ineffective.
4. Fixed the issue where the front-end display of image preview mode for PPT files was abnormal.
5. Added a new feature: the file upload function on the homepage can be enabled or disabled in real-time through configuration.
6. Optimized the logging of Office process shutdown.
7. Optimized the logic for finding Office components in Windows environment, with built-in LibreOffice taking priority.
8. Optimized the synchronous execution of starting Office processes.
> June 17, 2021, version 3.6.0 released:
This version includes support for OFD file type versions, and all the important features in this release were contributed by the community. We thank @gaoxingzaq and @zhangxiaoxiao9527 for their code contributions.
1. Added support for previewing OFD type files. OFD is a domestically produced file format similar to PDF.
2. Added support for transcoding and previewing video files through ffmpeg. With transcoding enabled, theoretically, all mainstream video file formats such as RM, RMVB, FLV, etc. are supported for preview.
3. Beautified the preview effect of PPT and PPTX file types, much better looking than the previous version.
4. Updated the versions of dependencies such as pdfbox, xstream, common-io.
> January 28, 2021:
The final update of the Lunar New Year 2020 has been released, mainly including some UI improvements, bug fixes reported by QQ group users and issues, and most importantly, it is a new version for a good year.
1. Introduced galimatias to solve the problem of abnormal file download caused by non-standard file names.
2. Updated UI style of index access demonstration interface.
3. Updated UI style of markdown file preview.
4. Updated UI style of XML file preview, adjusted the architecture of text file preview to facilitate expansion.
5. Updated UI style of simTxT file preview.
6. Adjusted the UI of continuous preview of multiple images to flip up and down.
7. Simplified all file download IO operations by adopting the apache-common-io package.
8. XML file preview supports switching to pure text mode.
9. Enhanced prompt information when url base64 decoding fails.
10. Fixed import errors and image preview bug.
11. Fixed the problem of missing log directory when running the release package.
12. Fixed the bug of continuous preview of multiple images in the compressed package.
13. Fixed the problem of no universal matching for file type suffixes in uppercase and lowercase.
14. Specified the use of the Apache Commons-code implementation for Base64 encoding to fix exceptions occurring in some JDK versions.
15. Fixed the bug of HTML file preview of text-like files.
16. Fixed the problem of inability to switch between jpg and pdf when previewing dwg files.
17. Escaped dangerous characters to prevent reflected xss.
18. Fixed the problem of duplicate encoding causing the failure of document-to-image preview and standardized the encoding.
> December 27, 2020:
The year-end major update of 2020 includes comprehensive architecture design, complete code refactoring, significant improvement in code quality, and more convenient secondary development. We welcome you to review the source code and contribute to building by raising issues and pull requests.
1. Adjusted architecture modules, extensively refactored code, and improved code quality by several levels. Please feel free to review.
2. Enhanced XML file preview effect and added preview of XML document structure.
3. Added support for markdown file preview, including support for md rendering and switching between source text and preview.
4. Switched the underlying web server to jetty, resolving the issue: https://github.com/kekingcn/kkFileView/issues/168
5. Introduced cpdetector to solve the problem of file encoding recognition.
6. Adopted double encoding with base64 and urlencode for URLs to completely solve preview problems with bizarre file names.
7. Added configuration item office.preview.switch.disabled to control the switch of office file preview.
8. Optimized text file preview logic, transmitting content through Base64 to avoid requesting file content again during preview.
9. Disabled the image zoom effect in office preview mode to achieve consistent experience with image and pdf preview.
10. Directly set pdfbox to be compatible with lower version JDK, and there will be no warning prompts even when run in IDEA.
11. Removed non-essential toolkits like Guava and Hutool to reduce code volume.
12. Asynchronous loading of Office components speeds up application launch to within 5 seconds.
13. Reasonable settings of the number of threads in the preview consumption queue.
14. Fixed the bug where files in compressed packages failed to preview again.
15. Fixed the bug in image preview.
> May 20th 2020
1. Support for global watermark and dynamic change of watermark content through parameters
2. Support for CAD file Preview
3. Add configuration item base.url, support using nginx reverse proxy and set context-path
4. All configuration items can be read from environment variables, which is convenient for docker image deployment and large-scale use in cluster
5. Support the configuration of TrustHost (only the file source from the trust site can be previewed), and protect the preview service from abuse
6. Support configuration of customize cache cleanup time (cron expression)
7. All recognizable plain text can be previewed directly without downloading, such as .md .java .py, etc
8. Support configuration to limit PDF file download after conversion
9. Optimize Maven packaging configuration to solve the problem of line break in .sh script
10. Place all CDN dependencies on the front end locally for users without external network connection
11. Comment Service on home page switched from Sohu ChangYan to gitalk
12. Fixed preview exceptions that may be caused by special characters in the URL
13. Fixed the addtask exception of the transformation file queue
14. Fixed other known issues
15. Official website build: [https://kkview.cn](https://kkview.cn)
16. Official docker image repository build: [https://hub.docker.com/r/keking/kkfileview](https://hub.docker.com/r/keking/kkfileview)
> June 18th 2019
1. Support automatic cleaning of cache and preview files
2. Support http/https stream url file preview
3. Support FTP url file preview
4. Add Docker build
> April 8th 2019
1. Cache and queue implementations abstract, providing JDK and REDIS implementations (REDIS becomes optional dependencies)
2. Provides zip and tar.gz packages, and provides a one-click startup script
> January 17th 2018
1. Refined the project directory, abstract file preview interface, Easy to extend more file extensions and depoly this project on your own
1. Added English documentation (@幻幻Fate@汝辉) contribution
1. Support for more image file extensions
1. Fixed the issue that image carousel in zip file will always start from the first
> January 12th 2018
1. Support for multiple images preview
1. Support for images rotation preview in rar/zip
> January 2nd 2018
1. Fixed gibberish issue when preview a txt document caused by the file encoding problem
1. Fixed the issue that some module dependencies can not be found
1. Add a spring boot profile, and support for Multi-environment configuration
1. Add `pdf.js` to preview the documents such as doc,etc.,support for generating doc headlines as pdf menusupport for mobile preview
### Sponsor Us
If this project has been helpful to you, we welcome your sponsorship. Your support is our greatest motivation.
+174
View File
@@ -0,0 +1,174 @@
# kkFileView 安全配置指南
## ⚠️ 重要安全更新
从 4.4.0 之后版本开始,kkFileView 增强了安全性,默认拒绝所有未配置的外部文件预览请求,以防止 SSRF(服务器端请求伪造)攻击。
## 🔒 安全配置说明
### 1. 信任主机白名单配置(推荐)
`application.properties` 中配置允许预览的域名:
```properties
# 方式1:通过配置文件
trust.host = kkview.cn,yourdomain.com,cdn.example.com
# 方式2:通过环境变量
KK_TRUST_HOST=kkview.cn,yourdomain.com,cdn.example.com
```
**示例场景**
- 只允许预览来自 `oss.aliyuncs.com``cdn.example.com` 的文件
```properties
trust.host = oss.aliyuncs.com,cdn.example.com
```
### 2. 允许所有主机(不推荐,仅测试环境)
```properties
trust.host = *
```
⚠️ **警告**:此配置会允许访问任意外部地址,存在安全风险,仅应在测试环境使用!
### 3. 黑名单配置(高级)
禁止特定域名或内网地址:
```properties
# 禁止访问内网地址(强烈推荐)
not.trust.host = localhost,127.0.0.1,192.168.*,10.*,172.16.*,169.254.*
# 禁止特定恶意域名
not.trust.host = malicious-site.com,spam-domain.net
```
**优先级**:黑名单 > 白名单
### 4. Docker 环境配置
```bash
docker run -d \
-e KK_TRUST_HOST=yourdomain.com,cdn.example.com \
-e KK_NOT_TRUST_HOST=localhost,127.0.0.1 \
-p 8012:8012 \
keking/kkfileview:4.4.0
```
## 🛡️ 安全最佳实践
### ✅ 推荐配置
```properties
# 1. 明确配置信任主机白名单
trust.host = your-cdn.com,your-storage.com
# 2. 配置黑名单防止内网访问
not.trust.host = localhost,127.0.0.1,192.168.*,10.*,172.16.*
# 3. 禁用文件上传(生产环境)
file.upload.disable = true
# 4. 配置基础URL(使用反向代理时)
base.url = https://preview.yourdomain.com
```
### ❌ 不推荐配置
```properties
# 危险:允许所有主机访问
trust.host = *
# 危险:启用文件上传(生产环境)
file.upload.disable = false
```
## 🔍 配置验证
### 测试白名单是否生效
1. 配置白名单:
```properties
trust.host = kkview.cn
```
2. 尝试预览白名单内的文件:
```
http://localhost:8012/onlinePreview?url=https://kkview.cn/test.pdf
✅ 应该可以正常预览
```
3. 尝试预览白名单外的文件:
```
http://localhost:8012/onlinePreview?url=https://other-domain.com/test.pdf
❌ 应该被拒绝,显示"不信任的文件源"
```
### 测试黑名单是否生效
1. 配置黑名单:
```properties
not.trust.host = localhost,127.0.0.1
```
2. 尝试访问本地文件:
```
http://localhost:8012/getCorsFile?urlPath=http://127.0.0.1:8080/admin
❌ 应该被拒绝
```
## 📋 常见问题
### Q1: 升级后无法预览文件了?
**原因**:新版本默认拒绝未配置的主机。
**解决**:在配置文件中添加信任主机列表:
```properties
trust.host = your-file-server.com
```
### Q2: 如何临时恢复旧版本行为?
**不推荐**,但如果确实需要:
```properties
trust.host = *
```
### Q3: 配置了白名单但还是无法访问?
检查以下几点:
1. 域名是否完全匹配(区分大小写)
2. 是否配置了黑名单,黑名单优先级更高
3. 查看日志中的 WARNING 信息
4. 确认环境变量是否正确设置
### Q4: 如何允许子域名?
已支持通配符域名匹配,可使用 `*.example.com`
```properties
trust.host = *.example.com
```
说明:
- `*.example.com` 会匹配 `cdn.example.com``api.internal.example.com`,但不匹配根域 `example.com`
- 对于 IP 风格通配(如 `192.168.*``10.*`),仅匹配字面量 IPv4 地址,不匹配域名
## 🚨 安全事件响应
如果发现可疑的预览请求:
1. 检查日志文件,搜索 "拒绝访问主机" 关键字
2. 确认 `trust.host` 配置是否合理
3. 检查是否有异常的网络请求
4. 如发现攻击行为,及时更新黑名单配置
## 📞 获取帮助
- GitHub Issues: https://github.com/kekingcn/kkFileView/issues
- Gitee Issues: https://gitee.com/kekingcn/file-online-preview/issues
---
**安全提示**:定期检查和更新信任主机列表,遵循最小权限原则。
+57
View File
@@ -0,0 +1,57 @@
# kkFileView master 自动部署
当前线上 Windows 服务器的实际部署信息如下:
- 部署根目录:`C:\kkFileView-5.0`
- 运行 jar`C:\kkFileView-5.0\bin\kkFileView-<当前项目版本>.jar`
- 启动脚本:`C:\kkFileView-5.0\bin\startup.bat`
- 运行配置:`C:\kkFileView-5.0\config\test.properties`
- 健康检查地址:`http://127.0.0.1:8012/`
当前自动部署链路采用服务器拉最新源码并本机编译的方式:
1. 通过 WinRM 连接 Windows 服务器
2. 在服务器上的源码目录执行 `git fetch/reset/clean`,同步到 `origin/$KK_DEPLOY_BRANCH`(默认 `master`
3. 使用服务器上的 JDK 21 和 Maven 执行 `mvn clean package -Dmaven.test.skip=true`
4. 备份线上 jar,替换为新构建产物
5. 使用现有 `startup.bat` 重启,并做健康检查
6. 如果健康检查失败,则自动回滚旧 jar 并重新拉起
## 需要配置的 GitHub Secrets
- `KK_DEPLOY_HOST`
- `KK_DEPLOY_USERNAME`
- `KK_DEPLOY_PASSWORD`
以下部署参数当前由 workflow 从 GitHub Secrets 读取;如果未单独配置,则使用脚本默认值:
- `KK_DEPLOY_PORT=5985`
- `KK_DEPLOY_ROOT=C:\kkFileView-5.0`
- `KK_DEPLOY_HEALTH_URL=http://127.0.0.1:8012/`
下面这些非敏感参数可以通过 workflow env 或 GitHub Variables 覆盖;未配置时会使用默认值:
- `KK_DEPLOY_REPO_URL=https://github.com/kekingcn/kkFileView.git`
- `KK_DEPLOY_BRANCH=master`
- `KK_DEPLOY_SOURCE_ROOT=C:\kkFileView-source`
- `KK_DEPLOY_JAVA_HOME=C:\Program Files\jdk-21.0.2`
- `KK_DEPLOY_GIT_EXE=C:\kkFileView-tools\git\cmd\git.exe`
- `KK_DEPLOY_MVN_CMD=C:\kkFileView-tools\maven\bin\mvn.cmd`
- `KK_DEPLOY_MAVEN_SETTINGS=`
如果服务器到 GitHub 的拉取速度不稳定,也可以把 `KK_DEPLOY_REPO_URL` 改成你自己的 Git 镜像地址。
如果服务器访问 Maven Central 不稳定,也可以通过 `KK_DEPLOY_MAVEN_SETTINGS` 指向自定义 `settings.xml`,切换到就近镜像仓库。
## 服务器前置环境
服务器需要具备以下工具:
- Git for Windows(推荐安装在 `C:\kkFileView-tools\git`
- Apache Maven 3.9.x(推荐安装在 `C:\kkFileView-tools\maven`
- JDK 21(当前线上已存在:`C:\Program Files\jdk-21.0.2`
## Workflow
新增 workflow`.github/workflows/master-auto-deploy.yml`
- 触发条件:`push``master`,或手动 `workflow_dispatch`
- 部署方式:WinRM + 服务器源码同步 + 服务器本机 Maven 编译 + jar 替换/回滚
+44
View File
@@ -0,0 +1,44 @@
# E2E 完善清单(基于 PR342 回归经验)
## 背景
本次手工回归已经验证了以下关键链路:
- TXT
- XLSX
- ZIP
- PDF
- DOCX
- MP4
- CAD / DXF
但当前 GitHub CI 中,自动化 E2E 仅覆盖了其中一部分,且大多只断言 HTTP 200,没有校验最终预览效果。
## 本次落地目标
### 1. 补齐缺失的关键链路
- [x] PDF 预览 smoke
- [x] MP4 预览 smoke
- [x] CAD / DXF 预览 smoke
### 2. 升级断言方式
- [x] 不再只看 `status === 200`
- [x] 增加标题/页面关键字断言,确认命中了正确预览模板
- [x] 对 PDF / DOCX / CAD 增加“等待页 -> 最终页面”的轮询兼容
### 3. 补齐 CI 所需 fixture
- [x] `sample.pdf` 进入 required fixture 清单
- [x] `sample.mp4` 进入 required fixture 清单
- [x] `text.dxf` 进入 required fixture 清单
- [x] 将 MP4 与 DXF fixture 作为仓库内静态样例纳入 CI
### 4. 后续可继续增强(本次未全部落地)
- [ ] 为 PDF / Office / CAD 增加截图型 nightly artifact
- [ ]`/picturesPreview` 增加独立 smoke
- [ ] 为 OFD 增加稳定 fixture 和 smoke case
- [ ] 为媒体预览增加更多格式(如 wav / mp3 / mov
- [ ] 为 CAD 增加第二份标准样例,避免单样例偏差
- [ ] 将当前 HTML 测试报告模板收敛成 nightly 自动产物
## 预期收益
- 让 CI 覆盖这次 PR342 真正验证过的关键主链路
- 避免未来出现“CI 绿了,但 PDF / MP4 / CAD 实际挂了”的情况
- 让 E2E 更接近用户真实感知,而不是仅验证接口可达
Binary file not shown.

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

+28
View File
@@ -0,0 +1,28 @@
FROM ubuntu:24.04
RUN sed -i 's@//.*archive.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources &&\
sed -i 's@//security.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources &&\
sed -i 's@//ports.ubuntu.com@//mirrors.aliyun.com@g' /etc/apt/sources.list.d/ubuntu.sources &&\
apt-get update &&\
export DEBIAN_FRONTEND=noninteractive &&\
apt-get install -y --no-install-recommends openjdk-21-jre tzdata locales xfonts-utils fontconfig libreoffice-nogui &&\
echo 'Asia/Shanghai' > /etc/timezone &&\
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime &&\
localedef -i zh_CN -c -f UTF-8 -A /usr/share/locale/locale.alias zh_CN.UTF-8 &&\
locale-gen zh_CN.UTF-8 &&\
apt-get install -y --no-install-recommends ttf-mscorefonts-installer &&\
apt-get install -y --no-install-recommends ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy &&\
apt-get autoremove -y &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*
# 内置一些常用的中文字体,避免普遍性乱码
ADD fonts/* /usr/share/fonts/chinese/
RUN cd /usr/share/fonts/chinese &&\
# 安装字体
mkfontscale &&\
mkfontdir &&\
fc-cache -fv
ENV LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8
+50
View File
@@ -0,0 +1,50 @@
# 构建说明
由于 kkfileview 的基础运行环境很少变动且制作耗时较久,而 kkfileview 本身代码开发会频繁改动,因此把制作其 Docker 镜像的步骤拆分为两次:
首先制作 kkfileview 的基础镜像(kkfileview-base)。
然后使用 kkfileview-base 作为基础镜像进行构建,加快 kkfileview docker 镜像构建与发布。
执行如下命令即可构建基础镜像:
> 这里镜像 tag 以 5.0.0 为例,本项目所维护的 Dockerfile 文件考虑了跨平台兼容性。 如果你需要用到 arm64 架构镜像, 则在arm64 架构机器上同样执行下面的构建命令即可
```shell
docker build --tag keking/kkfileview-base:5.0.0 .
```
## 跨平台构建
`docker buildx` 支持在一台机器上构建出多种平台架构的镜像。推荐使用该能力进行跨平台的镜像构建。
例如,执行 `docker buildx build` 命令时加上 `--platform=linux/arm64` 参数即可构建出 arm64 架构镜像。这极大方便了那些没有arm64 架构机器却想构建 arm64 架构镜像的用户。
> 当前本项目仅支持构建 linux/amd64 和 linux/arm64 两种平台架构的镜像
> buildx 的 builder driver 可以使用默认的 `docker` 类型, 若使用 `docker-container` 类型可以支持并行构建多种架构, 本文不再赘述, 有兴趣可以自行了解。参考 [Docker Buildx | Docker Documentation](https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images)
**前提要求**
以当前机器为 amd64 (x86_64)架构为例。需要开启 docker 的 buildx 特性,以及开启 Linux 的 QEMU 用户模式:
> 使用 WSL2 的 Windows 用户如果安装了最新的 DockerDesktop, 则这些前提要求已满足, 无需额外下述设置。
1. 安装 docker buildx 客户端插件:
> docker 版本要求 >=19.03
若已安装, 则跳过。详情参考 https://github.com/docker/buildx
2. 开启 QEMU 的用户模式功能, 并安装其它平台的模拟器:
> Linux 内核要求 >=4.8
使用 `tonistiigi/binfmt` 镜像可快速开启并安装模拟器,执行下面命令:
```shell
docker run --privileged --rm tonistiigi/binfmt --install all
```
现在就可以愉快地开始构建了,构建命令示例:
```shell
docker buildx build --platform=linux/amd64,linux/arm64 -t keking/kkfileview-base:5.0.0 --push .
```
+53
View File
@@ -0,0 +1,53 @@
# Build Instructions
Since the base runtime environment for kkfileview rarely changes and takes a long time to build, while the kkfileview code itself is frequently updated, the process of building its Docker image is split into two steps:
First, create the base image for kkfileview (kkfileview-base).
Then, use kkfileview-base as the base image to build and speed up the kkfileview Docker image build and release process.
To build the base image, run the following command:
> In this example, the image tag is 5.0.0. The Dockerfile maintained in this project considers cross-platform compatibility. If you need an arm64 architecture image, run the same build command on an arm64 architecture machine.
```shell
docker build --tag keking/kkfileview-base:5.0.0 .
```
## Cross-Platform Build
`docker buildx` supports building images for multiple platform architectures on a single machine. It is recommended to use this capability for cross-platform image builds.
For example, adding the `--platform=linux/arm64` parameter when executing the `docker buildx build` command will allow you to build an arm64 architecture image. This is particularly convenient for users who want to build arm64 images but don't have an arm64 machine.
> Currently, this project only supports building images for the linux/amd64 and linux/arm64 architectures.
> The buildx builder driver can use the default `docker` type, but if you use the `docker-container` type, you can build multiple architectures in parallel. This README will not cover that in detail, you can learn more on your own. Refer to [Docker Buildx | Docker Documentation](https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images)
**Prerequisites**
Assuming the current machine is amd64 (x86_64) architecture, you'll need to enable the docker buildx feature and enable Linux QEMU user mode:
> Windows users with WSL2 who have installed a recent version of Docker Desktop will already meet these prerequisites, so no additional setup is required.
1. Install the docker buildx client plugin:
> Docker version >=19.03 is required.
If it's already installed, you can skip this step. For more details, refer to https://github.com/docker/buildx.
2. Enable QEMU user mode and install emulators for other platforms:
> Linux kernel version >=4.8 is required.
You can quickly enable and install emulators using the tonistiigi/binfmt image by running the following command:
```shell
docker run --privileged --rm tonistiigi/binfmt --install all
```
Now you can enjoy the building. Heres an example build command:
```shell
docker buildx build --platform=linux/amd64,linux/arm64 -t keking/kkfileview-base:5.0.0 --push .
```
+113
View File
@@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<groupId>cn.keking</groupId>
<artifactId>kkFileView-parent</artifactId>
<version>5.0.0</version>
<properties>
<!-- ========== Java 和编译配置 ========== -->
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.release>${java.version}</maven.compiler.release>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- ========== Spring 框架 ========== -->
<spring.boot.version>3.5.6</spring.boot.version>
<!-- ========== 文档转换和Office处理 ========== -->
<jodconverter.version>4.4.11</jodconverter.version>
<poi.version>5.2.5</poi.version>
<xdocreport.version>1.0.6</xdocreport.version>
<aspose-cad.version>25.10</aspose-cad.version>
<!-- ========== PDF 处理 ========== -->
<pdfbox.version>3.0.6</pdfbox.version>
<!-- ========== 图像处理 ========== -->
<jai-imageio.version>1.4.0</jai-imageio.version>
<jbig2-imageio.version>3.0.4</jbig2-imageio.version>
<commons-imaging.version>1.0.0-alpha6</commons-imaging.version>
<!-- ========== 视频处理 (JavaCV) ========== -->
<bytedeco.version>1.5.12</bytedeco.version>
<opencv.version>4.11.0-1.5.12</opencv.version>
<openblas.version>0.3.30-1.5.12</openblas.version>
<ffmpeg.version>7.1.1-1.5.12</ffmpeg.version>
<!-- ========== 压缩文件处理 ========== -->
<sevenzipjbinding.version>16.02-2.01</sevenzipjbinding.version>
<junrar.version>7.5.5</junrar.version>
<!-- ========== 缓存和存储 ========== -->
<redisson.version>4.0.0</redisson.version>
<rocksdb.version>5.17.2</rocksdb.version>
<concurrentlinkedhashmap.version>1.4.2</concurrentlinkedhashmap.version>
<!-- ========== 网络通信 ========== -->
<httpcomponents.version>4.5.16</httpcomponents.version>
<commons-net.version>3.12.0</commons-net.version>
<!-- ========== Apache Commons 工具库 ========== -->
<commons-lang3.version>3.20.0</commons-lang3.version>
<commons-cli.version>1.11.0</commons-cli.version>
<!-- ========== 编码和字符处理 ========== -->
<juniversalchardet.version>1.0.3</juniversalchardet.version>
<jchardet.version>1.0</jchardet.version>
<!-- ========== 安全相关 ========== -->
<bcprov-jdk15on.version>1.70</bcprov-jdk15on.version>
<!-- ========== 其他工具库 ========== -->
<xstream.version>1.4.21</xstream.version>
<antlr.version>2.7.7</antlr.version>
<galimatias.version>0.2.1</galimatias.version>
</properties>
<modules>
<module>server</module>
</modules>
<!-- ========== 项目信息 ========== -->
<name>kkFileView-parent</name>
<description>专注文件在线预览服务</description>
<url>https://github.com/kekingcn/kkFileView</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<url>https://github.com/kekingcn/kkFileView</url>
<connection>scm:git:git://github.com/kekingcn/kkFileView.git</connection>
<developerConnection>scm:git:ssh://git@github.com/kekingcn/kkFileView.git</developerConnection>
</scm>
<developers>
<developer>
<id>klboke</id>
<name>kl</name>
<email>g632104866@gmail.com</email>
<url>http://www.kailing.pub</url>
</developer>
<developer>
<id>gitchenjh</id>
<name>chenjinghua</name>
<email>842761733@qq.com</email>
</developer>
</developers>
<issueManagement>
<system>github</system>
<url>https://github.com/kekingcn/kkFileView/issues</url>
</issueManagement>
</project>
@@ -0,0 +1,194 @@
${SegmentFile}
;=== START INTEGRITY CHECK 1.1 Var
Var bolCustomIntegrityCheckStartUnsupported
Var strCustomIntegrityCheckVersion
;=== END INTEGRITY CHECK
!include WinMessages.nsh
${Segment.OnInit}
;=== START INTEGRITY CHECK 1.1 OnInit
;Check for improper install/upgrade without running the PA.c Installer which can cause issues
;Designed to not require ReadINIStrWithDefault which is not included in the PA.c Launcher code
${If} ${FileExists} "$EXEDIR\App\AppInfo\appinfo.ini"
${If} ${FileExists} "$EXEDIR\App\AppInfo\pac_installer_log.ini"
ReadINIStr $R0 "$EXEDIR\App\AppInfo\pac_installer_log.ini" "PortableApps.comInstaller" "Info2"
${If} $R0 == "This file was generated by the PortableApps.com Installer wizard and modified by the official PortableApps.com Installer TM Rare Ideas, LLC as the app was installed."
StrCpy $R1 "true"
${Else}
StrCpy $R1 "false"
${EndIf}
${Else}
StrCpy $R1 "false"
${EndIf}
${Else}
StrCpy $R1 "true"
${EndIf}
${If} $R1 == "false"
;Upgrade or install sans the PortableApps.com Installer which can cause compatibility issues
ClearErrors
ReadINIStr $0 "$EXEDIR\App\AppInfo\appinfo.ini" "Version" "PackageVersion"
${If} ${Errors}
${OrIf} $0 == ""
StrCpy $0 "0.0.0.1"
ClearErrors
${EndIf}
ClearErrors
ReadINIStr $1 "$EXEDIR\Data\settings\${AppID}Settings.ini" "${AppID}Settings" "InvalidPackageWarningShown"
${If} ${Errors}
${OrIf} $1 == ""
StrCpy $1 "0.0.0.0"
ClearErrors
${EndIf}
${VersionCompare} $0 $1 $2
${If} $2 == 1
MessageBox MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON2 `Integrity Failure Warning: ${NamePortable} was installed or upgraded without using its installer and some critical files may have been modified. This could cause data loss, personal data left behind on a shared PC, functionality issues, and/or may be a violation of the application's license. Neither the application publisher nor PortableApps.com will be responsible for any issues you encounter.$\r$\n$\r$\nWould you like to start ${NamePortable} in its current unsupported state?` IDYES CustomIntegrityCheckGotoStartAnyway IDNO CustomIntegrityCheckGotoDownloadQuestion
CustomIntegrityCheckGotoDownloadQuestion:
;Check to ensure we have a valid homepage before asking the user
StrCpy $R0 ""
${If} ${FileExists} "$EXEDIR\App\AppInfo\appinfo.ini"
ReadINIStr $R0 "$EXEDIR\App\AppInfo\appinfo.ini" "Details" "Homepage"
${EndIf}
${If} $R0 == ""
Abort
${Else}
StrCpy $R1 $R0 4
${If} $R1 != "http"
${AndIf} $R1 != "HTTP"
StrCpy $R0 "http://$R0"
${EndIf}
${EndIf}
MessageBox MB_YESNO|MB_ICONQUESTION|MB_DEFBUTTON1 `Would you like to visit the ${NamePortable} homepage to download the app and upgrade your current install?` IDYES CustomIntegrityCheckGotoURL IDNO CustomIntegrityCheckGotoAbort
CustomIntegrityCheckGotoURL:
ExecShell "open" $R0
Abort
CustomIntegrityCheckGotoAbort:
Abort
CustomIntegrityCheckGotoStartAnyway:
StrCpy $bolCustomIntegrityCheckStartUnsupported true
StrCpy $strCustomIntegrityCheckVersion $0
${EndIf}
${EndIf}
;=== END INTEGRITY CHECK
!macroend
${SegmentInit}
;Ensure we have a proper Documents path
ExpandEnvStrings $1 "%PortableApps.comDocuments%"
${If} $1 == ""
${OrIfNot} ${FileExists} "$1\*.*"
${GetParent} $EXEDIR $3
${GetParent} $3 $1
${If} $1 == "" ;Be sure we didn't just GetParent on Root
StrCpy $1 $3
${EndIf}
${If} ${FileExists} "$1\Documents\*.*"
StrCpy $2 "$1\Documents"
${Else}
${GetRoot} $EXEDIR $1
${If} ${FileExists} "$1\Documents\*.*"
StrCpy $2 "$1\Documents"
${Else}
StrCpy $2 "$1"
${EndIf}
${EndIf}
System::Call 'Kernel32::SetEnvironmentVariable(t, t) i("PortableApps.comDocuments", "$2").r0'
${EndIf}
!macroend
${SegmentPre}
ReadEnvStr $0 "JAVA_HOME"
${WordReplace} $0 "\" "/" "+" $1
System::Call 'Kernel32::SetEnvironmentVariable(t, t) i("JAVA_HOME_FORWARDSLASH", "$1").r0'
!macroend
${SegmentPrePrimary}
;=== START INTEGRITY CHECK 1.1 PrePrimary
${If} $bolCustomIntegrityCheckStartUnsupported == true
WriteINIStr "$EXEDIR\Data\settings\${AppID}Settings.ini" "${AppID}Settings" "InvalidPackageWarningShown" $strCustomIntegrityCheckVersion
${EndIf}
;=== END INTEGRITY CHECK
;Load app ttf fonts
FindFirst $0 $1 "$EXEDIR\App\fonts\*.ttf"
${DoWhile} $1 != ""
System::Call "gdi32::AddFontResource(t'$EXEDIR\App\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Load app otf fonts
FindFirst $0 $1 "$EXEDIR\App\fonts\*.otf"
${DoWhile} $1 != ""
System::Call "gdi32::AddFontResource(t'$EXEDIR\App\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Load user ttf fonts
FindFirst $0 $1 "$EXEDIR\Data\fonts\*.ttf"
${DoWhile} $1 != ""
System::Call "gdi32::AddFontResource(t'$EXEDIR\Data\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Load user otf fonts
FindFirst $0 $1 "$EXEDIR\Data\fonts\*.otf"
${DoWhile} $1 != ""
System::Call "gdi32::AddFontResource(t'$EXEDIR\Data\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Let all running apps know
SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0 /TIMEOUT=1
!macroend
${SegmentPostPrimary}
;Remove app ttf fonts
FindFirst $0 $1 "$EXEDIR\App\fonts\*.ttf"
${DoWhile} $1 != ""
System::Call "gdi32::RemoveFontResource(t'$EXEDIR\App\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Remove app otf fonts
FindFirst $0 $1 "$EXEDIR\App\fonts\*.otf"
${DoWhile} $1 != ""
System::Call "gdi32::RemoveFontResource(t'$EXEDIR\App\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Remove user ttf fonts
FindFirst $0 $1 "$EXEDIR\Data\fonts\*.ttf"
${DoWhile} $1 != ""
System::Call "gdi32::RemoveFontResource(t'$EXEDIR\Data\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Remove user otf fonts
FindFirst $0 $1 "$EXEDIR\Data\fonts\*.otf"
${DoWhile} $1 != ""
System::Call "gdi32::RemoveFontResource(t'$EXEDIR\Data\fonts\$1')i .r2"
FindNext $0 $1
${Loop}
FindClose $0
;Let all running apps know
SendMessage ${HWND_BROADCAST} ${WM_FONTCHANGE} 0 0 /TIMEOUT=1
!macroend
@@ -0,0 +1,126 @@
[Launch]
ProgramExecutable=libreoffice\program\soffice.exe
MinOS=7
DirectoryMoveOK=yes
SupportsUNC=yes
[Activate]
Java=find
XML=true
Registry=true
[Environment]
PATH=%PAL:AppDir%\libreoffice\program;%PATH%
;[Language]
;Base=%PortableApps.comLocaleglibc%
;CheckIfExists=%PAL:AppDir%\libreoffice\readmes\readme_%PAL:LanguageCustom%.txt
;DefaultIfNotExists=en-US
;[LanguageFile]
;Type=XML text
;File=%PAL:DataDir%\settings\user\registrymodifications.xcu
;XPath=//prop[normalize-space(@oor:name)="UILocale"]/value
;[LanguageStrings]
;en_GB=en-GB
;en_US=en-US
;pt_BR=pt-BR
;zh_CN=zh-CN
;zh_TW=zh-TW
[FileWrite1]
Type=ini
File=%PAL:AppDir%\libreoffice\program\bootstrap.ini
Section=ErrorReport
Key=ErrorReportServer
Value=
[FileWrite2]
Type=ini
File=%PAL:AppDir%\libreoffice\program\bootstrap.ini
Section=Bootstrap
Key=UserInstallation
Value=$ORIGIN/../../../Data/settings
[FileWrite3]
File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
Type=Replace
Find=%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%/
Replace=%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%/
[FileWrite4]
File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
Type=Replace
Find=%PAL:LastPortableAppsBaseDir:ForwardSlash%/
Replace=%PAL:LastPortableAppsBaseDir:ForwardSlash%/
[FileWrite5]
File=%PAL:DataDir%\settings\user\config\javasettings_Windows_x86.xml
Type=XML text
XPath=/java/javaInfo/location
Value=file:///%JAVA_HOME_FORWARDSLASH%
[FileWrite6]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=XML text
XPath=//item[normalize-space(@oor:path)="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Temp']"]/prop/value
Value=file:///%TEMP:ForwardSlash%/temp
[FileWrite7]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=Replace
Find=DEFAULT--WORK--PATH
Replace=file:///%PortableApps.comDocuments:ForwardSlash%
[FileWrite8]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=Replace
Find=file:///%PAL:LastDrive%%PAL:LastPackagePartialDir:ForwardSlash%
Replace=file:///%PAL:Drive%%PAL:PackagePartialDir:ForwardSlash%
[FileWrite9]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=Replace
Find=file:///PAL:LastPortableAppsBaseDir:ForwardSlash%
Replace=file:///PAL:PortableAppsBaseDir:ForwardSlash%
[FileWrite10]
File=%PAL:DataDir%\settings\user\registrymodifications.xcu
Type=Replace
Find=file:///%PAL:LastDrive%/
Replace=file:///%PAL:Drive%/
[FileWrite11]
Type=ini
File=%PAL:AppDir%\libreoffice\program\setup.ini
Section=Bootstrap
Key=BASISINSTALLLOCATION
Value=%PAL:AppDir%\libreoffice\
[FileWrite12]
Type=ini
File=%PAL:AppDir%\libreoffice\program\setup.ini
Section=Bootstrap
Key=INSTALLLOCATION
Value=%PAL:AppDir%\libreoffice\
[FileWrite13]
Type=ini
File=%PAL:AppDir%\libreoffice\program\setup.ini
Section=Bootstrap
Key=OFFICEINSTALLLOCATION
Value=%PAL:AppDir%\libreoffice\
[FileWrite14]
Type=ini
File=%PAL:AppDir%\libreoffice\program\setup.ini
Section=Bootstrap
Key=UREINSTALLLOCATION
Value=%PAL:AppDir%\libreoffice\URE\\
;[FileWrite13]
;File=%PAL:DataDir%\settings\user\registrymodifications.xcu
;Type=XML text
;XPath=//prop[normalize-space(@oor:name)="UILocale"]/value
;Value=%PAL:LanguageCustom%
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 615 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 771 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 566 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 460 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 851 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

@@ -0,0 +1,52 @@
[Format]
Type=PortableAppsFormat
Version=3.7
[Details]
Name=LibreOffice Portable
AppId=LibreOfficePortable
Publisher=LibreOffice Team / PortableApps.com
Homepage=PortableApps.com/LibreOfficePortable
Category=Office
Description=Office suite - word processor, spreadsheet, presentation, database, drawing, and more
Language=Multilingual
Trademarks=This product was created by PortableApps.com and The Document Foundation, based on OpenOffice.org™, which is Copyright 2000, 2010 Oracle and/or its affiliates.
InstallType=LanguagesIncluded
[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true
[Version]
PackageVersion=7.5.3.0
DisplayVersion=7.5.3
[Dependencies]
UsesJava=optional
[Control]
Icons=7
Start=LibreOfficePortable.exe
Start1=LibreOfficeBasePortable.exe
Name1=LibreOffice Portable Base
Start2=LibreOfficeCalcPortable.exe
Name2=LibreOffice Portable Calc
Start3=LibreOfficeDrawPortable.exe
Name3=LibreOffice Portable Draw
Start4=LibreOfficeImpressPortable.exe
Name4=LibreOffice Portable Impress
Start5=LibreOfficeMathPortable.exe
Name5=LibreOffice Portable Math
Start6=LibreOfficeWriterPortable.exe
Name6=LibreOffice Portable Writer
Start7=LibreOfficePortable.exe
Name7=LibreOffice Portable
BaseAppID=TheDocumentFoundation.LibreOffice.Startcenter
[Associations]
FileTypes=csv,doc,dot,htm,html,pot,pps,ppt,rtf,txt,wpd,xls,xlt,xml,123,bau,dbf,dif,docm,docx,dotm,dotx,fodg,fodp,fods,fodt,hwp,mml,odb,odf,odg,odm,odp,ods,odt,otg,oth,otp,ots,ott,oxt,potm,potx,ppsx,pptm,pptx,sdg,sdv,slk,slk,sob,soc,sod,soe,sog,soh,stc,std,sti,stw,sxc,sxd,sxg,sxi,sxm,sxw,thm,vor,wk1,wks,wps,xba,xcs,xcu,xdl,xlsb,xlsm,xlsx,xltm,xltx,xlw
[FileTypeIcons]
AllOtherIcons=document
@@ -0,0 +1,32 @@
[DirectoriesToPreserve]
PreserveDirectory1=App\Java
PreserveDirectory2=App\libreoffice\share\config
[OptionalComponents]
OptionalComponents=true
MainSectionTitle=LibreOffice Portable (Multilingual-Standard)
MainSectionDescription=Install the portable app
OptionalSectionTitle=Remove Extra Languages
OptionalSectionDescription=Remove dictionaries and templates except for the selected language and English (saves about 150MB)
OptionalSectionSelectedInstallType=LanguagesRemoved
OptionalSectionNotSelectedInstallType=LanguagesIncluded
OptionalSectionPreSelectedIfNonEnglishInstall=false
OptionalSectionInstalledWhenSilent=false
OptionalFile1=App\libreoffice\extra_languages_removed.txt
[Languages]
ENGLISH=true
ENGLISHGB=true
ARABIC=true
FRENCH=true
GERMAN=true
ITALIAN=true
JAPANESE=true
KOREAN=true
PORTUGUESE=true
PORTUGUESEBR=true
RUSSIAN=true
SIMPCHINESE=true
SPANISH=true
SPANISHINTERNATIONAL=true
TRADCHINESE=true
@@ -0,0 +1,11 @@
[PortableApps.comInstaller]
Info1=Do not delete or modify this file. It may be necessary for this app to function correctly.
Info2=This file was generated by the PortableApps.com Installer wizard and modified by the official PortableApps.com Installer TM Rare Ideas, LLC as the app was installed.
Info3=This file should be excluded from git repositories by using the appropriate gitignore.
Run=true
WizardVersion=3.7.5.0
PackagingDate=2023-05-22
PackagingTime=23:03:27
InstallerVersion=3.7.5.0
InstallDate=2023-06-12
InstallTime=15:09:11
@@ -0,0 +1,3 @@
For users not using the PortableApps.com Platform, you can add additional fonts to the LibreOfficePortable\Data\fonts folder for use with LibreOffice here. (Do not add fonts to the LibreOfficePortable\App\DefaultData\fonts folder or to the LibreOfficePortable\App\libreoffice\Basis\share\fonts\truetype folder)
Note that any fonts placed here will be available to other applications. If any other apps (including local apps) are making use of these fonts and don't properly stop when LibreOffice Portable is closed, you may be unable to eject your drive until you close those apps.
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
<script:module xmlns:script="http://openoffice.org/2000/script" script:name="Module1" script:language="StarBasic">REM ***** BASIC *****
Sub Main
End Sub</script:module>
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Standard" library:readonly="false" library:passwordprotected="false"/>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:library PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "library.dtd">
<library:library xmlns:library="http://openoffice.org/2000/library" library:name="Standard" library:readonly="false" library:passwordprotected="false">
<library:element library:name="Module1"/>
</library:library>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/dialog.xlb/" xlink:type="simple" library:link="false"/>
</library:libraries>
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE library:libraries PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "libraries.dtd">
<library:libraries xmlns:library="http://openoffice.org/2000/library" xmlns:xlink="http://www.w3.org/1999/xlink">
<library:library library:name="Standard" xlink:href="$(USER)/basic/Standard/script.xlb/" xlink:type="simple" library:link="false"/>
</library:libraries>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Šipka 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Šipka 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Šipka 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Šipka 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Šipka 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Šipka 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Šipka 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Šipka 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Šipka 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Šipka 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Šipka 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Šipka 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Šipka 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Šipka 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Šipka 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Šipka 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Šipka 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Šipka 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Šipka 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Šipka 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Šipka 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Šipka 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Šipka 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Šipka 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?><office:marker-table xmlns:chart="http://openoffice.org/2000/chart" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:form="http://openoffice.org/2000/form" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:office="http://openoffice.org/2000/office" xmlns:script="http://openoffice.org/2000/script" xmlns:style="http://openoffice.org/2000/style" xmlns:svg="http://www.w3.org/2000/svg" xmlns:table="http://openoffice.org/2000/table" xmlns:text="http://openoffice.org/2000/text" xmlns:xlink="http://www.w3.org/1999/xlink">
<draw:marker draw:name="Pilespids 1" svg:d="m1066 0 1066 2132h-2132z" svg:viewBox="0 0 2132 2132"/>
<draw:marker draw:name="Pilespids 2" svg:d="m799 0 800 2132h-1599z" svg:viewBox="0 0 1599 2132"/>
<draw:marker draw:name="Pilespids 3" svg:d="m533 0 533 2132h-1066z" svg:viewBox="0 0 1066 2132"/>
<draw:marker draw:name="Pilespids 4" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z" svg:viewBox="0 0 1995 2132"/>
<draw:marker draw:name="Pilespids 5" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z" svg:viewBox="0 0 1496 2132"/>
<draw:marker draw:name="Pilespids 6" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z" svg:viewBox="0 0 998 2132"/>
<draw:marker draw:name="Pilespids 7" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z" svg:viewBox="0 0 2132 2132"/>
<draw:marker draw:name="Pilespids 8" svg:d="m792 0 792 2132-529-272h-526l-529 272z" svg:viewBox="0 0 1584 2132"/>
<draw:marker draw:name="Pilespids 9" svg:d="m529 0 528 2132-353-272h-351l-353 272z" svg:viewBox="0 0 1057 2132"/>
<draw:marker draw:name="Pilespids 10" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z" svg:viewBox="0 0 2162 2560"/>
<draw:marker draw:name="Pilespids 11" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z" svg:viewBox="0 0 2132 1146"/>
<draw:marker draw:name="Pilespids 12" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z" svg:viewBox="0 0 2132 2132"/>
<draw:marker draw:name="Pilespids 13" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z" svg:viewBox="0 0 2116 2116"/>
<draw:marker draw:name="Pilespids 14" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z" svg:viewBox="0 0 2461 2132"/>
<draw:marker draw:name="Pilespids 15" svg:d="m0 0h1995v137h-1995z" svg:viewBox="0 0 1995 137"/>
<draw:marker draw:name="Pilespids 16" svg:d="m0 0h1995v282h-1995z" svg:viewBox="0 0 1995 282"/>
<draw:marker draw:name="Pilespids 17" svg:d="m0 0h1995v506h-1995z" svg:viewBox="0 0 1995 506"/>
<draw:marker draw:name="Pilespids 18" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z" svg:viewBox="0 0 966 2566"/>
<draw:marker draw:name="Pilespids 19" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z" svg:viewBox="0 0 2440 2584"/>
<draw:marker draw:name="Pilespids 20" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z" svg:viewBox="0 0 1169 2584"/>
<draw:marker draw:name="Pilespids 21" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z" svg:viewBox="0 0 2142 2142"/>
<draw:marker draw:name="Pilespids 22" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z" svg:viewBox="0 0 2364 2178"/>
<draw:marker draw:name="Pilespids 23" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z" svg:viewBox="0 0 1107 1619"/>
<draw:marker draw:name="Pilespids 24" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z" svg:viewBox="0 0 1108 993"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Linienende 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Linienende 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Linienende 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Linienende 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Linienende 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Linienende 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Linienende 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Linienende 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Linienende 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Linienende 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Linienende 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Linienende 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Linienende 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Linienende 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Linienende 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Linienende 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Linienende 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Linienende 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Linienende 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Linienende 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Linienende 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Linienende 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Linienende 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Linienende 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Arrowhead 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Arrowhead 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Arrowhead 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Arrowhead 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Arrowhead 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Arrowhead 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Arrowhead 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Arrowhead 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Arrowhead 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Arrowhead 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Arrowhead 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Arrowhead 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Arrowhead 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Arrowhead 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Arrowhead 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Arrowhead 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Arrowhead 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Arrowhead 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Arrowhead 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Arrowhead 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Arrowhead 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Arrowhead 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Arrowhead 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Arrowhead 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Arrowhead 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Arrowhead 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Arrowhead 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Arrowhead 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Arrowhead 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Arrowhead 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Arrowhead 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Arrowhead 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Arrowhead 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Arrowhead 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Arrowhead 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Arrowhead 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Arrowhead 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Arrowhead 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Arrowhead 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Arrowhead 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Arrowhead 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Arrowhead 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Arrowhead 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Arrowhead 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Fines de línea 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Fines de línea 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Fines de línea 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Fines de línea 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Fines de línea 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Fines de línea 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Fines de línea 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Fines de línea 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Fines de línea 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Fines de línea 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Fines de línea 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Fines de línea 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Fines de línea 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Fines de línea 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Fines de línea 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Fines de línea 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Fines de línea 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Fines de línea 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Fines de línea 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Fines de línea 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Fines de línea 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Fines de línea 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Fines de línea 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Fines de línea 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Arrowhead 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Arrowhead 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Arrowhead 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Arrowhead 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Arrowhead 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Arrowhead 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Arrowhead 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Arrowhead 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Arrowhead 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Arrowhead 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Arrowhead 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Arrowhead 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Arrowhead 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Arrowhead 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Arrowhead 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Arrowhead 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Arrowhead 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Arrowhead 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Arrowhead 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Arrowhead 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Arrowhead 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Arrowhead 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Arrowhead 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Nyílhegy 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Nyílhegy 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Nyílhegy 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Nyílhegy 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Nyílhegy 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Nyílhegy 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Nyílhegy 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Nyílhegy 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Nyílhegy 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Nyílhegy 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Nyílhegy 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Nyílhegy 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Nyílhegy 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Nyílhegy 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Nyílhegy 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Nyílhegy 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Nyílhegy 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Nyílhegy 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Nyílhegy 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Nyílhegy 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Nyílhegy 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Nyílhegy 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Nyílhegy 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Nyílhegy 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="Fine linee" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="Fine linee 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="Fine linee 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="Fine linee 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="Fine linee 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="Fine linee 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="Fine linee 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="Fine linee 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="Fine linee 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="Fine linee 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="Fine linee 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="Fine linee 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="Fine linee 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="Fine linee 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="Fine linee 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="Fine linee 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="Fine linee 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="Fine linee 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="Fine linee 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="Fine linee 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="Fine linee 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="Fine linee 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="Fine linee 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="Fine linee 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="線端 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="線端 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="線端 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="線端 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="線端 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="線端 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="線端 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="線端 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="線端 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="線端 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="線端 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="線端 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="線端 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="線端 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="線端 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="線端 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="線端 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="線端 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="線端 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="線端 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="線端 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="線端 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="線端 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="線端 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<office:marker-table xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.org/2000/style" xmlns:text="http://openoffice.org/2000/text" xmlns:table="http://openoffice.org/2000/table" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="http://openoffice.org/2000/meta" xmlns:number="http://openoffice.org/2000/datastyle" xmlns:svg="http://www.w3.org/2000/svg" xmlns:chart="http://openoffice.org/2000/chart" xmlns:dr3d="http://openoffice.org/2000/dr3d" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="http://openoffice.org/2000/form" xmlns:script="http://openoffice.org/2000/script">
<draw:marker draw:name="선의 양끝 1" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132h-2132z"/>
<draw:marker draw:name="선의 양끝 2" svg:viewBox="0 0 1599 2132" svg:d="m799 0 800 2132h-1599z"/>
<draw:marker draw:name="선의 양끝 3" svg:viewBox="0 0 1066 2132" svg:d="m533 0 533 2132h-1066z"/>
<draw:marker draw:name="선의 양끝 4" svg:viewBox="0 0 1995 2132" svg:d="m0 0h1995v137h-997l997 1995h-1995l998-1995h-998z"/>
<draw:marker draw:name="선의 양끝 5" svg:viewBox="0 0 1496 2132" svg:d="m0 0h1496v137h-748l748 1995h-1496l748-1995h-748z"/>
<draw:marker draw:name="선의 양끝 6" svg:viewBox="0 0 998 2132" svg:d="m0 0h998v137h-499l499 1995h-998l499-1995h-499z"/>
<draw:marker draw:name="선의 양끝 7" svg:viewBox="0 0 2132 2132" svg:d="m1066 0 1066 2132-712-272h-708l-712 272z"/>
<draw:marker draw:name="선의 양끝 8" svg:viewBox="0 0 1584 2132" svg:d="m792 0 792 2132-529-272h-526l-529 272z"/>
<draw:marker draw:name="선의 양끝 9" svg:viewBox="0 0 1057 2132" svg:d="m529 0 528 2132-353-272h-351l-353 272z"/>
<draw:marker draw:name="선의 양끝 10" svg:viewBox="0 0 2162 2560" svg:d="m1076 0 1066 2132-532-155 552 583-1086-234v0l-1076 229 179-189 179-189 179-191-537 156z"/>
<draw:marker draw:name="선의 양끝 11" svg:viewBox="0 0 2132 1146" svg:d="m1066 0 1066 1146-712-272h-708l-712 272z"/>
<draw:marker draw:name="선의 양끝 12" svg:viewBox="0 0 2132 2132" svg:d="m2132 1066c0-588-478-1066-1066-1066-588 0-1066 478-1066 1066 0 588 478 1066 1066 1066 588 0 1066-478 1066-1066z"/>
<draw:marker draw:name="선의 양끝 13" svg:viewBox="0 0 2116 2116" svg:d="m0 0h705 705 706v705 705 706h-705-705-706v-705-705z"/>
<draw:marker draw:name="선의 양끝 14" svg:viewBox="0 0 2461 2132" svg:d="m0 1066 615 1066h1231l615-1066-615-1066h-1231z"/>
<draw:marker draw:name="선의 양끝 15" svg:viewBox="0 0 1995 137" svg:d="m0 0h1995v137h-1995z"/>
<draw:marker draw:name="선의 양끝 16" svg:viewBox="0 0 1995 282" svg:d="m0 0h1995v282h-1995z"/>
<draw:marker draw:name="선의 양끝 17" svg:viewBox="0 0 1995 506" svg:d="m0 0h1995v506h-1995z"/>
<draw:marker draw:name="선의 양끝 18" svg:viewBox="0 0 966 2566" svg:d="m0 2566v0-303l488-760-485 185 581-1050-453 262 357-900-178 682 440-245-334 893 289-106 261 1044v298z"/>
<draw:marker draw:name="선의 양끝 19" svg:viewBox="0 0 2440 2584" svg:d="m982 2228h469l51-139 51 227 108-361 779 629-611-980 377 33-360-243 511-428-587 109 395-805-596 571-16-295-169 261-175-807-143 682-227-236 18 386-790-302 605 646-344 92 370 185-698 662 739-319-101 293 194-75 33 311 108-218z"/>
<draw:marker draw:name="선의 양끝 20" svg:viewBox="0 0 1169 2584" svg:d="m0 2584v-506l57-669 65 387 52-902 75 645 60-1122 116 1386 83-1803 99 1481 70-1240 47 841 82-1058 29 1725 83-1215 93 829 88-590 70 1269v542z"/>
<draw:marker draw:name="선의 양끝 21" svg:viewBox="0 0 2142 2142" svg:d="m0 1162h855l-607 607 125 123 606-608v858h176v-855l608 605 125-125-604-605h858v-178h-855l599-606-124-126-607 607v-859h-176v859l-609-607-123 125 608 607h-855z"/>
<draw:marker draw:name="선의 양끝 22" svg:viewBox="0 0 2364 2178" svg:d="m0 2065 1182-2065 1182 2063-64 112-1118-716-1118 719z"/>
<draw:marker draw:name="선의 양끝 23" svg:viewBox="0 0 1107 1619" svg:d="m547 1619-546-676-1-942 546 318 560-319 1 942z"/>
<draw:marker draw:name="선의 양끝 24" svg:viewBox="0 0 1108 993" svg:d="m609 992-123 1-486-364 486 153 2-91-488-182 1-46 485 115 2-69-487-196v-52l484 154v-59l-484-196v-159l544 218 560-219 2 159-499 196v57l499-152v52l-496 196-2 69 498-118 1 45-497 192-2 85 497-153z"/>
</office:marker-table>

Some files were not shown because too many files have changed in this diff Show More