Re: [libreoffice-users] Development of Extensions for LibreOffice
Hi :) It's always a good idea to post to the Users List first because if we can't answer it we can signpost to documentation and / or better lists also we do have people with unexpected skills, talents and experience on this list. Sorry to hear you didn't get a response from the devs list. If any list has not given a decent response after a day or 2 then post again, preferably as a comment into the same thread as the one you just started but as a new question might not hurt either. Apols and regards from Tom :) > > From: Stephen Morris >To: Tom Davies ; "michael.me...@suse.com" > >Cc: LibreOffice Users >Sent: Monday, 18 March 2013, 20:49 >Subject: Re: [libreoffice-users] Development of Extensions for LibreOffice > >On 03/19/2013 01:56 AM, Tom Davies wrote: >> Hi :) >> Thanks for the answer. I think the question was beyond the scope of the >> Users List and i don't know if anyone got around to pointing the person to >> the devs lists. >Hi Tom, > Michael did point me at the developers list and when I sent my last >mail through I cced the developers list, but as yet I haven't had a >response. Michael has provided me with some more info that should help >with what I am trying to do. > >regards, >Steve > >> >> >> Err, was there a slight typo in the last paragraph? Seems like grep got >> typed as grok? >> "which you can grok for user-visible strings" >> Perhaps would have been more generic as "look for"? >> >> Regards from >> Tom :) >> >> >> >> >> >>> >>> From: Michael Meeks >>> To: Stephen Morris >>> Cc: LibreOffice Users ; Kohei Yoshida >>> ; libreoff...@lists.freedesktop.org >>> Sent: Monday, 18 March 2013, 11:54 >>> Subject: Re: [libreoffice-users] Development of Extensions for LibreOffice >>> >>> Hi Stephen, >>> >>> On Mon, 2013-03-18 at 08:34 +1100, Stephen Morris wrote: I am having all sorts of problems with the source code in Eclipse. I have created a new blank C++ project in Eclipse and imported the entire sc directory into that project. Subsequently I have opened dpgroupdlg.cxx in the editor (I'm also not sure why Eclipse displays all directories duplicated) and Eclipse is displaying errors on just about every statement in that file. >>> Well - that's really Eclipse' problem :-) can you turn off it's bogus >>> error display ? I guess getting help with Eclipse would be a good thing >>> to do. Potentially you don't want to create a project - but just use it >>> to edit the specific files. >>> I think the first thing I need to do is to find all the include files and add those directories into the include file path in the project properties. One of the problems I have is that the statement "com::sun::star::sheet::DataPilotFieldGroupBy::SECONDS," is producing an error complaining that symbol SECONDS is not found. >>> This is from an UNO / generated header. It seems highly unlikely that >>> Eclipse is going to do a perfect job of building LibreOffice. As such, I >>> would use it as a syntax-colouring text editor - not in it's all-seeing >>> monster mode ;-) >>> How I configure eclipse to consider the idl file to be the same as the hpp file so that these symbols get resolved? >>> I have no idea. You need to edit the code with some sort of source code >>> editor, Elipse is one option. If it can't control it's urges to try to >>> understand the entire (apparently not built) code-base then I'd >>> recommend using something else ;-) >>> I am also having difficulty determining which dp module equates to the dialog that gets displayed for variables that are dragged to the pivot table layout areas, to specify the attributes of those variables. Is there any documentation anywhere that explains what each module within the suite actually does and how they relate to what is actually displayed by Libreoffice for each function it performs? >>> Each module ? each top-level directory has README - patches to improve >>> them appreciated. Sadly there is no further good structural >>> documentation at all. >>> >>> In general - if you want to go from the UI -> the source code, you need >>> to go via the .src files - which you can grok for user-visible strings, >>> and then look for the defined names of those in the .hrc files - which >>> are shared between resources and C++ and hence into the relevant source >>> code and down to a widget. >>> >>> Hope that helps :-) >>> >>> Michael. >>> >>> -- >>> michael.me...@suse.com <><, Pseudo Engineer, itinerant idiot >>> >>> >>> -- >>> For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org >>> Problems? >>> http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ >>> Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette >>> List archive: http://listarchives.libreoffice.org/global/
Re: [libreoffice-users] Installing multiple versions of LibreOffice
On 03/18/2013 07:27 PM, James E. Lang wrote: I am currently using LibreOffice 3.6.x on my Kubuntu 12.10 Linux system. I want to experiment with LibreOffice 4.0.x without putting my production spreadsheets in jeopardy. I have been told by a member of our local Linux Users Group that I need to do two things in order to accomplish this. 1) Install LibreOffice in a different directory. 2) Use a different user settings directory. I'm not sure what item 2) means or how to accomplish this aside from creating a separate user on the computer. He tells me that the user settings directory is usually under ~/.config where I find an empty directory named libreoffice. I would appreciate instructions that I can follow to accomplish this. You do not have to install LO 4.0.x in a different directory. This is because of the configuration folder for LO and how it is configured. This folder is located here: /home//.config/libreoffice. This folder has two subfolders: 3 and 4. The configuration files and folders for 3.6.x are all located in the "3" folder. The configuration files and folders for 4.0.x are in the "4" folder. Also, /opt/ contains the files and folders for LibreOffice. /opt/libreoffice3.6/ contains the files for 3.6 and /opt/libreoffice4.0 contains the files for LO 4.0. I write this because this is what I have in /opt/ on my hard drive. Presently, I use both of these versions without any problems. When version 3.5 was the more stable version and version 3.6.0.2 came out, you had to install 3.6.0.2 in a separate folder. Both would install the configuration files in /home/name>/.config/libreoffice/3/. They would use the same configuration files. Hopefully, this will make a little more sense. --Dan -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Attempting to Build PUNO 0.9.0 against LibreOffice 3.4.x SDK
Attempting to build PUNO 0.9.0 (PHP connector for UNO) with the LibreOffice 3.4.x SDK, over from the OpenOffice 3.2 SDK. Theoretically it supports the 3.4.x SDK. I know I have had linker drama in the past with building this... but I can't find my &@^$&*@@( notes. Drats! Anwyay, tips, hinds, suggestions... # . /usr/lib64/libreoffice/basis3.4/sdk/setsdkenv_unix.sh # make distclean # export OO_PROGRAM_OFFAPI_RDB_PATH= $OFFICE_HOME/basis3.4/program/offapi.rdb # export OO_URE_TYPES_RDB_PATH=$OO_SDK_URE_HOME/share/misc/types.rdb # phpize # ./configure --with-puno=$OO_SDK_HOME ... checking for OpenOffice.org support... yes, shared checking for OpenOffice.org URE types.rdb ... /usr/lib64/libreoffice/ure/share/misc/types.rdb checking for OpenOffice.org PROGRAM offapi.rdb ... /usr/lib64/libreoffice/basis3.4/program/offapi.rdb ... # ls -l /usr/lib64/libreoffice/basis3.4/program/offapi.rdb -rw-r--r--. 1 root root 6698496 Aug 1 2012 /usr/lib64/libreoffice/basis3.4/program/offapi.rdb # ls -l /usr/lib64/libreoffice/ure/share/misc/types.rdb -rw-r--r--. 1 root root 831488 Aug 1 2012 /usr/lib64/libreoffice/ure/share/misc/types.rdb # cd $OO_SDK_URE_HOME/lib # for i in $(ls *.so?* ); do ln -s $i `echo $i | cut -f1 -d.`.so; done # cd /tmp/PUNO # make cppumaker mkdir -p /tmp/PUNO/modules rm -f /tmp/PUNO/modules/types.rdb "/usr/lib64/libreoffice/ure/bin/regmerge" /tmp/PUNO/modules/types.rdb / "/usr/lib64/libreoffice/ure/share/misc/types.rdb" "/usr/lib64/libreoffice/basis3.4/program/offapi.rdb" mkdir -p /tmp/PUNO/.libs/puno_automatic_generated/misc rm -f /tmp/PUNO/.libs/puno_automatic_generated/misc/cpp_types_prepare_env.flag Register necessary runtime components in the types.rdb "/usr/lib64/libreoffice/ure/bin/regcomp" -register -r /tmp/PUNO/modules/types.rdb -c connector.uno.so connector.uno.so register component 'connector.uno.so' in registry '/tmp/PUNO/modules/types.rdb' failed! error (CannotRegisterImplementationException): connector.uno.so: cannot get symbol: component_writeInfo make: *** [/tmp/PUNO/.libs/puno_automatic_generated/misc/cpp_types_prepare_env.flag] Error 1 -- Adam Tauno Williams GPG D95ED383 Systems Administrator, Python Developer, LPI / NCLA -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Re: [4.0.1.2/Win/Writer] Printing labels with odd sheets?
One more question: I couldn't find how to tell LO to use a smaller font size than the default 12: http://bagofiles.free.fr/libreoffice.labels/libreoffice.labels.font.size.png There's no option in the Labels dialog, "Select All" doesn't work, and neither does selecting a column or row. Is there no way to tell LO to use a given font size when creating labels? Thank you. -- View this message in context: http://nabble.documentfoundation.org/4-0-1-2-Win-Writer-Printing-labels-with-odd-sheets-tp4044517p4044741.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Re: [4.0.1.2/Win/Writer] Printing labels with odd sheets?
I did not catch the original post, but are the labels going to be the same for each? If so there is an Synchronize labels option in the New Label setup. Then you edit the first label and press the Sync. button and they all change to the new look. If each contains different addresses or other info, that will not be an option. On 03/19/2013 09:10 AM, Gilles wrote: One more question: I couldn't find how to tell LO to use a smaller font size than the default 12: http://bagofiles.free.fr/libreoffice.labels/libreoffice.labels.font.size.png There's no option in the Labels dialog, "Select All" doesn't work, and neither does selecting a column or row. Is there no way to tell LO to use a given font size when creating labels? Thank you. -- View this message in context: http://nabble.documentfoundation.org/4-0-1-2-Win-Writer-Printing-labels-with-odd-sheets-tp4044517p4044741.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Re: [4.0.1.2/Win/Writer] Printing labels with odd sheets?
Thanks for the tip. Indeed, the Labels dialog has a "Synchronize contents" option in its Options tab, which displays a "Synchonize Labels" window after creating the sheet. Selecting the first cell, changing its font size, and hitting the button does apply the change to the rest of the labels. Thank you. -- View this message in context: http://nabble.documentfoundation.org/4-0-1-2-Win-Writer-Printing-labels-with-odd-sheets-tp4044517p4044762.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Re: [4.0.1.2/Win/Writer] Printing labels with odd sheets?
I do not use mail merge option, so having a sheet of the same labels, business cards, etc., is the only thing I do for these types of things. Yes, it would be nice to be able to do full editing on the dialog box, but I do not remember ever seeing that in any of the systems I used in the past. On 03/19/2013 10:15 AM, Gilles wrote: Thanks for the tip. Indeed, the Labels dialog has a "Synchronize contents" option in its Options tab, which displays a "Synchonize Labels" window after creating the sheet. Selecting the first cell, changing its font size, and hitting the button does apply the change to the rest of the labels. Thank you. -- View this message in context: http://nabble.documentfoundation.org/4-0-1-2-Win-Writer-Printing-labels-with-odd-sheets-tp4044517p4044762.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Re: Development of Extensions for LibreOffice
Tom, Rather a substantive response to Steve's month long effort to get an Extension or feature delveloped for calc over on the devs list. Basically telling him that he "can't get there from here" using an IDE like Eclipse-- http://nabble.documentfoundation.org/Re-libreoffice-users-Development-of-Extensions-for-LibreOffice-tp4035059.html And I'll disagree on the where to post. He is an ambitious programmer and clearly Steve's question would have played better from the start back in February on the devs list where, if worded correctly, he would have been set straight by the first answers--nobody attempts to use Eclipse for LibreOffice development because it won't work RELIABLY. The UNO core code base is just too unwieldy for an IDE to handle the full project. Stuart -- View this message in context: http://nabble.documentfoundation.org/Development-of-Extensions-for-LibreOffice-tp4034224p4044778.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Base multiple query access within a single Writer document
I recently tried to use 2 Base queries within a single Writer document. As usual when printing, it asked "Your document contains address database fields. Do you want to print a form letter?". I responded "Yes". No data showed up in the table that is usually presented at this time. I assume that because there were more than one query being accessed, it had locked up and did not allow any action to occur. I had hoped that the behavior would be to disregard trying to fill the table and allow me to continue printing. Any ideas? -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Base multiple query access within a single Writer document
More information The original test was on a 3.X version. I have tested in 4.0.1.2 and the results have changed. The table now shows up with the first query, but printing results in Writer leaving blank information in fields defined for first query and applies first query data to where second query data should be. On 3/19/2013 12:15 PM, Paul D. Mirowsky wrote: I recently tried to use 2 Base queries within a single Writer document. As usual when printing, it asked "Your document contains address database fields. Do you want to print a form letter?". I responded "Yes". No data showed up in the table that is usually presented at this time. I assume that because there were more than one query being accessed, it had locked up and did not allow any action to occur. I had hoped that the behavior would be to disregard trying to fill the table and allow me to continue printing. Any ideas? -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Notes Master not Working
After importing a ppt presentation into Impress, I modified the Notes Master layout (to give me more room for notes). However, the notes pages do not appear to have been impacted at all. They still look like they did before I modified the notes master. Is there a way to re-apply the notes master to all notes pages? -- View this message in context: http://nabble.documentfoundation.org/Notes-Master-not-Working-tp4044827.html Sent from the Users mailing list archive at Nabble.com. -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Base multiple query access within a single Writer document
I still do not know what you are talking about. So far you have mentioned of a table, and 2 queries. But what are you using these things for? Is the table really a table or is it one of the query outputs? (These are always in the form of a table.) A brief description of the Writer document's purpose might also be helpful. --Dan On 03/19/2013 12:32 PM, Paul D. Mirowsky wrote: More information The original test was on a 3.X version. I have tested in 4.0.1.2 and the results have changed. The table now shows up with the first query, but printing results in Writer leaving blank information in fields defined for first query and applies first query data to where second query data should be. On 3/19/2013 12:15 PM, Paul D. Mirowsky wrote: I recently tried to use 2 Base queries within a single Writer document. As usual when printing, it asked "Your document contains address database fields. Do you want to print a form letter?". I responded "Yes". No data showed up in the table that is usually presented at this time. I assume that because there were more than one query being accessed, it had locked up and did not allow any action to occur. I had hoped that the behavior would be to disregard trying to fill the table and allow me to continue printing. Any ideas? -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Conditional formatting and speed of calc
I have a large and complex spreadsheet: 17 sheets and 1.4Mb. Normally, it runs acceptably fast (although not at lightning speed). I added conditional formatting to about 80 cells: it then takes about a minute to respond to any input, whether in the cells with conditional formatting or not. Am I doing anything wrong? Is there a way to get conditional formatting without this speed degradation? I'm running 3.6.3.2 on Vista SP2. David Lynch -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] Where is the checksum value or gpg signature?
M... Perhaps, it is too hard to list the checksum values (for checking the integrity of files), I guess. Isn't that really hard? $ find . -type f | xargs sha512sum Just the command above helps to list all checksum values of the files in the current directory. Shall I say that this is an enhancement request for providing such values? Best regards, C. H. D. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 寄件人︰ C. H. D. 收件人︰ LibreOffice User Support Mailing List 傳送日期︰ 2013年03月19日 (週二) 10:21 AM 主題︰ [libreoffice-users] Where is the checksum value or gpg signature? Hi! I wonder if I can get the checksum value or the gpg signature for each of the file here. http://dev-builds.libreoffice.org/daily/ I know that I am a user, not really a developer. I know that I want to see if my bug is fixed. I don't know if the file I download is complete or not. Please tell me where I should consult. Thank you. Best wishes, C. H. D. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
[libreoffice-users] Hello
Using one API for Java and Writer load a template that contains a table I try to copy the table on the next page ( copy also need property ) to create a new and I think This is the code I have the table and properties Another alternative would be to copy the entire page , as it contains only the table . thanks // first query the XTextTablesSupplier interface from our document XTextTablesSupplier xTablesSupplier = ( XTextTablesSupplier ) UnoRuntime . queryInterface ( XTextTablesSupplier . class , xWriterComponent ); // get the tables collection XNameAccess xNamedTables = xTablesSupplier . getTextTables (); // now query the XIndexAccess from the tables collection XIndexAccess xIndexedTables = ( XIndexAccess ) UnoRuntime . queryInterface ( XIndexAccess . class , xNamedTables ); // we need properties xTableProps = null ; // get the tables for ( int i = 0; i < xIndexedTables . getCount (); i++) { table = xIndexedTables . getByIndex (i); // the properties , please ! xTableProps = ( XPropertySet ) UnoRuntime . queryInterface ( XPropertySet . class , table ); this . xTable = ( XTextTable ) UnoRuntime . queryInterface ( XTextTable . class , table ); } http://www.uci.cu -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted