Bug 459279 - Contributing to print creator templates.
Summary: Contributing to print creator templates.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Documentation (show other bugs)
Version: 7.9.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 14:25 UTC by foto19@ernst-buerjes.de
Modified: 2023-05-04 14:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 8.1.0
Sentry Crash Report:


Attachments
attachment-1333820-0.html (2.56 KB, text/html)
2023-05-03 21:28 UTC, foto19@ernst-buerjes.de
Details

Note You need to log in before you can comment on or make changes to this bug.
Description foto19@ernst-buerjes.de 2022-09-17 14:25:47 UTC
I am missing some properties of the print creator. I have intended to use LibreOffice Base for analysing the digiKam database and forming my printouts. But this method implies that LibreOffice can read the digiKam database, which is not so easy to do.
The other way would be that I write the procedures myself. To do this I need to know in what language the modules have to be written and how my modules can be integrated in digiKam.
Comment 1 caulier.gilles 2022-09-17 16:45:03 UTC
The Print Creator plugin (as all the rest of digiKam), is written in C++ using Qt framework.

https://invent.kde.org/graphics/digikam/-/tree/master/core/dplugins/generic/tools/printcreator

For the properties of the plugin, some data text files (templates) are used and located here :

https://invent.kde.org/graphics/digikam/-/tree/master/core/dplugins/generic/tools/printcreator/templates

These files are mostly based on XML format for the template, and INI for the desktop files. There is an howto to read :

https://invent.kde.org/graphics/digikam/-/blob/master/core/dplugins/generic/tools/printcreator/templates/TEMPLATE_HOWTO

Best

Gilles Caulier
Comment 2 caulier.gilles 2023-05-02 07:51:36 UTC
@foto19@ernst-buerjes.de

The process to contribute to PrintCreator temple is fully described in this online documentation section:

https://docs.digikam.org/en/post_processing/print_creator.html#creating-a-new-layout

Gilles Caulier
Comment 3 foto19@ernst-buerjes.de 2023-05-03 21:28:33 UTC
Created attachment 158674 [details]
attachment-1333820-0.html

Hi Gilles,

thank you for this information.

But I believe that in the description is a mistake. I could not find the 
documentation of the templates under 
||/usr/share/apps/digikam/templates/|.|I found it under 
|/usr/share/digikam/templates/.|

Another Question:

I am missing an element "text" to define position, size, color, density 
and contents of a photo. The contents should refer to the description, 
title and other metadata of the Photo as the menu of print-creator does. 
Print-creator works, but it doesn't work well because it puts the text 
into the photo - not under, beside or above it. And to find the right 
size forces many experiments.

Ernst Bürjes


Am 02.05.23 um 09:51 schrieb bugzilla_noreply@kde.org:

> https://bugs.kde.org/show_bug.cgi?id=459279
>
> caulier.gilles@gmail.com  changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |RESOLVEDrmation.
>            Component|Plugin-Generic-PrintCreator |Documentation
>     Version Fixed In|                            |8.1.0
>           Resolution|---                         |FIXED
>
> --- Comment #2 fromcaulier.gilles@gmail.com  ---
> @foto19@ernst-buerjes.de
>
> The process to contribute to PrintCreator temple is fully described in this
> online documentation section:
>
> https://docs.digikam.org/en/post_processing/print_creator.html#creating-a-new-layout
>
> Gilles Caulier
>
Comment 4 caulier.gilles 2023-05-04 13:57:57 UTC
Git commit c00c6af09d6153baa3f8cfc097627e9703b63133 by Gilles Caulier.
Committed on 04/05/2023 at 13:57.
Pushed by cgilles into branch 'master'.

fix path to template files instaled on Linux system

M  +1    -1    post_processing/print_creator.rst

https://invent.kde.org/documentation/digikam-doc/commit/c00c6af09d6153baa3f8cfc097627e9703b63133
Comment 5 caulier.gilles 2023-05-04 14:15:09 UTC
See the bug https://bugs.kde.org/show_bug.cgi?id=329633 for the text position settings of the image caption

Gilles Caulier