-
Notifications
You must be signed in to change notification settings - Fork 198
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
Conditional sections #9
Comments
I suppose you could store the text in your JSON and conditionally include or not include it in your JSON @smbatpetrosyan |
I have the same request to include conditionnally large piece of text. |
If the text is in JSON, it can be done with ifEqual. We will find a solution and it will be in the community edition of Carbone ;) |
I am also interested in conditional text, tables, sections, images in the document itself. Do you have a time line, when it will be implemented? Thanks in advance. |
Congratulations on a great solution. Any idea if this is due soon? |
We will try to publish something to answer your needs about conditional sections within the year. We can't give you a publishing date or even a month due to other priorities that we have, however we can tell you that we will spend more time on Carbone from april 😄 Thank you for your interest in Carbone, this is motivating 😉 |
Any update on when this one might be available? unfortunately this is a deal breaker for us at the moment, but really keen to use Carbone as a replacement of a current solution, looking great so far. |
We're currently working on a new Studio with new pricing/solutions and high-available render API in order to provide a fully functional solution for enterprise needs. We want to develop a robust SaaS and then focus more on Carbone itself, answer your needs. Also, we're improving the dynamic pictures handling (and add the possibility to put a picture as base64 in the data instead of a public url). |
Well, I've tried to create a document with:
Then I create the json with hide_section = "hide" and merge the document with it. When I open de document, the section is visible but if I press F9 (refresh fields), the section is hidden automatically. Is there any option to automatically refresh fields when a odt document is open? If yes, we could use this technique to hide sections very easy. |
This issue is one of the most important feature requested from the community. |
Any feedback on conditional sections yet? |
This feature would be very nice, a game changer for carbone. And after that, subreports to include in a document also would be fantastic! Do you have any idea when this issue will be available? Thanks for this awesome project and for sharing it! |
Hi @leandro-almeida, the team focus on shipping a new version of Carbone planned for the past month, we're running a behind schedule. We have rewritten some part to improve and include new features. Conditional sections POC is in stand by for the moment. |
Will it be released in the opensource library aswell?
…On Mon, 11 May 2020 at 17:15, Steeve Payraudeau ***@***.***> wrote:
The team and I are happy to announce to you that the "if block" works in
real test cases!
[image: conditionalBlock]
<https://user-images.githubusercontent.com/16964532/81578036-90b92e80-93aa-11ea-9f8d-194ab6c8b5d5.gif>
Now, we need to clean up the code and add some documentation. This feature
will be available this week (maybe tomorrow). I will let you know.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIV5XUETP43PMKAZTHSAVLRRAI73ANCNFSM4ESCF4LQ>
.
|
Yes it will be open source. |
You are awesome!!!! |
Thank you. It will be even better than I thought!
Travel in time (Block to hide or show)
We are merging everything together and this new version will be public in few hours ;) |
This is extremely exciting. I just want to be certain, within the carbone
github project: https://github.com/Ideolys/carbone where the nodejs
implementation is farely simple. I would like to know if this will have the
update which includes the functionality mentioned in this thread?
And then referring to the npm package at https://www.npmjs.com/package/carbone which is still on version 1.2.1.
Sorry about the over eagerness, just very excited!
…On Tue, May 12, 2020 at 2:48 PM David Grelaud ***@***.***> wrote:
Thank you. It will be even better than I thought!
For example, you can do complex conditions with new conditional formatters
in v2.0:
{d.car:ifEQ('delorean'):and(.speed):ifGT(80):showBegin}
Travel in time (Block to hide or show)
{d.car:showEnd}
We are merging everything together and this new version will be public in
few hours ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIV5XX7GQFVLZRTKQ4TC6LRRFAQ7ANCNFSM4ESCF4LQ>
.
|
It is available on the latest release 2.0.0, I close the issue. |
Is there a possibility to construct the template so that some of text sections are included selectively (conditionally).
The text was updated successfully, but these errors were encountered: