OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Macro for Unicode Conversion, english to macedonian cyrillic

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
goko
General User
General User


Joined: 24 Jun 2004
Posts: 8
Location: Austin, Texas

PostPosted: Thu Jun 24, 2004 10:03 am    Post subject: Macro for Unicode Conversion, english to macedonian cyrillic Reply with quote

Hi,

I made a simple macro in MS Word for conversion of text document, previously written with EN code support, and the macro works well on the selected portion of a document.
Because in the new version of OO Basic there is no selection object anymore I'd like to
know if there is a simple way like in vba language.
I just select a piece of text with the mouse or the whole text with ctrl-a and then
use something like this:

...
tekst = Selection.Text
For k = 1 To length
' character by character converting ...
char = Mid(tekst, k, 1)
enkod = AscW(char)
If enkod > 63 And enkod < 127 Then
' unimk is a unicode code for the actual letter in macedonian coding
Mid(tekst, k, 1) = ChrW(unimk(enkod - 63))
End If
Next k
' Now replace the original selection with the new national support
Selection.Text = tekst


Any help for doing this in OO Basic ?

Georgi Wink
_________________
Georgi Kozinakov
Back to top
View user's profile Send private message
zakovski
Guest





PostPosted: Mon Jul 19, 2004 12:00 am    Post subject: help w/ mk to en macro Reply with quote

Zdravo, Georgi.
Barajki pomos za macro za converzija na tekst napisan so EN tastatura vo tekst vo MK tastatura, naletav na tvojov topic. Me interesira dali e mozno da se donie toa macro, bidejci sum pocetnik vo sevo ova?
zakovski@its-sk.com.mk
Back to top
esperantisto
Super User
Super User


Joined: 26 Dec 2003
Posts: 779
Location: Belarus

PostPosted: Mon Jul 19, 2004 4:28 am    Post subject: Reply with quote

Ima makro dla perekodiranja dla russkogo jazika - http://docs.openoffice.ru/~doc/ooextras/ooextras.rus.zip, mozxe, bude prigodno dla vas (treba bude da izmen'a nesxto).
Back to top
View user's profile Send private message
goko
General User
General User


Joined: 24 Jun 2004
Posts: 8
Location: Austin, Texas

PostPosted: Wed Aug 18, 2004 4:28 am    Post subject: conversion Reply with quote

Zdravo Zakovski,

Go vidov tvojot post na OO forum-ot i dobro e
sto ima kakov takov interes i od Makedonija.
Se nadevam deka ke se zaclenis na forumot
naskoro.

Okolu konverzijata:

Jas vo megjuvreme go izrabotiv makroto pod OO i zasega dobro
funkcionira. Steta sto nemav pomos porano. Inaku OO basic
konverzijata e napravena po naracka za mojata firma, bidejki
prejdovme celosno vo OO namesto MS Office. Prethodno ista
procedura napraviv za MS Word, no samo delumno ja primeniv
vo OO basic, bidejki toj mnogu e izmenet od porano.

Pozdrav,
Gjoko
Wink
_________________
Georgi Kozinakov
Back to top
View user's profile Send private message
goko
General User
General User


Joined: 24 Jun 2004
Posts: 8
Location: Austin, Texas

PostPosted: Wed Aug 18, 2004 4:33 am    Post subject: download ... Reply with quote

Thanks/Spasibo Esperantisto for the link,
but I have problems downloading it - slow and interrupting ...
_________________
Georgi Kozinakov
Back to top
View user's profile Send private message
MarkoSan
General User
General User


Joined: 31 Oct 2006
Posts: 6

PostPosted: Mon Dec 21, 2009 2:35 am    Post subject: Reply with quote

Поздрав свима!

Има ли ко можда конвертер за за нестандардне фонтове у Македонском Језику? Требао бих комплет функциалност на варианту ЛС Конвертмак (http://www.loginsys.com.mk/DesktopDefault.aspx?tabindex=0&tabid=251&productID=222&categoryID=59)?

Поздрав,
Марко
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group