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 xlsx xml zip
Last synced: 3 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 (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T13:26:51.000Z (9 months ago)
- Last Synced: 2025-04-04T14:11:28.944Z (3 months ago)
- Topics: 4d-plugin, xlsx, xml, zip
- Language: C
- Homepage:
- Size: 74.5 MB
- Stars: 3
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


[](LICENSE)
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.