Re: Problems downloading source through Mercurial
Seth Shich <[email protected]> Mon, 10 Oct 2011 22:25:15 -0500
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
--_506c11df-ceb0-4fbf-b657-2a96f320b4f9_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was under the impression that I could use OOo's PyUno to read and manipul= ate .doc and .docx files from Python and even to interact with those files = while they are opened. Is this not correct? If it is, I would prefer to use= Python because of its natural language processing capabilities (e.g. NLTK)= . Also, if I can avoid having to spend between $600 and $1,000 to read .doc= and .docx through Microsoft Visual Studio, I would certainly prefer to do = so. > From: [email protected] > To: [email protected] > CC: [email protected] > Date: Mon, 10 Oct 2011 15:08:18 -0700 > Subject: [dev] Re: Problems downloading source through Mercurial >=20 > What I can't figure out from the use case is why isn't Seth=20 > developing a plug-in for Microsoft Word if it is about Word documents and > Microsoft Word is being used to view the document already? >=20 > So, what else is there to the use case that would make it clear why > code from OO.o is needed? >=20 >=20 > - Dennis E. Hamilton > tools for document interoperability, <http://nfoWorks.org/> > [email protected] gsm: +1-206-779-9430 @orcmid >=20 >=20 >=20 > -----Original Message----- > From: Mathias Bauer [mailto:[email protected]]=20 > Sent: Monday, October 10, 2011 14:27 > To: [email protected] > Subject: [dev] Re: Problems downloading source through Mercurial >=20 > Hi Seth, >=20 > I'm not sure what you are trying to achieve. >=20 > OOo should have PyUno and - if it is a build provided by Oracle - its > own version of Python and both should fit to each other. Admittedly I'm > not completely sure about that, if you have bad luck, even the Oracle > builds didn't contain an own Python. But if you build OOo by yourself, > you should be able to make sure that OOo's own copy of Python is used in > the build (and thus put into the installation set) and not the version > of the system. See what configure offers you with regard to Python. >=20 > Regards, > Mathias > Am 10.10.2011 05:41, schrieb Seth Shich: >=20 > > HI Mathias, > >=20 > > Thanks for the information. Perhaps, I should tell you why I want to > > build OOo, and, then, maybe you could suggest what course I should take= .=20 > >=20 > > I am trying to get PyUno working so that I can read and interface with > > .doc and .docx files (e.g. highlight certain words in documents, such as > > proper names) while they are being viewed by users in MsWord. The > > problem is that PyUno links against Python2.3 and, therefore, I cannot > > run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its > > complete form, and, at any rate, I wouldn't want to use that Python > > version because it would prevent imports of other modules requiring > > later Python versions. PyUno, then, must be made to link against either > > Python 2.6.7 or Python 2.7, the Python versions I have on my system. > > But, how to do this? > >=20 > > I read here, at > > http://www.mail-archive.com/[email protected]/msg03582.html, t= hat:=20 > >=20 > > Those who build OOo by themselves will be able to just use > > --with[out]-system-python, but only very, very few Mac users will > > build their own copy of OOo. Thus it is important to decide on the > > default, what the installsets offered from www.openoffice.org will > > include (or not include) > >=20 > > At this stage, I have downloaded the entire repository for OOo. Is there > > a way to selectively build just the PyUno Module? Also, do you have any > > suggestions as to where I can begin? I am a newbie and am becoming > > somewhat overwhelmed at what has become quite a daunting task. > >=20 > > Thanks, in advance, for any help you can provide. > >=20 > > Sincerely, > >=20 > > Seth > >=20 > >=20 > >> BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of > >> the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. > >> > >> Please see the discussion here: > >> > >> > > http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/= %[email protected]%3e > >> > >> Regards, > >> Mathias > >> -- > >> ----------------------------------------------------------------- > >> To unsubscribe send email to [email protected] > >> For additional commands send email to [email protected] > >> with Subject: help >=20 > --=20 > ----------------------------------------------------------------- > To unsubscribe send email to [email protected] > For additional commands send email to [email protected] > with Subject: help >=20 > --=20 > ----------------------------------------------------------------- > To unsubscribe send email to [email protected] > For additional commands send email to [email protected] > with Subject: help --=20 ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help --_506c11df-ceb0-4fbf-b657-2a96f320b4f9_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Tahoma } --></style> </head> <body class=3D'hmmessage'><div dir=3D'ltr'> <div><div dir=3D"ltr">I was under the impression that I could use OOo's PyU= no to read and manipulate .doc and .docx files from Python and even to inte= ract with those files while they are opened. Is this not correct? If it is,= I would prefer to use Python because of its natural language processing ca= pabilities (e.g. NLTK). Also, if I can avoid having to spend between $600 a= nd $1,000 to read .doc and .docx through Microsoft Visual Studio, I would c= ertainly prefer to do so.<div><br></div><div><br><div>> From: dennis.ham= [email protected]<br>> To: [email protected]<br>> CC: sethshich@hotmail.= com<br>> Date: Mon, 10 Oct 2011 15:08:18 -0700<br>> Subject: [dev] Re= : Problems downloading source through Mercurial<br>> <br>> What I can= 't figure out from the use case is why isn't Seth <br>> developing a plu= g-in for Microsoft Word if it is about Word documents and<br>> Microsoft= Word is being used to view the document already?<br>> <br>> So, what= else is there to the use case that would make it clear why<br>> code fr= om OO.o is needed?<br>> <br>> <br>> - Dennis E. Hamilton<br>> = tools for document interoperability, <http://nfoWorks.org/><br>&g= t; [email protected] gsm: +1-206-779-9430 @orcmid<br>> <br>&g= t; <br>> <br>> -----Original Message-----<br>> From: Mathias Bauer= [mailto:[email protected]] <br>> Sent: Monday, October 10, 2011 14:27= <br>> To: [email protected]<br>> Subject: [dev] Re: Problems downloa= ding source through Mercurial<br>> <br>> Hi Seth,<br>> <br>> I'= m not sure what you are trying to achieve.<br>> <br>> OOo should have= PyUno and - if it is a build provided by Oracle - its<br>> own version = of Python and both should fit to each other. Admittedly I'm<br>> not com= pletely sure about that, if you have bad luck, even the Oracle<br>> buil= ds didn't contain an own Python. But if you build OOo by yourself,<br>> = you should be able to make sure that OOo's own copy of Python is used in<br= >> the build (and thus put into the installation set) and not the versio= n<br>> of the system. See what configure offers you with regard to Pytho= n.<br>> <br>> Regards,<br>> Mathias<br>> Am 10.10.2011 05:41, s= chrieb Seth Shich:<br>> <br>> > HI Mathias,<br>> > <br>> = > Thanks for the information. Perhaps, I should tell you why I want to<b= r>> > build OOo, and, then, maybe you could suggest what course I sho= uld take. <br>> > <br>> > I am trying to get PyUno working so t= hat I can read and interface with<br>> > .doc and .docx files (e.g. h= ighlight certain words in documents, such as<br>> > proper names) whi= le they are being viewed by users in MsWord. The<br>> > problem is th= at PyUno links against Python2.3 and, therefore, I cannot<br>> > run = it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its<br>> > c= omplete form, and, at any rate, I wouldn't want to use that Python<br>> = > version because it would prevent imports of other modules requiring<br= >> > later Python versions. PyUno, then, must be made to link against= either<br>> > Python 2.6.7 or Python 2.7, the Python versions I have= on my system.<br>> > But, how to do this?<br>> > <br>> >= I read here, at<br>> > http://www.mail-archive.com/[email protected]= ffice.org/msg03582.html, that: <br>> > <br>> > Those who build = OOo by themselves will be able to just use<br>> > --with[out]-system-= python, but only very, very few Mac users will<br>> > build their own= copy of OOo. Thus it is important to decide on the<br>> > default, w= hat the installsets offered from www.openoffice.org will<br>> > inclu= de (or not include)<br>> > <br>> > At this stage, I have downlo= aded the entire repository for OOo. Is there<br>> > a way to selectiv= ely build just the PyUno Module? Also, do you have any<br>> > suggest= ions as to where I can begin? I am a newbie and am becoming<br>> > so= mewhat overwhelmed at what has become quite a daunting task.<br>> > <= br>> > Thanks, in advance, for any help you can provide.<br>> >= <br>> > Sincerely,<br>> > <br>> > Seth<br>> > <br>= > > <br>> >> BTW: building OOo on Mac OS X 10.7 is not easy.= It doesn't work out of<br>> >> the box. You have at least to back= to the 10.4 SDK and XCode 3.2.6.<br>> >><br>> >> Please = see the discussion here:<br>> >><br>> >><br>> > htt= p://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3cE029= [email protected]%3e<br>> >><br>= > >> Regards,<br>> >> Mathias<br>> >> --<br>>= >> -----------------------------------------------------------------= <br>> >> To unsubscribe send email to [email protected]= rg<br>> >> For additional commands send email to sympa@openoffice.= org<br>> >> with Subject: help<br>> <br>> -- <br>> ------= -----------------------------------------------------------<br>> To unsu= bscribe send email to [email protected]<br>> For additional= commands send email to [email protected]<br>> with Subject: help<br>= > <br>> -- <br>> -------------------------------------------------= ----------------<br>> To unsubscribe send email to dev-unsubscribe@openo= ffice.org<br>> For additional commands send email to [email protected]= g<br>> with Subject: help<br></div></div> </div></div> = </div></body> </html>= --_506c11df-ceb0-4fbf-b657-2a96f320b4f9_--