See <post#=441,718>post 441,718</post#> for info on how to modify the identity of the reviewer using RTF.
HTH,
Type: Posts; User: Andrew77; Keyword(s):
See <post#=441,718>post 441,718</post#> for info on how to modify the identity of the reviewer using RTF.
HTH,
Rather than just remove the buttons that apply directy formatting, I "re-educate" the buttons to apply styles instead. For example, when an author presses "I" (or Ctrl-I), one of several character...
Thanks, Jefferson!
As someone who has implemented this in code, I'll say it ain't easy, but it can be done. If you're looking at making a ton of xrefs, it can be worth it. I for one hate that infernal, tiny cross...
It's not really a reference, but there's plenty of stuff on working around problems in Word Hacks. I'm obviously partial <img src=/S/grin.gif border=0 alt=grin width=15 height=15>, but I honestly...
Hi Barb,
Thanks for posting the sample, it really helped me understand the files you're working with. Not XSLT, but certainly influenced by it!
I've attached a zip file containing two...
Hi Barb,
The "Word .xml" documents you're looking at are xslt stylesheets. (or at least also have elements named "for-each" with attributes named "select" which have values that are xpath...
If you just want to do things like list all the xpaths matched by for-each elements in an xslt stylesheet, I'd recommend xmlstarlet, a free command-line utility for processing/querying xml documents,...
Hmm. As best I can tell, you're viewing an XSLT stylesheet from within Word, which is why the value of the "select" attribute in the "for-each" element is an xpath expression. I had thought perhaps...
Ah, thank you very much for the screenshots, that helped quite a bit.
I'm a bit unclear about your request. Please elaborate on what you mean by "mapping xpath". I'm also quite confused by, "In Word, the XPath can be viewed in the attributes of the XML tags".
Are...
Hi Rich,
As usual, Hans is spot on with his solution. I also thought I'd post the following utility function, which collapses both end of the current selection, de-selecting both leading and...
See <post#=441718>post 441718</post#> .
HTH!
Hi Dale,
Word's wildcards are more powerful than most people realize, but they're still rather limited. That kind of match is a bit more than it can handle on its own. The best you could probably...
If you search the VBA help for "InsertCrossReference", the first result gives you your answer.
<pre>sel.InsertCrossReference _
referencetype:=wdRefTypeHeading, _
...
Hi Diana,
Native OpenOffice format is the ".sxw" format (short for Star Office Writer). See the attached screenshot.
I don't have a copy of Word 97 handy, but here's the wildcard (make sure "use wildcards" is checked) pattern for what you want:
<pre><X[!b]@X>
</pre>
"<X" is "match X at the beginning of a...
See <post#=458,340>post 458,340</post#> for one method to detect formatting that is inconsistent with the Style.
Hi Lou,
I've got FrameMaker 5.5.6 on my machine, and it's got filters going back to Word DOS 3.0. If you'd like, you can send me the document privately and I can send you back a file after...
A slightly simpler way is to use the VBA Environ function:
<pre>MsgBox Environ("USERNAME")
</pre>
Not the speediest, but it works:
<pre>Sub FindTablesAndFiguresNotInFields()
Dim doc As Document
Dim para As Paragraph
Dim wrd As Range
Set doc = ActiveDocument
For Each para In doc.Paragraphs...
Word 2003 (pro) does support validation based on an arbitrary schema (W3C XML Schema), but not based on a DTD. You'd need to convert your DTD into a schema (check out...
It is possible to change the reviewer associated with a particular set of changes (or an individual change if you're really adventurous) with a fairly simple RTF hack. See <post#=441718>post...
Snag-It http://www.techsmith.com/default.asp is cheap ($30-40 depending where you buy it) and is worth every penny, and is one option.
If you're really reluctant to spend money, then I'd suggest...
Hi Novice,
Unfortunately, I don't currently have access to a machine with Word 2000 on it. If I can find one, I'll poke around a bit, but I don't remember much in the way of Diagram-related...