[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #64934] Need to optimize formatting in reports
From: |
Feng Shu |
Subject: |
[Health-dev] [bug #64934] Need to optimize formatting in reports |
Date: |
Tue, 28 Nov 2023 20:51:17 -0500 (EST) |
Follow-up Comment #2, bug #64934 (project health):
[comment #1 comment #1:]
> [comment #0 original submission:]
> > Hi, Feng
> >
> > Could you please review the latest changes you did on the formatting in
the reports?
> >
> > Pictures in the reports (Identification cards, newborn..) should keep the
original aspect ratio, so they don't look distorted.
>
> At the moment, I do not find a way in odt file to keep image ratio, it has a
'Keep radio' checkbox, but can not check to enable, I do not why.
>
> I use 2.5cm x 3.5cm in template, for it seem to be a standard size of ID
photo.
>
> image: (patient.photo, 'image/png','2.5cm','3.5cm')
>
> Any suggestion?
At the moment, I add a function image_crop_to_ratio to health/core to solve
this problem,
if we can find a simper way, we can improve it again.
https://hg.savannah.gnu.org/hgweb/health/rev/e6180e0887f4
>
> >
> > Also, please check in English that labels and single-line content fit
within the the same line. Some examples are prescriptions, wristbands.
>
>
>
> do you mean:
>
>
> | Qty | Common Usage | Specific Usage |
> | a | b | c |
>
>
> become
>
> | Qty: | a |
> | Common Usage: | b |
> | Specific Usage: | c |
>
>
>
> >
> > Thank you!
> >
> > Bests
> > Luis
> >
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64934>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/