[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Keyword expansion with .docx files

From: Harald-René Flasch <harald-rene.flasch_at_hotmail.com>
Date: Mon, 29 Sep 2008 12:16:54 +0200

Yes, I was afraid that this would be an answer ;-) Meanwhile I'll not switch to .docx and continue with .doc files.

But I think it is technically possible to implement it.

We need a "contrib" component at the client side which expands keywords for .docx files (extract ZIP (=docx) and expand keyword in .xml).
But to ensure if this is possible we need a closer view how .docx really works.

> CC: users_at_subversion.tigris.org
> From: subversion-2008c_at_ryandesign.com
> Subject: Re: Keyword expansion with .docx files
> Date: Sun, 28 Sep 2008 20:08:44 -0500
> To: harald-rene.flasch_at_hotmail.com
>
>
> On Sep 28, 2008, at 05:30, Harald-René Flasch wrote:
>
> > I am using SVN keyword expansion for a while and it works fine.
> > Also using it for binary files like .doc files and it works really
> > great (e.g. $Id:: $)!!
> >
> > Today I tried this also for a .docx file (e.g. Vista: extension of
> > course registered in config file at C:\Users\%username%\AppData
> > \Roaming\Subversion). But the keyword expansion is ignored.
> >
> > I think the reason is that a .docx file is just a container (ZIP
> > file) containing XML files:
> > _rels
> > docprops
> > word
> > document.xml
> > ....
> > [Content_Types].xml
> >
> > etc.
> >
> > Exists there a way to support keyword expansion for .docx too?
>
> No. Unless the string "$Id:: $" appears in plaintext in the file,
> Subversion can't expand the keywords.
>

_________________________________________________________________
Hol dir 30 kostenlose Emoticons für deinen Windows Live Messenger
http://www.livemessenger-emoticons.com/funfamily/de-at/
Received on 2008-09-29 12:22:56 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.