Skip to content
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

Excel Formulae is not working when converting excel to pdf #135

Closed
VarmaTech opened this issue Aug 14, 2020 · 3 comments
Closed

Excel Formulae is not working when converting excel to pdf #135

VarmaTech opened this issue Aug 14, 2020 · 3 comments
Assignees

Comments

@VarmaTech
Copy link

Hi ,
i have 2 column in which 1 column need to show grand total so i have kept formuale in excel as ''=SUM(CELL:CELL)"
grand total is coming in excel but when i tried converting to pdf using excel template by LibreOffice5 it is showing zero .

version yarg 2.1.5

@Desire456
Copy link
Contributor

Desire456 commented Jul 20, 2021

Hi @VarmaTech,

Can not reproduce your issue. Please check cuba-platform/reports#199. If it doesn't help can you please provide the report or minimal sample application to reproduce your issue?

@VarmaTech
Copy link
Author

Desire456 commented :
That occurs because the template is created using Microsoft Office. There is a shared formula that was created in MS Office and not supported by LibreOffice. You can create a template using LibreOffice or don't use shared formulas in MS Office. When you create the template using LibreOffice all works correctly. The correct workflow for this case is creating templates in LibreOffice and reading reports from everywhere or creating templates in Microsoft Office and not using shared formulas.

How ever the template is created , Yarg logic should work right ? how can we tell the end user to create template only in LibreOffice or not to use Shared Formulas . Max user use Microsoft Office .
This is not the way to close the issue.

@Gavrilov-Ivan
Copy link
Contributor

Gavrilov-Ivan commented Dec 14, 2022

Added option to force evaluation of formulas.
Configured by DefaultFormatterFactory#setFormulasPostProcessingEvaluationEnabled or cuba.reporting.formulasPostProcessingEvaluationEnabled property. 'False' by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

5 participants