-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloneRow Merge malfunction #600
Comments
I managed to fix this issue by altering the source. A added a few extra lines to TemplateProcessor.php
|
Additionally in the code above you need to rename |
Hi guys, I'm trying to do a "complex" table with this code, but the result is :
Vehicule 3 is merged on 4 lines. Here, the template :
Véhicule ${vehicle_ID} is merged on 4 lines. Here, the code : `
` Number rows to clone is right. What do you think about ? |
If the first column of the table is merged, the cloneRow will duplicate some content after the table. Here's an example:
![input](https://cloud.githubusercontent.com/assets/13945382/9462459/4506fe04-4b16-11e5-90be-5257f31abec6.png)
![output](https://cloud.githubusercontent.com/assets/13945382/9462462/4c0c22ce-4b16-11e5-842a-4b69541649b5.png)
cloneRow('emg', 3); $templateProcessor->setValue('emg#1', htmlspecialchars('1')); $templateProcessor->setValue('emg#2', htmlspecialchars('2')); $templateProcessor->setValue('emg#3', htmlspecialchars('3')); $templateProcessor->saveAs('results/WPOutput.docx'); ?>Input:
Output:
My code:
As you can see it's an error.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: