ms word - Can't save .doc as .xml -
What I want to achieve, is to compel MS Word to distribute specific stars in order to force. .xml to doc or .rtf file For example, something like from now on:
something: *** TABLE_NAME.COLUMN_NAME ***
or
Some: AAATABLE_NAME.COLUMN_NAMEBBB
Or something similar to me:
& lt; W: p wsp: rsidR = "00537583" wsp: rsidRDefault = "00AF6BDF" wsp: rsidP = "00537583" & gt; & Lt; W: ppr & gt; & Lt; W: psttyle w: val = "default" /> & Lt; W: jc w: val = "both" /> & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; / W: ppr & gt; & Lt; W: r & gt; & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; W: t & gt; Some: AAA & lt; / W: t & gt; & Lt; / W: r> & Lt; W: r wsp: rsidr = "00537583" & gt; & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; W:. T & gt; TABLE_NAME & lt; / W: t & gt; & Lt; / W: r> & Lt; W: r wsp: rsidR = "00537583" wsp: rsidRPr = "00537583" & gt; & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; W: t & gt; Column & lt; / W: t & gt; & Lt; / W: r> & Lt; W: r wsp: rsidr = "00537583" & gt; & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; W: t & gt; BBB & lt; / W: t & gt; & Lt; / W: r> & Lt; / W: p & gt;
And the one I want to get is the example:
& lt; W: p wsp: rsidR = "00537583" wsp: rsidRDefault = "00AF6BDF" wsp: rsidp = "00537583"> & Lt; W: ppr & gt; & Lt; W: psttyle w: val = "default" /> & Lt; W: jc w: val = "both" /> & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; / W: ppr & gt; & Lt; W: r & gt; & Lt; W: RPR & gt; & Lt; W: sz w: val = "23" /> & Lt; W: sz-cs w: val = "23" /> & Lt; / W: RPR & gt; & Lt; W: t & gt; Some: AAATABLE_NAME.COLUMN_NAMEBBB & lt; / W: t & gt; & Lt; / W: r> & Lt; / W: p & gt;
I am grateful for any thoughts that will help bypassing it.
There is an option in Word that secures RSID entries with a document. Only one hidden application option is accessible through this Word object model.
To prevent this, those IDs can be generated, e.g. Open the Macro Editor (Alt + F11) and execute the following code in the instant window:
Application.Options.StoreRSIDOnSave = False
all without the same RSID Text formatting will be included in the same run (I think this is what you want).
RSID is used by the word; They do not keep the necessary information necessary to keep the document layout safe, so saving is optional (unless you need to be able to merge documents).
Comments
Post a Comment