Office2007wlx 0.0.4

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

Moderators: Hacker, petermad, Stefan2, white

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

Post by *fenix_productions »

2Peter
Please test this one (0.0.6):
http://cid-e12762cbdafb3c47.office.live.com/self.aspx/TC/Office2007wlx%5E_0.0.6.zip

It should support (by INI detect string definition) following formats:

docm, dotm, dotx, potm, potx, ppam, ppsm, pptm, xlam, xlsm, xltm, xltx.


If it works properly for you I may release this on public in next few days.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

1-minute-quick-test-report:

Yes, after modifying the INI-string it display the DOCM (2007). Other extensions will be tested later.

[EDIT:
2-minutes-quick-test-report:
Tables are not displayed - no text, no frames, no place-holders "something is missing here": nothing...

END OF EDIT]

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Peter
Only basic text has been supported so far (no footers, tables, drawings, etc.).

After quick look into code I assume it shouldn't be hard to change it and add tables support. Place-holders will be easy but I want to try to get the content instead. Please be patient.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

fenix_productions wrote:....Please be patient.
No problem. Thank you.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Peter
Please check:
http://cid-e12762cbdafb3c47.office.live.com/self.aspx/TC/office2007wlx%5E_0.0.6.1.zip

This is alpha version which works for Word files only but it should show (within internal tables):
- standard cells - as plain text only,
- images - as <-IMAGE-> placeholders,
- WordArt objects - as text.

I will check if tables format is the same for other Office documents. In addition I hope for different objects types support across whole documents' content.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

Hello fenix

sorry - I see only standard text: no table-contents, no image-placeholders, no word-art-contents.

But I have only Office 2003 with 2007-compatibility pack. Does the plugin use features from Office2007?

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Peter
Could you send me few more files to look over?

I don't have much Word 2007 documents with tables inside but the test file works for me:
http://fenixproductions.pl/files/tc/o2k7_screen.png


Oh! And my plugin does not use any Office features - it just parses XML files contained within DOCX/XLSX/etc.
Last edited by fenix_productions on 2011-04-26, 17:37 UTC, edited 1 time 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
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

I will send you an example.
In the meantime I could find a small problem: Your new plugin is called office2007wlx.wlx, and therefore it did not overwrite the old one. Now I see the table, but still no word art and no IMAGE.

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Peter
Placeholders were supported within tables but now they should work in whole document:
http://cid-e12762cbdafb3c47.office.live.com/self.aspx/TC/office2007wlx%5E_0.0.6.2.zip

Please remember: works for Word files only (so far).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

fenix_productions wrote:...Placeholders were supported ....
Oner minute quicktest:
Word art is displayed as text: fine
Image is displayed as placeholder <-WORDART->: semi fine
:wink:

Regards

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Peter
Normal images are displayed as: <-IMAGE->
<-WORDART-> is shown for WordArts with texts which cannot be retrieved or for cliparts.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Michael Diegelmann
Junior Member
Junior Member
Posts: 36
Joined: 2006-02-18, 17:25 UTC
Location: Rosenheim (Germany)
Contact:

Post by *Michael Diegelmann »

I have just downloaded the office2007wlx_0.0.6.2.zip file and installed it. During a first quick test I have encountered the following two problems:

1. Every paragraph of the original docx file is displayed as a single line. Activating the 'word wrap' option in the TC lister options menu doesn't seem to have any effect.

2. Hyphenated words will not be displayed correctly. In your lister plugin the last caracter before the hyphenation position will be shown as a separate character enclosed by space characters. The word 'undertake' e.g. will be shown as 'unde r take'.

Can you think of any obvious mistake which I could have made?
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2Michael Diegelmann
You're absolutely right about both mentioned issues.

Office2007.wlx was written for quick Office files lookup, so no formatting options or word wrap were taken into consideration. Just very basic preview before launching more advanced tools.

Despite that I think I can manage to find some time to look on these soon.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Michael Diegelmann
Junior Member
Junior Member
Posts: 36
Joined: 2006-02-18, 17:25 UTC
Location: Rosenheim (Germany)
Contact:

Post by *Michael Diegelmann »

To Karol Kaminski:

Thank you for your quick response! Fixing the somewhat annoying word wrap problem shouldn't be overly difficult. Naively I would assume that all you have to do is to set the boolean WordWrap property of your RichEdit to 'true'. (This should work at least with the Borland/Embarcadero RAD tools. I'm not sure about Microsoft Visual C++ which you obviously use.)

The hyphenation bug on the other side is definitely not a top of the agenda issue. So take your time.
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

OK, I am at dead end :(
Does anyone know how to change RichEdit style (add/remove WS_HSCROLL) at runtime? All I can find are posts saying it's not possible.

I was also trying to remove current control and recreate it but lister freezes. I am thinking about not using single RE but Panel with it inside. Is it the only way?

2Michael Diegelmann
For time being you will need to set WordWrap to true before loading Office 2007 documents - it seems to work fine this way (at least for me).
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Post Reply