https://issues.apache.org/ooo/show_bug.cgi?id=89597

--- Comment #6 from [email protected] ---
ASSUMPTION: I am also assuming the fields are part of Form Control dialog.

I'm working with OpenOffice 4.0.0 AOO400m3(Build:9702)  -  Rev. 1503704 on a
Windows 7. I also replicated this on OpenOffice 3.3.0 OOO330m20(Build 9567) on
an XP machine. 

Because I am uncertain and unclear for "form field", I have assumed this to be
the components of Form Dialog. I have attached explicit instructions in the
"Steps to Create" PDF attachment. I am also attaching the "Form Controls" file
in both the exported PDF and the  native ODF format.

Steps to create:

1) Open OpenOffice Writer. Enable Form Control toolbar View->Toolbars->Form
Controls
2) From the Forms Control tool bar, click on the option Button(It should be
higlighed in a grey box), go the sheet and draw it onto the sheet. 
3) Double click on the option button and change the "Enabled" and "Visible"
property to No. Close the property dialog.
4) Add another option button. Set Enabled=No and Visible=Yes for its property.
Close the property dialog.
5) Add 3rd option button. Set Enabled=Yes and Visible=No for its property.
Close the property dialog.
6) Add the 4th option button. Set Enabled=Yes and Visible=Yes for its property.
Close the property dialog.
7) Export the PDF file. Observe the controls in PDF file. You can now observe
the bug.
All the 4 option button are visible and can be selected in the PDF. My
expectations were:

Enabled=No and Visible=No   -> Hidden and Unable to select in PDF
Enabled=No and Visible=Yes  -> Visible but Greyed out in PDF
Enabled=Yes and Visible=No  -> Hidden in PDF(Although I can select it)
Enabled=Yes and Visible=Yes -> Visible and able to select in PDF.

Follow up Tests:
1) I added 2 Push button using the Form controls. One of them was Enabled=Yes
and it was set to open www.google.com, whereas the other one had Enabled=No and
was set to open www.yahoo.com
2) After exporting to PDF, I saw both the buttons were enabled and functioning.

It thus appears that the Enabled and Visible property works in ODF but
exporting them to PDF causes them to lose their property. I have neither tested
other properties nor other components in Form Control, except Enabled and
Visible property for option button and Push button.

P.S. I was not able to find any related bug to Form Control.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

Reply via email to