Difference between revisions of "Extensions repository/Creative Commons/Specification"
From Apache OpenOffice Wiki
m |
|||
Line 6: | Line 6: | ||
* connect to creativecommons.org via provided API to get information about possible licensing. | * connect to creativecommons.org via provided API to get information about possible licensing. | ||
− | * Create dialog via UNO AWT, containing different license options, using radio buttons | + | * Create a dialog via UNO AWT, containing different license options, using radio buttons. |
− | * If user chooses "Creative Commons or "Sampling", get needed details from cc.org and offer to the user | + | * If the user chooses "Creative Commons or "Sampling", get needed details from cc.org and offer to the user. |
* In the end, cc.org should give you a link to the license which is to use. | * In the end, cc.org should give you a link to the license which is to use. | ||
− | * That link, and | + | * That link, and a cc.org image, has to be embedded into the current document the following way: |
** Writer: On current cursor position, cc image as hyper link, and a normal hyper link. | ** Writer: On current cursor position, cc image as hyper link, and a normal hyper link. | ||
** Impress: Same like Writer, but on new page, appended after current one (or on current one if empty) | ** Impress: Same like Writer, but on new page, appended after current one (or on current one if empty) | ||
** Draw: To be determined, probably text object on top of page | ** Draw: To be determined, probably text object on top of page | ||
** Calc: To be determined, probably in current cell | ** Calc: To be determined, probably in current cell | ||
− | * | + | * There should also be some custom property in the document to remember the fact that a license was added. |
** If so, and if the user chooses the menu item again, a query box states that a license was already added, and asks the user if to continue. | ** If so, and if the user chooses the menu item again, a query box states that a license was already added, and asks the user if to continue. |
Revision as of 07:51, 11 June 2007
Specification Creative Commons component (first rough version)
The component will create an entry "Creative Commons" in the file menu of Writer/Calc/Impress/Draw.
When the user chooses that entry, following things will happen:
- connect to creativecommons.org via provided API to get information about possible licensing.
- Create a dialog via UNO AWT, containing different license options, using radio buttons.
- If the user chooses "Creative Commons or "Sampling", get needed details from cc.org and offer to the user.
- In the end, cc.org should give you a link to the license which is to use.
- That link, and a cc.org image, has to be embedded into the current document the following way:
- Writer: On current cursor position, cc image as hyper link, and a normal hyper link.
- Impress: Same like Writer, but on new page, appended after current one (or on current one if empty)
- Draw: To be determined, probably text object on top of page
- Calc: To be determined, probably in current cell
- There should also be some custom property in the document to remember the fact that a license was added.
- If so, and if the user chooses the menu item again, a query box states that a license was already added, and asks the user if to continue.