What is the maximum selection a macro can hold in Writer. i wonder if the
limit is according to writer, the python macro or the temporary memory.
Right now even a 64k seems to go beyond the limit.
def trigger( self, args ):
# get the actual context
deskDict = self.getDesktopDict(self.ctx)
viewCursor=deskDict['viewcursor']
# Go to start of document without select
viewCursor.gotoStart(False)
#go to endo of document selecting range from start
viewCursor.gotoEnd(True)
#Translate Selection
ap=self.smgr.createInstanceWithContext("es.ua.apertium.transel",
self.ctx)
ap.trigger("execute");
--
Alexandro Colorado
CoLeader of OpenOffice.org ES
http://es.openoffice.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]