Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11556

Re: Formatting strings for MS-Word

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Formatting strings for MS-Word
Date 2018-04-24 13:44 +0200
Message-ID <fk8jleF4o2cU1@mid.individual.net> (permalink)
References <0a78b658-58b7-49d2-9906-65fe70ab3dee@googlegroups.com>

Show all headers | View raw


Hi Jack,

this should be possible copying RTF strings. Unfortunately I don't know
how they need to be formatted to be recognized as them.

Also browsers copy formatting to che clipboard sometimes, so it should
be possible.

Wolfgang

glados.1964@gmail.com wrote:

> Hi,
> 
> One of our applicatins uses MS-Word to printout some simple data. For
> this MS-Word is opened (via OLEAutoObject{'word.application'}) and a
> template is loaded (oword:documents:add(template)). Then some strings
> are send to the Word document (oword:selection:Find:Execute). This
> works good for our needs. The resulting text is formatted (like
> bold/italic) as defined in the template.
> 
> Now our IT-departement moved this application to a VM on a server. On
> this server there is no MS-Word (or any MS-office products) allowed.
> As a (partly) solution we are now copying the strings
> programmatically to the clipboard which enables us (via remote
> desktop on a local computer) to paste it in a MS Word document again.
> Only thing that remains is that the formatting is lost.
> 
> The question is; Does anybody know if the strings can modified in
> some way to do  some simple formatting? Like bold and italic would be
> fine.
> 
> 
> TIA,
> 
> Jack



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Formatting strings for MS-Word glados.1964@gmail.com - 2018-04-23 11:58 -0700
  Re: Formatting strings for MS-Word dlzc <dlzc1@cox.net> - 2018-04-23 12:06 -0700
  Re: Formatting strings for MS-Word "Wolfgang Riedmann" <wriedmann@gmail.com> - 2018-04-24 13:44 +0200
  Re: Formatting strings for MS-Word glados.1964@gmail.com - 2018-04-25 03:57 -0700

csiph-web