Re: [dev] Extracting font information from word doc
Hi .., toabhishek16 wrote (17-1-2008 13:01) i am working on a application, in which i am trying to extract the font information from the word document i.e. which statement using which font or say font properties of statement. is there any OOo api available to do the above task. please guide me also how to use that. These are the places to start: http://api.openoffice.org/ http://wiki.services.openoffice.org/wiki/Category:Extensions Lots of information and examples. For specific questions, you might want to mail to [EMAIL PROTECTED] Kindest regards, Cor -- Cor Nouws Arnhem - Netherlands nl.OpenOffice.org - marketing contact - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] fixing a translation ?
Hi Caolan, please file an issue to petr_dudacek, paste the wrong and the fixed sdf line into that issue. He will fix that in the translation database which will be synced from time to time with the code line. Cheers, Ivo Caolan McNamara wrote: Just a very simple question. If there is a misspelling/mistake in a translation e.g. the same text has been used for "insert column" and "delete column" in a particular language and a replacement string has been provided. What's the way to fix it, is it simply to commit the change to the appropriate localize.sdf or does that lead to the fix getting clobbered by some other out-of-tree set of translation data ? C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] fixing a translation ?
Just a very simple question. If there is a misspelling/mistake in a translation e.g. the same text has been used for "insert column" and "delete column" in a particular language and a replacement string has been provided. What's the way to fix it, is it simply to commit the change to the appropriate localize.sdf or does that lead to the fix getting clobbered by some other out-of-tree set of translation data ? C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] AutoText via API not working
Hi, Matthias B. wrote: On Jan 16, 2008 2:53 PM, Oliver Specht <[EMAIL PROTECTED]> wrote: Hi, the group name contains a path index separated by '*'. If this is not supplied then the first AutoText path is used to create the new group file. This file is usually placed in the share layer. If your share layer is not writeable insertNewByName() will fail. Use autoTextContainer.insertNewByName("TempGroup1*1") instead. Thanks. Oliver. This works. I have 2 questions however: 1) What exactly is this "AutoText path" you're talking about. My Tools/Options/Paths/AutoText lists only my personal .openoffice.org user folder. Is the shared folder implicitly prepended to this path? it's listed in the path configuration (share/registry/org/openoffice/Office/Paths.xcu). The first path entry is marked as internal and therefor not displayed in the path options dialog. 2) I can't see this documented in the DevGuide nor in the IDL docs. Am I overlooking something or should I file issues for this omission? Please file an issue. Regards, Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] Re: AutoText via API always text only?
Matthias B. wrote: It seems that the behaviour depends on the kind of text range I pass in. If I use my TextRange directly, the created AutoText is "text-only", if I wrap it in a TextCursor first, I get the complete contents. Is this intentional? Is this documented somewhere? Matthias Hi, the implementation of SwXAutoTextGroup::insertNewByName() tries to find the implementation object of the supplied XTextRange. If it succeeds it inserts the text with formatting. Otherwise it only inserts the string provided by XTextRange::getString(). How do you create you TextRange? Regards, Oliver - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Extracting font information from word doc
hi to all, i am working on a application, in which i am trying to extract the font information from the word document i.e. which statement using which font or say font properties of statement. is there any OOo api available to do the above task. please guide me also how to use that. thx in advance. -- View this message in context: http://www.nabble.com/Extracting-font-information-from-word-doc-tp14917350p14917350.html Sent from the openoffice - dev mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] Re: AutoText via API always text only?
It seems that the behaviour depends on the kind of text range I pass in. If I use my TextRange directly, the created AutoText is "text-only", if I wrap it in a TextCursor first, I get the complete contents. Is this intentional? Is this documented somewhere? Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] AutoText via API always text only?
XAutoTextGroup.insertNewByName() does not have a switch (unlike the GUI) to define if I want to create a text-only autotext or not. And it seems that it always works text-only. Is there a way to create an AutoText entry for a text range that contains formatting and complex contents, as I can do via the GUI? (And no, using a dispatch to activate the GUI function is not an option because that requires setting the view cursor which is unreliable because (among other things) it only works if the user doesn't touch anything during the operation). Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]