Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miyako/4d-plugin-opc
4D plugin to read and write DOCX, XLSX, PPTX files.
https://github.com/miyako/4d-plugin-opc
4d-plugin 4d-plugin-apple-silicon xlsx xml zip
Last synced: about 2 months ago
JSON representation
4D plugin to read and write DOCX, XLSX, PPTX files.
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-opc
- Owner: miyako
- License: mit
- Created: 2013-09-30T01:27:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T01:40:37.000Z (about 3 years ago)
- Last Synced: 2023-03-25T01:12:17.417Z (almost 2 years ago)
- Topics: 4d-plugin, 4d-plugin-apple-silicon, xlsx, xml, zip
- Language: C
- Homepage:
- Size: 50.3 MB
- Stars: 4
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![platform](https://img.shields.io/static/v1?label=platform&message=mac-intel%20|%20mac-arm%20|%20win-32%20|%20win-64&color=blue)
![version](https://img.shields.io/badge/version-17%2B-3E8B93)
[![license](https://img.shields.io/github/license/miyako/4d-plugin-opc)](LICENSE)
![downloads](https://img.shields.io/github/downloads/miyako/4d-plugin-opc/total)4d-plugin-opc
=============
A plugin to read and write DOCX, XLSX, PPTX files in 4D.Implementation of [libopc](https://github.com/miyako/libopc) by Florian Reuter.
Please consult the [wiki](https://github.com/miyako/4d-plugin-opc/wiki).
### Remarks for Apple Silicon
* apply `chmod +x configure` to all 3 configure files.
* change to `xmlValidateNCName` for error```
../../../third_party/libxml2-2.7.7/debugXML.c:257:13: error: implicit declaration of function 'xmlValidateName' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
```* `#define LIBXML_THREAD_ENABLED 1` for error
```
../../../third_party/libxml2-2.7.7/threads.c:664:33: error: use of undeclared identifier 'xmlOnceInit'
pthread_once(&once_control, xmlOnceInit);
```* specify `--arch` and `--toolchain`
```
./configure --arch=arm64 --toolchain="clang"
```### Remarks
Modify ``file.c`` to accept Unicode file paths on Windows.
Modify ``plib.h``
```c
#if _MSC_VER < 1900
#define snprintf _snprintf
#endif
```Supply ``iconv.h`` ``unistd.h`` for Windows.