Issue 120568

Summary: Hyperlink of Graphihc with Anchor Type "As Character" lost after save as doc format.
Product: Writer Reporter: qiuhuaidong
Component: save-exportAssignee: qiuhuaidong
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: bjdujing, chengjh, liushenf
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 120927    
Attachments:
Description Flags
add a url filed for hyperlinked picture qiuhuaidong: review?

Description qiuhuaidong 2012-08-14 08:56:55 UTC
Hyperlink applied to a picture with "As character" setting in doc file can be displayed correctly. But after saving the file as doc file, hyperlink of the picture lost.
Comment 1 qiuhuaidong 2012-08-14 09:03:28 UTC
Created attachment 78938 [details]
add a url filed for hyperlinked picture

Word processor keeps the hyperlink of a picture as a attribute of the frame which contains the picture, but when the file saved as .doc file, word processor ignores the the hyperlink attribute.

The patch adds some code to create a MS url field for the picture when the file been exported as .doc file.
Comment 2 Yan Ji 2012-08-15 01:39:52 UTC
The problem can be reproduced against latest AOO 3.4.1 build rev 1372282
Comment 3 Jian Hong Cheng 2012-08-24 03:15:55 UTC
Reviewed and committed with revision:1376816
Comment 4 Jian Hong Cheng 2012-08-24 03:16:52 UTC
This fix only focus on the url of the hyperlink applied to a graphic whose anchor type is "As Character"..
Comment 5 Du Jing 2012-08-28 03:49:06 UTC
verified on the build r1377620
Comment 6 Shenfeng Liu 2012-10-09 09:23:44 UTC
set Target Milestone to AOO 3.5.0 for PM purpose.