|
|
Comments and Discussions
|
|
 |

|
Thanks a lot.
I was using this component for exporting to OO version 3.2 and Excel 2003
Now:
I recompiled with OO version 3.4 and I have errors exporting to v 3.2
anyway I was not able and I am not able to export to Excel 2010
Does someone have a hint?
modified 9 Oct '12 - 10:33.
|
|
|
|

|
Hi ,
I would like to know if its possible to add two different fonts with two different colours within the same cell..?
If it can be done can you please explain it.
Thanks,
Nirmal
|
|
|
|

|
Hi ,
I would like to know if its possible to set the background colour and font colour to individual cells.
Thanks in Advance..
|
|
|
|

|
Nice....
But, i have problem with source code.
I dont understand with C.
Can you help me to convert the source code to visual basic language ?
Thanks
Asep
|
|
|
|

|
Hi Aleksandr Sazonov and Everybody,
I use project TblProc for export data to file excel and OO in my company.I don't know how to save or SaveCopyAs to folder after i have been data in TableSheet,TableRange(var "page,data" in project TblProc).I want to save to file in folder after open this file beacause i use ASP.NET. You can help me this problem. Thanks so much.
|
|
|
|

|
Hi Aleksandr Sazonov,
the present I use TblProc.Dll in asp.net so that export data to Msexcle. when I run visual studio 2010 then export is successful.But i public for web to a server then not export. You can help me this problem. Thanks so much.
NH
|
|
|
|

|
Hi Aleksandr, you did a great job with this article. Do you know by chance how to paste anything from clipboard on a cell or range? I'm using an existing Calc file as a template. I tried to work like in Excel, sheet.Paste(), writing this with no success:
On OOSheet
public override void Paste(object destination, object link)
{
unoidl.com.sun.star.uno.XComponentContext localContext =
uno.util.Bootstrap.bootstrap();
XMultiComponentFactory multiComponentFactory = (XMultiComponentFactory)
localContext.getServiceManager();
XDispatchHelper dispatchHelper = (XDispatchHelper)
multiComponentFactory.createInstanceWithContext
("com.sun.star.frame.DispatchHelper", localContext);
XFrame frame = _app.GetFrame();
dispatchHelper.executeDispatch((XDispatchProvider)frame, ".uno:Paste", "", 0,
new unoidl.com.sun.star.beans.PropertyValue[0]);
}
On OOApp
public XFrame GetFrame()
{
XFrame frame = ((XModel)_Xdoc).getCurrentController().getFrame();
return frame;
}
I think I need to cast "destination" parameter to XFrame, but this
OOSheet d1 = ((OORange)destination).Page;
XFrame frame = ((XModel)d1).getCurrentController().getFrame();
generates a casting exception...
Any idea?
|
|
|
|

|
Unfortunately no ideas. As OO contains other apps, not only calc, and the apps should have similar structure, maybe OO Write forums search can help you investigate the issue?
|
|
|
|

|
I tried to search for documentation but it's really poor... the aim was to paste the image of a generated barcode. I work-arounded by generating the full barcode string and using a barcode font, but I will face again the problem when I'll need to paste an image from clipboard.
Thanks anyway (still a great job! )
|
|
|
|

|
Hi Aleksandr,
Thanks for your work and examples with OOo and C#. I would appreciate if you have any advice for the following scenario. The user opens an OOo calc spreadsheet, clicks a button that runs a macro. The macro calls an .exe (C#) that grabs data from a sql server and updates the same document that called it. My question is how would I get a reference in the C# to the already opened spreadsheet document? I need to update that spreadsheet in the background without closing, reopen it, so the user experience is just a button click that produces some visible updates.
Best regards,
Mircea
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
OpenOffice Calc and Excel
| Type | Article |
| Licence | CDDL |
| First Posted | 27 Nov 2007 |
| Views | 68,435 |
| Downloads | 2,974 |
| Bookmarked | 51 times |
|
|