Apache OpenOffice (AOO) Bugzilla – Issue 51944
Insert hyperlink with pushbutton does not work after save
Last modified: 2013-08-07 14:38:26 UTC
Inserting hyperlink using push button does not add the HREF statement into the html code. In the Insert hyperlink window the "button" is not active, unless you switch the target a couple of times. When it finally accepts the button, it doesn't generate the HREF statement in the html code. In WinXP there is a workaround to create first the text link and change it to button. In Linux tehre is no way to get the buttons to work.
Reassigned to ES.
I couldn't reproduce what you describe. Especially, there is no defference between Windows and Linux. Please describe step by step what you do, get and expect. Please, keep in mind: - Concerning the problem(s): 1) Push buttons, in HTML, are part of a FORM which uses a VALUE attribute, not an A HREF tag 2) to be active in OOo, a form must be in active mode, not in design mode (default) - Concerning the bug handling: 1) 1 problem = 1 issue. We cannot accept multiple problems issues. 2) We have no ressources to maintain the HTML module, so that we only can handle crashes and huge regressions. 3) please always use the latest developper build to report bugs. OOo 2 Beta is too old.
Created attachment 27920 [details] This hyperlink pushbutton example
I am using OpenOffice.org 1.9.113. Sorry for the confusion. I created a small test example, which I attached to thi issue. I opened a new html document, wrote some text and inserted a hyperlink URL with button. The pushbutton appears in the document, but if I open the file with firefox, the pushbutton doesn't cause any action. I'll open another issue for the menu problem.
ES->AMA: to work correctly, the insertion of an hyperlink Pushbutton should add onClick="self.location.href='<complete_url>' to the code.
This is still happening in RC2! Here are steps to recreate: insert hyperlink for target put any address (http://openoffice.org)next to form click down arrow and choose button type in Text the text for the button (Open Office) and in Name give the button a name (opennofficebutton) click apply and then click close.Click file save as html give a name (test.html)click save.(Get warning about formatting Why? therre is nothing in here that HTML can not handle!) Click yes and open test.html. See button is there but does hyperlink to openoffice.org! See actual HTML generated below. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> <TITLE></TITLE> <META NAME="GENERATOR" CONTENT="OpenOffice.org 2.0 (Win32)"> <META NAME="AUTHOR" CONTENT="David Proske"> <META NAME="CREATED" CONTENT="20051011;8483139"> <META NAME="CHANGEDBY" CONTENT="David Proske"> <META NAME="CHANGED" CONTENT="20051011;8565417"> <STYLE> <!-- @page { size: 8.5in 11in; margin: 0.79in } P { margin-bottom: 0.08in } --> </STYLE> </HEAD> <BODY LANG="en-US" DIR="LTR"> <FORM NAME="Standard"> <P STYLE="margin-bottom: 0in"><INPUT TYPE=BUTTON NAME="PushButton" VALUE="Open Office" STYLE="width: 1.46in; height: 0.21in"></P> </FORM> </BODY> </HTML>
This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please re-test with one of the latest versions of OOo - the problem(s) may have already been addressed. Either use the recent stable version: http://download.openoffice.org/index.html or consider trying the new OOo 3 BETA (still in testing): http://download.openoffice.org/3.0beta/ Please report back the outcome so this Issue may be closed or progressed as necessary - otherwise it may be Resolved as Invalid in the future. You may also wish to search for (and note) any duplicates of this Issue that may have advanced further : http://www.openoffice.org/issues/query.cgi Many thanks, Andrew Cleaning-up and Closing old Issues as part of: ~ The Grand Bug Squash, pre v3 ~