[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [birt-dev] Birt with editable fields

Hi Aurels,

Great. And yes, your comment is exactly what I was thinking. It would be much better to have an additional property on the Text item "Editable PDF: True/False" or something like that.

Could you create a Bugzilla for this, describing the business problem you want to solve and summarizing the conclusion from this thread?

I'd like to get this on the planning list - something we may consider for Eclipse BIRT 4.5 Mars release (June 2015).

Thanks!

Paul.

-----Original Message-----
From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Aurels Bogoss
Sent: Friday, August 22, 2014 12:21 AM
To: For developers on the BIRT project
Subject: Re: [birt-dev] Birt with editable fields

Hi Paul,

yes it is exactly what you are saying. In the PDF emitter, I use iText API to create the editable field.
So maybe add another flag in order to signal that an element have to be editable rather than the "strikethrough" attribute.

Have a nice day.
Best regards,



On Thu, Aug 21, 2014 at 7:07 PM, Paul Clenahan <PClenahan@xxxxxxxxxxx> wrote:
> He Aurels,
>
> Ah, I think I understand. To confirm:
>
> Your business goal (requirement) is to create PDF editable fields (form fields?) in the PDF file generated by BIRT. You do not need them to be editable in the report output (.rptdocument) generated by BIRT itself. Only in the exported PDF.
>
> To do this, you are using the "strikethrough" attribute as a flag for the PDF emitter. When the PDF emitter sees the strikethrough attribute, it renders that content in the PDF as an editable PDF field.
>
> Did I get that right?
>
> Paul.
>
>
>
> -----Original Message-----
> From: birt-dev-bounces@xxxxxxxxxxx 
> [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Aurels Bogoss
> Sent: Thursday, August 21, 2014 7:51 AM
> To: For developers on the BIRT project
> Subject: Re: [birt-dev] Birt with editable fields
>
> Hello,
>
> thank you for your reply, here comes additionnal explications for editable fields :
>
> By default, BIRT is unable to generate editable fields for reports in PDF format, ie fields whose content can be edited directly on the final report. A patch has been necessary to make this feature available.
> In this patch, the emitter for generating PDF reports "org.eclipse.birt.report.engine.emiter.pdf" was patched by changing only two classes: PDFRender.java and PDFPage.java. These have been amended to insert the following two features.
> To insert an editable field in a BIRT model, we have to use the "line through" style on an selected element, this style is located next to the "underline", "italic" and "bold" styles in BIRT. For example, if the model has an element of type text with the value "Suzuki", in the generation that will produce an editable field with predefined value "Suzuki".
>
> See in the attachments, an example element before the generation and after.
> If you have additionnal questions, I am available to answer ;)
>
> Have a nice day,
>
> On Wed, Aug 20, 2014 at 8:07 PM, Paul Clenahan <PClenahan@xxxxxxxxxxx> wrote:
>> Hi Aurels,
>>
>> Apologies for the delayed response. Your new feature sounds interesting and I would like to understand it more.
>>
>> Could you send some screenshots of your feature in use?
>>
>> Regards,
>>
>> Paul Clenahan
>> BIRT Project Management Committee
>>
>> -----Original Message-----
>> From: birt-dev-bounces@xxxxxxxxxxx
>> [mailto:birt-dev-bounces@xxxxxxxxxxx] On Behalf Of Aurels Bogoss
>> Sent: Tuesday, July 22, 2014 7:36 AM
>> To: birt-dev@xxxxxxxxxxx
>> Subject: [birt-dev] Birt with editable fields
>>
>> Hello,
>>
>> I'm happy to see that the version 4.4.0 is available ! :D Besides, I propose another evolution for the futur version of Birt :
>> add editable fields.
>>
>> In a project that I'm working on, I needed to include editable fields in the template files using the tool BIRT. So, I modified the BIRT runtime source (4.3.0) in order to create editable fields when we use the style 'linethrough' in the templates files. I modified the classes PDFRender.java and PDFPage.java at the location org.eclipse.birt.report.engine.emiter.pdf.
>> So, I available for more information.
>>
>> Link of my post : https://wiki.eclipse.org/File:AddEditableFields.zip
>>
>> Best regards,
>>
>> --
>> M. @ur3l$76
>> Email : lehavrai76@xxxxxxxxx
>> _______________________________________________
>> birt-dev mailing list
>> birt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or 
>> unsubscribe from this list, visit 
>> https://dev.eclipse.org/mailman/listinfo/birt-dev
>> _______________________________________________
>> birt-dev mailing list
>> birt-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or 
>> unsubscribe from this list, visit 
>> https://dev.eclipse.org/mailman/listinfo/birt-dev
>
>
>
> --
> M. @ur3l$76
> Email : lehavrai76@xxxxxxxxx
> _______________________________________________
> birt-dev mailing list
> birt-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or 
> unsubscribe from this list, visit 
> https://dev.eclipse.org/mailman/listinfo/birt-dev



--
M. @ur3l$76
Email : lehavrai76@xxxxxxxxx
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/birt-dev