[api-dev] API documentation and improving interactivity

2010-09-05 Thread Alexandro Colorado
Hi during OOoCon a conversation started about the lack of examples on the
API documentation as far as contributions goes. Basically there are several
places where to go to:
- API Documentation
- CodeSnippets
- Developer Guide
- OOo Wiki

The main issue is that users and readers have low accessibility to introduce
examples or comments on the documentation. There have been some possible
solutions discussed:
- Move the API Docs to the Wiki
- Version the API Docs depending on the OOo version
- Close codeSnippets or move it to a technology that allow users to just
paste snippets directly on the site

As always the issue becomes lack of resources, time and information. My
feeling is that if we air this topic with possible solutions would help us
find better solutions. I do have a small script that allow me to clean off
the documentation from the collabnet HTML and just isolate the HTML snippet.
My next step could be to find a converter from HTML to a wikilang that allow
us to easy publish it on the wiki and publish it on the wiki as a service
(batch upload).

Help is welcomed.

-- 
*Alexandro Colorado*
*OpenOffice.org* EspaƱol
http://es.openoffice.org


[api-dev] Inserting a chart to a calc document

2010-09-05 Thread Pivithuru Wijegunawardana
Hi,

I have been trying to insert a chart to a calc spread sheet in java
language. I followed the steps in the developer's guide wiki
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_and_Adding_a_Chart_to_a_Spreadsheet
.
But I cannot see the inserted chart in my spreadsheet document. Then I tried
connecting a controller to the created chart document, but this was
also unsuccessful.

Is there any other steps other than the ones in the wiki I should follow in
order see the created chart in the document ?



-- 
Best regards,
Pivithuru Wijegunawardana
University of Moratuwa
Sri Lanka


Re: [api-dev] Inserting a chart to a calc document

2010-09-05 Thread Niklas Nebel

Pivithuru Wijegunawardana schrieb:

I have been trying to insert a chart to a calc spread sheet in java
language. I followed the steps in the developer's guide wiki
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_and_Adding_a_Chart_to_a_Spreadsheet
.
But I cannot see the inserted chart in my spreadsheet document. Then I tried
connecting a controller to the created chart document, but this was
also unsuccessful.

Is there any other steps other than the ones in the wiki I should follow in
order see the created chart in the document ?


No, and you also shouldn't need to do anything with controllers. Make 
sure you pass a valid rectangle for the position. These are 1/100th 
millimeters, so if you pass a small size, you don't see the chart. You 
could check if the chart appears in the navigator under OLE objects.


Niklas

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org