Actions:
|
2010-08-20 07:15 AEST by Arthur Barrett - Keyword expansion/substitution is currently only supported for text files, however some files which do
not support line ending translation may support keyword substitution (particularly for $Revision$).
For instance Microsoft Word files (.doc) and certainly the newer XML based Microsoft Word files (.docx)
would support this type of substitution.
Additional enhancements for 'binary files' could include:
* do not support $Log$ in binary files
* fixed length $Revision$ (padded with spaces) so that the substituted string never changes length
* alternative 'format' for binary files that do not support the dollar-keyword-dollar syntax |
|
2011-03-09 08:24 AEST by Arthur Barrett - This URL shows one way the MS get around this with Word 2007 and sharepoint:
http://geekswithblogs.net/simonh/archive/2008/12/15/moss-version-number-into-
word-2007.aspx
and
http://bryansgeekspeak.blogspot.com/2009/03/moss-2007-show-sharepoint-
version.html
I am increasing the priority of this due to increased interest from people
evaluating CVS Suite and the relavence to current product strategy.
|
|
2011-03-09 11:37 AEST by Arthur Barrett - keyword expansion in docx, pptx and xlsx files will be much harder because
they are compressed. To expand the keyword we first need to uncompress the
file.
Another alternative is to 'decode' the file on the server and 'search and
replace'. This has a bunch of issues (eg: any such library would need to
be 'compatible' with the GPL) but technically is sound since once you enable
keyword expansion CVS no longer requires the file to be the same coming back
from the server as was sent to the server.
Something like this from codeplex may do the job - but it is unclear if this
only handles DOCX (as implied by the name) or also handles DOC (Binary):
http://docx.codeplex.com/
Docx is LGPL 2.1 - so at least it's compatible (unlike most Codeplex software
which is Ms-PL. |
|
2011-03-09 11:42 AEST by Arthur Barrett - Also see (under the CDDL) this has a 'document viewer':
http://officeapps.codeplex.com/
|
|
2017-04-04 08:44 AEST by Arthur Barrett - Codeplex is shutting down, so I've checked out copies of these projects
|