phpoffice / common Goto Github PK
View Code? Open in Web Editor NEWShared components between all PHPOffice projects
License: Other
Shared components between all PHPOffice projects
License: Other
Test branch: develop
.
Please consider the following error output:
PhpOffice\Common\Tests\XMLReaderTest::testShouldThrowExceptionIfNamespaceIsNotKnown
DOMXPath::query(): Undefined namespace prefix
And it seems that this test will be broken when executing the $this->xpath->query($path);
.
Please see more details about this Travis build log.
Thanks.
The change is required for PHPOffice/PHPWord#483.
Hello. I see all your projects dependence on this package and this package use pclzip. I think pclzip is very slow solution in case of managing zip-archives. As alternative for this I can support using my package (https://github.com/wapmorgan/UnifiedArchive). It provides all needed functions to work with zip archives with very big speed gain (comparing to PclZip). Also, you don't need to change all things that work with archives, only initiation part. Let me show.
It provides PclZip-like interface for ZIP archives, so all you need is to change PclZip initiation
$archive = new PclZip("archive.zip");
to UA initiation and receiving PclZip-interface
$archive = UnifiedArchive::open('ziparchive.zip')->pclzipInteface();
That's all! After that speed of all archive operations will increase.
Take your time to think that and I can help you test your products and replace old requirements with modern ones.
Is impressive the good job made in this Project.
We think the project will be boosted if WOPI protocol is implemented as a new feature, allowing it to be a great alternative to Collabora online or Office online.
CSV上传,单独中文字符,导致其后续空的field直接被去除,并补充到本行末尾。作者大大能复现么,或者在读取时候需要加上什么限制
In Text.php
, buildControlCharacters()
constructs array of control characters, but only characters 0 - 19(without 9, 10, 13).
If i create Word2007 file with some other control character, for example 20, generated file is corrupted.
Sample:
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->addText('control char 27(ESC):' . chr(27));
$objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
$objWriter->save('test.docx');
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.