docxConverter plugin generating the XML file in the initial submission step

Hello Guys.

Hello.
I would like to know if you can help me find the solution to the problem that the docxConverter plugin (version 1.1.1.0) that, when activated in the Copyediting or Production step, is generating the XML file in the initial submission step?

Production step
Captura de Tela 2022-08-15 às 19.55.43

Submission step
Captura de Tela 2022-08-15 às 19.55.23

OJS 3.3.0.8 version
docxConverter plugin version 1.1.1.0
URL: https://periodicos.ifma.edu.br/redesign

Hi @lcbrito02,

Hmm, I am unable to reproduce it locally. Can you describe the reproduction steps, which led to this?

See: https://github.com/Vitaliy-1/docxConverter/issues/17
The commit that should fix it: https://github.com/Vitaliy-1/docxConverter/commit/a6d3e1cff093578ee41ac48771828cca5d9aa9bd
Please, let me know if you applied it and if it fixes the problem for you.

Great Vitaliy!

The fix worked.

Thanks very much!

I just need one more help, how to customize the image in the header of the converted file?

If you mean in the generated PDF, that’s the JATS Parser Plugin part. The logic is here: https://github.com/Vitaliy-1/JATSParserPlugin/blob/main/JatsParserPlugin.inc.php#L135. It uses journal thumbnail if it’s set or default image by this path: https://github.com/Vitaliy-1/JATSParserPlugin/blob/main/JatsParserPlugin.inc.php#L139 if the former is absent.

Hi Vitaliy!
I expressed myself wrong. I would like to know how to modify the aspect ratio of the header image format that is square.

Sincerely.

For the width, I think the second argument in this method is responsible: https://github.com/Vitaliy-1/JATSParserPlugin/blob/main/JatsParserPlugin.inc.php#L162

The height, as far as I recall, is linked to the header height: https://github.com/Vitaliy-1/JATSParser/blob/fb756f9983286bf10e43f1e0dbad706d964e891f/src/JATSParser/PDF/TCPDFDocument.php#L17

So, I still can’t find where I alter the dimensions, so I can be more specific.
I placed a rectangular image, but with the same height of the head, however, it is deformed to represent a square format.

By default, the header is hard-coded by the TCPDF library. You can check what arguments it accepts: https://tcpdf.org/examples/example_001/ or build a custom one by overriding the header method, like in the documentation: https://tcpdf.org/examples/example_003/

I still haven’t been able to configure the image size, I still haven’t been able to figure out where to change width x height