FYI the issue should be fixed on the latest jsreport 4.10.1 release

BORIS MATOS MORILLO
@bjrmatos
Posts made by bjrmatos
-
RE: html-to-xlsx tables with merged cells missing last row
-
RE: docxImage doesn't work for me
it works for me on latest jsreport (4.10.0), what version are you using? if using a different version, ensure you are using latest jsreport.
-
RE: docxImage doesn't work for me
hi! if you want to preserve the image of the docx template you need to force an error, the
failurePlaceholderAction
will do its job when detecting that there is an error loading the image. to force the error you can set yourlogoBase64
to some invalid url likehttps://error
.it looks inconvenient to do it this way, but maybe in the future we will allow to pass the null value.
-
RE: docxImage doesn't work for me
hi! it is not enough to put the handlebars in the document, you have to follow some specific steps.
Prepare image placeholder using word - place any image to the desired position and format it to your needs.
Select image, select Word tab "Insert", click on "Bookmark and create one
Right click image and click "Hyperlink"
Click bookmark and select previously created bookmark
Click ScreenTip still on the "Insert Hyperlink" modal.
Fill the docxImage helper call {{docxImage src=myDataURIForImage}}
Hit ok and close the hyperlink dialog. Now if you hower the image you should see the docxImage helper call
Run the template with myDataURIForImage prop in the input data and you should see the image replaced in the output.here is an example
-
RE: Conditional section break for landscape page
FYI we have included changes to make the section breaks to work. it is available with jsreport 4.10.0, you can do a test of it.
-
RE: html-to-xlsx tables with merged cells missing last row
thanks for the heads up, i am going to take a look
-
RE: Want to nest the fields of "docxTable" into a child table
i just replicated what you were trying to do on your first comment (from the screenshot), and i see it works. see example here: https://playground.jsreport.net/w/bjrmatos/1TEWLWcV
doesn't this cover your use case?
-
RE: Jsreport xlsx with multiple tables on same sheet
hi!
it seems the problem is how your loops are generating the rows
in your first each you are generating: R2, R3 ... R6
the second each you are generating: R2, R3 ... R7
the third each you generate: R2, R3, R4basically you are generating duplicated rows, and because of that when you see the file, the preview tries to self-repair the duplicated rows by given them new indexes, so that is why you your content being generated at different rows.
there are a lots of ways you can fix this, but the most simple i think is to group your data and in single loop generate all the rows that you need
-
RE: Text in a cell is not visible as whole: html-to-xlsx
this is how it looks for me using MS Excel on macOS. text truncated as expected because you are using a custom width in the HTML. i don't know why it looks different to you, is this MS Excel from Windows?
-
RE: Conditional section break for landscape page
can you attach these as an export file? if the attachment here does not work send me the file via email to bjrmatos@gmail.com