Office2007wlx 0.0.4

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: sheep, Hacker, Stefan2, white

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Office2007wlx 0.0.4

Post by *fenix_productions »

Office2007.wlx plugin allows to view Microsoft Office 2007 files in lister window as plain text files.

Headers and footers are not displayed yet.

Microsoft Office 2007 in not required for this plugin to work!

Download:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/Office2007wlx%7C_0.0.4.zip

Source:
http://cid-e12762cbdafb3c47.skydrive.live.com/self.aspx/TC/Office2007wlx%7C_0.0.4%7C_src.zip

---
History
2009.03.14 (0.04):
- fix for national characters (for systems without Unicode fonts),

2009.03.12 (0.0.3):
- better Unicode support,

2009.03.10 (0.0.2):
- fixed few nasty bugs;
- added local characters handling;
- added PPSX extension handling;

2009.03.08 (0.0.1) - first release;
Last edited by fenix_productions on 2009-03-14, 20:44 UTC, edited 6 times in total.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
Vansumsen
Power Member
Power Member
Posts: 761
Joined: 2003-11-09, 08:16 UTC
Location: Belgique
Contact:

Post by *Vansumsen »

:arrow: fenix_productions"

Trying to install, I get this message :

Code: Select all

Error loading plugin file !
The plugin probably needs some DLL missing on your system
Any idea ?

Under Win XP Sp3 and also under Vista Sp1

Fiendly

Paul
Last edited by Vansumsen on 2009-03-08, 22:13 UTC, edited 1 time in total.
Ouistiti, #11943

L'important n'est pas de convaincre, mais de donner à réfléchir.
The important thing is not to convince, but to incite to think.

1,77245385090552...

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Vansumsen
Hm, looks like newest MS redistruables (msvcr90d.dll). I will try to find a way to change it. I did it somehow with wdx :)

Edit: Plug re-uploaded. Should not require additional DLLs (but is bigger, unfortunately).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Works…

Post by *Clo »

2fenix_productions

:) Hello !

• I just installed it, it works. It should be nice to provide a sample of every supported extension (even as a link),
because indeed such file types are rather rare here…

• Also a wish : What about a mini local menu for Copy as plain text… ?
- That works from the keys, but I guess it's missing.

- The whole alinéa * selection by 3-click works fine with the Plugin (that isn't the case always in Lister… :|)

:mrgreen: KR
Claude
Clo
* That's a French naming for a continuous group of lines which are not a paragraph… Plz check mail ;)
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials

theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

2fenix_productions
An error in pluginst.inf

Code: Select all

[PluginInstall]
type=wdx
It should be "wlx".
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz

User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

YEP!!!!

Post by *Clo »

2theosdikaios

:) Hello !

• Right, confirmed ! However, that didn't cause any trouble to me because I installed the plug-in via TC-Plugman…

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials

theosdikaios
Senior Member
Senior Member
Posts: 228
Joined: 2006-02-04, 13:02 UTC

Post by *theosdikaios »

2fenix_productions
I got an error message

Code: Select all

Crash in plugin Office2007.wlx:
Access violation at address 7C80A2FA. Read of address 017BF000
I press the key "4" (switch between differnt viewers) often.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2theosdikaios
I've received similar report on e-mail (with problematic Excel file). I am trying to figure out it's magic (it runs smoothly when I try to debug but not directly in TC).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

I've got similar errors on some .docx and .xlsx files and on all .pptx files. I can try to find some not 'secret' files and send it to you if you need them for test purposes.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

Good news: I found the way to fix it but I will hold a little bit with new version.

Reason: problematic files does not contain text in "standard places" but numbers as references to common strings table only. I am holding to avoid new reports about: "There is no text! I can see just numebrs!" :)

Simply: I want two things fixed.

2djk
Please send me at least one of each files for docx or pptx. I've got plenty of Excel files.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Ok, I will prepare and send you such files.
What strange, if I press F3 a few times (sometimes only twice) on the same e.g. *.xlsx file it works correctly at the beginning but it crashes later.

Code: Select all

Crash in plugin Office2007.wlx:
Access violation at address 7C80A38A. Read of address 017BF000
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl

cheesecake
Junior Member
Junior Member
Posts: 16
Joined: 2007-04-19, 03:09 UTC

Post by *cheesecake »

Great plugin but with some problems.

1. When filename is in Chinese Simplified, plugin crashes. It says

Code: Select all

Crash in plugin Office2007.wlx
Access Violation in address 77E63804, read address of 03755000
BTW, if filename is extremely short (eg 1 character only), it may or may not crash. If it is long, it crashes each time.

to Ghisler as well:
When click Cancel on that plugin crash error window, another error window pops up says

Code: Select all

Cannot change Visible in OnShow or OnHide. 
Please report this error to the Author,
...
2. If changing filename into English, then most Chinese characters in the document cannot be displayed.

Environment: Win2K3 SP2 with Eastern Asian Language support installed, TC 7.04a.

All snapshots attached.

Test file & snapshots can be found @ http://www.box.net/shared/5j6q32l2h5

Cheers

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2cheesecake
cheesecake wrote:1. When filename is in Chinese Simplified, plugin crashes.
Confirmed for 0.0.1 but no crashes for new build (I will upload 0.0.2 later today).
cheesecake wrote:BTW, if filename is extremely short (eg 1 character only), it may or may not crash. If it is long, it crashes each time.
Already reported by djk and fixed :)
cheesecake wrote:2. If changing filename into English, then most Chinese characters in the document cannot be displayed.
I know about that. I've tried to fix it by adding proper characters conversion (from utf-8 to ANSI locale). It seems to work for Polish characters. We'll see if it's valid for Chinese.
cheesecake wrote:Environment: Win2K3 SP2 with Eastern Asian Language support installed, TC 7.04a.

All snapshots attached.

Test file & snapshots can be found @ http://www.box.net/shared/5j6q32l2h5
Thank you for your report. I appreciate that.

I took a look on it with 0.0.1 and have crashes but there are no longer problems with it. Just wait for new release.


BTW The easiest way to show MessageBoxes' content is to use Ctrl+C on them (and Ctrl+V in notepad) :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
fenix_productions
Power Member
Power Member
Posts: 1956
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

0.0.2 is out!

I've fixed few issues with "Access violation" (reason: bad Utf8ToAnsi) and added empty documents handling.

I have also implemented proper reading of XLSX tags, so if anyone saw numbers instead of text... this is no longer a problem.

Thanks to djk for his files.

ToDo list for this plugin is still growing. Thank you all for ideas.

P.S.1. I will hold a little with this one and fix bugs from here in Office2007wdx (they share same source code).

P.S.2. Please confirm if national characters are shown correctly.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099

User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Post by *Alextp »

Wish: add a font dialog for a font. And maybe color dialog for a backcolor.
At last make an option

Post Reply