Re: plans to preserve field type info during pdf import?

2014-01-31 Thread Larry Evans

On 12/27/13 12:24, Larry Evans wrote:

Opening the irs f1040 form for 2012:

   f1040.pdf

with LibreOffice4.1.2.3 on my ubuntu system:

~/prog_dev/LibreOffice/file_conversion/inp $ uname -a
Linux evansl-Inspiron-531 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12
21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
~/prog_dev/LibreOffice/file_conversion/inp $

and saving as f1040.fodg did not preserve the field types.
IOW, the checkboxes in the .pdf were coded as:

 lt;draw:polygon draw:style-name=gr5 draw:layer=layout
svg:width=0.281cm svg:height=0.281cm svg:x=4.642cm svg:y=7.267cm
svg:viewBox=0 0 282 282 draw:points=0,282 282,282 282,0 0,0gt;
  lt;text:p/gt;
 lt;/draw:polygongt;
 lt;draw:frame draw:style-name=gr45 draw:layer=layout
svg:width=0.273cm svg:height=0.336cm svg:x=4.161cm
svg:y=7.264cmgt;
  lt;draw:text-boxgt;
   lt;text:p text:style-name=P1gt;lt;text:span
text:style-name=T13gt;2 lt;/text:spangt;lt;/text:pgt;
  lt;/draw:text-boxgt;
 lt;/draw:framegt;
 lt;draw:frame draw:style-name=gr47 draw:layer=layout
svg:width=7.249cm svg:height=0.336cm svg:x=5.08cm svg:y=7.27cmgt;
  lt;draw:text-boxgt;
   lt;text:p text:style-name=P1gt;lt;text:span
text:style-name=T7gt;Married filing jointly (even if only one had
income) lt;/text:spangt;lt;/text:pgt;
  lt;/draw:text-boxgt;
 lt;/draw:framegt;

which gives no indication its a checkbox of any sort.  The same is
true of text fields because the First Name and intial field is coded
as:

 lt;draw:frame draw:style-name=gr176 draw:layer=layout
svg:width=3.922cm svg:height=0.336cm svg:x=1.34cm svg:y=3.05cmgt;
  lt;draw:text-boxgt;
   lt;text:p text:style-name=P1gt;lt;text:span
text:style-name=T25gt;YourFirstNameAndInitiallt;/text:spangt;lt;/text:pgt;

  lt;/draw:text-boxgt;
 lt;/draw:framegt;

Are there any plans to actually convert the fields into some form of
xform fields which are currently available in LibreOffice writer:

   https://help.libreoffice.org/Common/XML_Form_Documents_XForms

?

TIA.

-regards,
Larry Evans


FWIW, idrsolutions is already doing this conversion, but to html5
instead of to odf:

http://www.idrsolutions.com/jpedalxfa/

I tried their online converter on the f1040.pdf file, and,
in the resulting html, I could edit the fields and save
them.

-regards,
Larry




___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


plans to preserve field type info during pdf import?

2013-12-27 Thread Larry Evans

Opening the irs f1040 form for 2012:

  f1040.pdf

with LibreOffice4.1.2.3 on my ubuntu system:

~/prog_dev/LibreOffice/file_conversion/inp $ uname -a
Linux evansl-Inspiron-531 3.2.0-57-generic #87-Ubuntu SMP Tue Nov 12 
21:35:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

~/prog_dev/LibreOffice/file_conversion/inp $

and saving as f1040.fodg did not preserve the field types.
IOW, the checkboxes in the .pdf were coded as:

lt;draw:polygon draw:style-name=gr5 draw:layer=layout 
svg:width=0.281cm svg:height=0.281cm svg:x=4.642cm svg:y=7.267cm 
svg:viewBox=0 0 282 282 draw:points=0,282 282,282 282,0 0,0gt;

 lt;text:p/gt;
lt;/draw:polygongt;
lt;draw:frame draw:style-name=gr45 draw:layer=layout 
svg:width=0.273cm svg:height=0.336cm svg:x=4.161cm svg:y=7.264cmgt;

 lt;draw:text-boxgt;
  lt;text:p text:style-name=P1gt;lt;text:span 
text:style-name=T13gt;2 lt;/text:spangt;lt;/text:pgt;

 lt;/draw:text-boxgt;
lt;/draw:framegt;
lt;draw:frame draw:style-name=gr47 draw:layer=layout 
svg:width=7.249cm svg:height=0.336cm svg:x=5.08cm svg:y=7.27cmgt;

 lt;draw:text-boxgt;
  lt;text:p text:style-name=P1gt;lt;text:span 
text:style-name=T7gt;Married filing jointly (even if only one had 
income) lt;/text:spangt;lt;/text:pgt;

 lt;/draw:text-boxgt;
lt;/draw:framegt;

which gives no indication its a checkbox of any sort.  The same is
true of text fields because the First Name and intial field is coded
as:

lt;draw:frame draw:style-name=gr176 draw:layer=layout 
svg:width=3.922cm svg:height=0.336cm svg:x=1.34cm svg:y=3.05cmgt;

 lt;draw:text-boxgt;
  lt;text:p text:style-name=P1gt;lt;text:span 
text:style-name=T25gt;YourFirstNameAndInitiallt;/text:spangt;lt;/text:pgt;

 lt;/draw:text-boxgt;
lt;/draw:framegt;

Are there any plans to actually convert the fields into some form of
xform fields which are currently available in LibreOffice writer:

  https://help.libreoffice.org/Common/XML_Form_Documents_XForms

?

TIA.

-regards,
Larry Evans






___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice