Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | [From Symphony]Macro button lost if save template to .doc file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Writer | Reporter: | Yan Ji <yanji.yj> | ||||||
Component: | save-export | Assignee: | AOO issues mailing list <issues> | ||||||
Status: | CLOSED FIXED | QA Contact: | |||||||
Severity: | Normal | ||||||||
Priority: | P3 | CC: | bjdujing, debin.lei, liushenf, zjchencdl | ||||||
Version: | 3.4.0 | ||||||||
Target Milestone: | 4.0.0 | ||||||||
Hardware: | PC | ||||||||
OS: | All | ||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Attachments: |
|
I am working on it The root cause for the issue is the MACROBUTTON field is not exported at all. There is a function named as void AttributeOutputBase::TextField( const SwFmtFld& rField ) for export field, located in main\sw\source\filter\ww8\ww8atr.cxx Need add some codes here to output the MACROBUTTON field. Created attachment 78316 [details]
patch for the issue
Add export MACROBUTTON field codes in
void AttributeOutputBase::TextField( const SwFmtFld& rField )
This patch is ok to me. Looking forward to see your solution update in AOO repository. Zuo Jun, thanks for your review. Now, the code check into the trunk at revision: 1357104 fixed , pls help to verify it, thx. when reopen the saved doc document,the macro button is not same with in orininal document verified on the build 1377620 |
Created attachment 77856 [details] sample Build: AOO 3.4 Steps: 1. Open attached template file 2. Save it as .doc file 3. Reopen it. Defect: The macro button lost