Search found 17 matches: osel

Return to advanced search

Problem writing line in word file with "àèìòù"

Ciao

I have a problem to write this line in a word file
oSel:TypeText("àèìòù")


I suppose it is a special character

How to solve it ?

Grazie
by Romeo
Sat Mar 20, 2021 6:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem writing line in word file with "àèìòù"
Replies: 2
Views: 514

vertical line spacing in Word

... line spacing between 2 lines in a Word file Example, to write in a Word file i do: oWord := CREATEOBJECT( "Word.Application" ) ... ... oSel = oWord:Selection ... ... oSel:Font:Size:=14 oSel:Font:Bold:=.t. oSel:Font:Color:=CLR_RED oSel:Font:name:="Nome Font" oSel:TypeText("Descrizione ...
by Romeo
Wed Mar 25, 2020 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: vertical line spacing in Word
Replies: 4
Views: 585

Interlinea in Word

... una riga e un'altra in un file Word? Ad esempio, per scrivere in file Word, io uso: oWord := CREATEOBJECT( "Word.Application" ) ... ... oSel = oWord:Selection ... ... oSel:Font:Size:=14 oSel:Font:Bold:=.t. oSel:Font:Color:=CLR_RED oSel:Font:name:="Nome Font" oSel:TypeText("Descrizione ...
by Romeo
Wed Mar 25, 2020 6:53 am
 
Forum: All products support
Topic: Interlinea in Word
Replies: 2
Views: 593

Re: Retomo Problema de uso de Word

... //AQUI: si estos estan omitidos, siempre quedarán abiertos los documentos * oWord:Quit() Function G_Francisco2() Local oWord, oSel, oDoc,cOrigen,cDestino,cFile,cSave, Nom1,rut1,naci1 local oActiveDoc,aArrReplace, n cOrigen := "C:\Desa\FichasWin\Doc\Doc_Bases\" cDestino ...
by FranciscoA
Thu Oct 10, 2019 6:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Retomo Problema de uso de Word "FUNCIONANDO"
Replies: 17
Views: 2957

Re: Image in word

... this: In the word document I created the # qrcode #; I created the QRCode; QRCode ("test", cImage_QRCode) In the code I put like this: oSel: Find: Execute ("# qrcode #") oSel: InLineShapes: AddPicture (cImage_QRCode, .F., .T.) Printing is taking place at the tag location. ...
by oliveiros junior
Thu Nov 08, 2018 12:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Image in word
Replies: 9
Views: 1643

Re: TTREEVIEW como cambiar el elemento seleccionado

... que publico Antonio para el browse y anda de maravillas es asi: nOp++ (si sube) nOp-- (si baja) cMes := aMeses[nOp] oSay:SetText('MES: '+ cMes ) oSel := oTree:Scan( { | o | cMes $ o:cPrompt } ) oTree:Select( oSel ) el metodo Scan(bAction) del oTree te devuelve el objeto del branch correspondiente ...
by rterraz
Sun Aug 07, 2016 8:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TTREEVIEW como cambiar el elemento seleccionado
Replies: 6
Views: 1488

Re: Word and labels

Lucas,

lucasdebeltran wrote:oSel:InsertFile(HB_DIRBASE()+"LABEL-TEMPLATE.DOC")


oSel:InsertFile(HB_DIRBASE()+"LABELS-TEMPLATE.DOC")

:-)

EMG
by Enrico Maria Giordano
Thu Jul 11, 2013 5:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Word and labels
Replies: 13
Views: 2539

Inserire Immagine in file Word

Ciao EMG, una volta mi hai dato ottimi input per rimpiazzare variabili in foglio di Word tramite le funzioni: oSel:Range:Text = "Pluto..." oDoc:Range:insertAfter("pippo...") Non ricordo però di averti chiesto anche come fare per inserire un file immagine. Qualche ...
by Romeo
Tue Mar 29, 2011 4:22 pm
 
Forum: All products support
Topic: Inserire Immagine in file Word
Replies: 2
Views: 913

Re: Winword and OLE

You have to pass oDoc too to WORDREPLACE() function so you can use it in the expression oDoc:StoryRanges[7] that you erroneously wrote as oSel:StoryRanges[7]. Please note that oSel is not equal to oDoc.

EMG
by Enrico Maria Giordano
Tue Nov 02, 2010 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Winword and OLE
Replies: 36
Views: 6992

Re: Winword and OLE

... of the funcion looks like : FUNCTION WORDREPLACERNGALL( oDoc, cSrc, cRpl ) My start of the function looks like : FUNCTION WORDREPLACE(oSel,cSrc,cRpl,cSrt) So my "oSel" = your "oDoc". I use "oSel" since "oWord" has already been used in the ...
by driessen
Tue Nov 02, 2010 2:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Winword and OLE
Replies: 36
Views: 6992

Re: Winword and OLE

Sorry, I meant "you have erroneously replaced oDoc with oSel":

It is not:

Code: Select all  Expand view
oSel:StoryRanges[7]


It must be:

Code: Select all  Expand view
oDoc:StoryRanges[7]


EMG
by Enrico Maria Giordano
Tue Nov 02, 2010 10:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Winword and OLE
Replies: 36
Views: 6992

Re: Winword and OLE

Please review my sample: you have erroneously replaced oWord with oSel.

EMG
by Enrico Maria Giordano
Sun Oct 31, 2010 10:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Winword and OLE
Replies: 36
Views: 6992

... Enrico Maria" at the beginning of the file. How can one check to see if "<toreplace>" is in the document and only if it is, - WORDREPLACE( oSel, "<toreplace>", "Giordano Enrico Maria" ) FUNCTION WORDREPLACE( oSel, cSrc, cRpl ) LOCAL lOk oSel:Start = 0; oSel:End = -1 ...
by Enrico Maria Giordano
Thu Jul 17, 2008 8:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I require some work done - eMail Merge Feature
Replies: 32
Views: 7353

WORDREPLACE( oSel, "<toreplace>", "Giordano Enrico Maria" ) oWord:Visible = .T. RETURN NIL FUNCTION WORDREPLACE( oSel, cSrc, cRpl ) oSel:Start = 0 oSel:End = -1 oSel:Find:Execute( cSrc ) oSel:Range:Text = cRpl RETURN NIL When ...
by Ollie
Thu Jul 17, 2008 3:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I require some work done - eMail Merge Feature
Replies: 32
Views: 7353

Word, Excel e d'intorni

... 22) oTable:Cell( 1, 1 ):Range:InsertAfter( "Prova" ) oWord:ActiveDocument:Shapes:AddPicture( "mia.bmp", .F., .T., 0, 0, 50, 50 ) oSel = oWord:Selection oSel:Find:Execute( cSrc ) oSel:Range:Text = cRpl oDoc:PrintOut( .F. ) oWord:Visible = .T. oWord:WindowState = 1 ecc..,ecc.. ****************************** ...
by Romeo
Sat Mar 15, 2008 10:24 am
 
Forum: All products support
Topic: Word, Excel e d'intorni
Replies: 1
Views: 656
Next

Return to advanced search