Opened 10 years ago
Closed 9 years ago
#524 closed enhancement (fixed)
OpenOffice.org (OOo) integration
| Reported by: | dstillman | Owned by: | iannz |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | word integration | Version: | future |
| Keywords: | helpwanted | Cc: |
Description
Change History (9)
comment:1 Changed 10 years ago by iannz
- Owner changed from nobody to iannz
comment:2 Changed 9 years ago by iannz
comment:3 Changed 9 years ago by iannz
How can I upload files when I'm told I don't have permission to do so?
comment:4 Changed 9 years ago by iannz
Still don't have permission to upload files.
comment:5 Changed 9 years ago by iannz
The main changes are:
- To add compiler directives that make the code work for both Microsoft Word and OOo Writer;
- Preferences stored in Document comment as these round trip;
- Removed Type declaration as OOo doesn't have it and simply used 3 arrays;
- To optionally use bookmarks instead of Word fields / Writer Set References;
- Marks are only in the location of the citation (rather than notes being marked in the in the body of the main document;
- When changing from note to in-line citation style checks that there is no other text in the note before changing;
- Variable names start with initial lowercase letter denoting the type of variable;
- Function names start with fn;
- Apart from top level subs, subs are named sub;
- Due to bugs in MSWD Mid and Join functions replaced with custom functions;
- Checks whether selection in a Zotero 'field' before inserting a new 'field';
- Handles deleted Zotero citatons.
Integrated John McCaskey's work, namely:
- Changed field type to ADDIN;
- Check insertion point location before inserting citations or bibliography;
- Fixed checks for whether bibliography allowed for citation style;
- Check if Zotero citations before inserting bibliography;
- Allow for inserting citation in footnote when citation style is footnote;
- Tidy surrounding text when changing between footnote/endnote citation style and in-line styles;
- Allow for underscore character to represent italics in RTF.
Known Issues
- When in bookmark mode in Word - inserting before a bookmark extends the bookmark so rearranging punctuation and spaces before the bookmark end up in the bookmark (need to have a routine for insert before bookmark that repositions the bookmark correctly);
- Similarly in Writer inserting after a ReferenceMark;
- Sort order in Writer is wrong. A lot of the code is there just need to fix up the routine fnRangeComp.
comment:6 Changed 9 years ago by iannz
The uploaded files are not for the Mac.
To use the files on the Mac change the constants at the top of the code.
comment:7 Changed 9 years ago by iannz
Updated the files:
- Replaced string functions with custom functions.
- Replaced MAC constant with ZMAC.
- Changed asking about using bookmarks to docs prefs.
- Improved efficiency when adding notes.
comment:8 Changed 9 years ago by iannz
Latest files can now be found at:
https://www.zotero.org/svn/integration/branches/ice
How do I remove the attached files from this ticket?
comment:9 Changed 9 years ago by dstillman
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
For the University of Southern Queensland I have modified the macros in the Word template Zotero_a2.dot so that they will run in both Word (for Mac and Windows) and OpenOffice.org (Linux, Windows, Mac X11 and NeoOffice). The only changes required between the different versions is to compiler constants at the top of the file. In this way there is only one file to be updated.
However, different versions of the file would need to be downloaded (with the different constants). Rather than a template for OOo I have created OOo extension/packages.
So that documents could round trip between Word and OOo I made the following changes:
Current known issues: