Re: [GSOC] Template UI Dialog

2012-05-09 Thread Cedric Bosdonnat
Hi Rafael,

On Mon, 2012-05-07 at 16:50 -0430, Rafael Dominguez wrote:
 I talked with the design guys this saturday, and we should have a
 almost final design ready this weekend to work on. It will be with the
 most important and basic stuff needed to get work going.

Great! Any link to the work you did this Saturday? I couldn't find much
changes on the wiki Whiteboard.

 About the classes and stuff, yes ill be having classes and exams
 during the gsoc but only half day, so ill be working noon/night my
 time on the gsoc stuff. 

Ok, I'll try to shift my working time a bit (at least a few days a
week), to work during your afternoon.

 I checked the CMIS code, but ill need some pointers on how to use
 that, im guessing i need to use that through uno stuff right?? 

There are two ways to use it ATM:
  * Directly link the libcmis library in your module and use it directly
(see example of use in cmis-client.cxx [0]
  * Opening a special URL with the LibreOffice UCB. See some sample URLs
in the units tests [1]. The LibreOffice fpicker can also help you to
understand how these are normally handled [2]

 This week, im gonna try doing basic stuff with the GUI to get more
 familiar with it and know exactly what i need todo when implementing
 the full dialog and already got libreoffice compiled without issues on
 latest master. 

I see that you already have a git access: this is good. You can start by
creating a feature branch for your work and start your tests in it.
After that, I thing the best is to start creating a new dialog from
scratch and link it to a menu entry. Once that is set, you'll be able to
concentrate on the dialog itself.

[0] 
http://sourceforge.net/p/libcmis/code/ci/a53e29686b8d44ea67ad2b994b8f6b09cda32d23/tree/src/cmis-client.cxx
[1] 
http://opengrok.libreoffice.org/xref/core/tools/qa/cppunit/test_urlobj.cxx#246
[2] 
http://opengrok.libreoffice.org/xref/core/fpicker/source/office/iodlg.cxx#OpenURL_Impl

--
Cedric Bosdonnat

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [GSOC] Template UI Dialog

2012-05-07 Thread Rafael Dominguez
On Thu, May 3, 2012 at 3:31 AM, Cedric Bosdonnat cbosdon...@suse.comwrote:

 Hello Rafael,

 Great to see that you are still around :) Do you have exams or classes
 that could conflict with GSoC? It would be great for you to join the
 des...@global.libreoffice.org mailing list: the guys there are eager to
 work with you on this project.

 IMHO, we should split the project into pieces to be able to process step
 by step:
  1/ create a dialog browsing local templates.
  2/ integrate the CMIS connection into the dialog
  3/ enhance CMIS support in the template repository if needed.
  4/ enhance the dialog with some more useful infos like rating, tags...

 You can contact me on IRC pretty easily during the european office
 hours, but I don't know at what time of the day you'll be working. We
 need to sync on the time to meet on IRC (due to the big TZ difference).

 Do you have an idea where to start in the code already?



I talked with the design guys this saturday, and we should have a almost
final design ready this weekend to work on. It will be with the most
important and basic stuff needed to get work going.

About the classes and stuff, yes ill be having classes and exams during the
gsoc but only half day, so ill be working noon/night my time on the gsoc
stuff.

I checked the CMIS code, but ill need some pointers on how to use that, im
guessing i need to use that through uno stuff right??

This week, im gonna try doing basic stuff with the GUI to get more familiar
with it and know exactly what i need todo when implementing the full dialog
and already got libreoffice compiled without issues on latest master.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [GSOC] Template UI Dialog

2012-05-03 Thread Cedric Bosdonnat
Hello Rafael,

Great to see that you are still around :) Do you have exams or classes
that could conflict with GSoC? It would be great for you to join the
des...@global.libreoffice.org mailing list: the guys there are eager to
work with you on this project.

IMHO, we should split the project into pieces to be able to process step
by step:
  1/ create a dialog browsing local templates.
  2/ integrate the CMIS connection into the dialog
  3/ enhance CMIS support in the template repository if needed.
  4/ enhance the dialog with some more useful infos like rating, tags...

You can contact me on IRC pretty easily during the european office
hours, but I don't know at what time of the day you'll be working. We
need to sync on the time to meet on IRC (due to the big TZ difference).

Do you have an idea where to start in the code already?

--
Cedric

On Wed, 2012-05-02 at 21:02 -0430, Rafael Dominguez wrote:
 Hello, im Rafael Dominguez, im from venezuela, first i would like to
 thank all the gsoc mentors for selecting me!!! Im really looking
 foward to work on the selected project. 
 
 
 
 My proposal is refactor and design a new dialog to manage libreoffice
 templates (New templates picking UI). This templates could be fetched
 from local repositories or remote ones using the CMIS protocol.
 
 
 In a general sense, the schedule will be something like this:
 
 
 1. - Evaluate the current design proposal in
 https://wiki.documentfoundation.org/Design/Templates_and_documents_rework, 
 discuss missing ideas or known issues with UX team and finish working on the 
 spec draft. 
 
 - Specially these types of questions 
 
   * Can we retrieve ratings??
   * Is it possible to import styles/color schemes or
 something similar?
 
 2. - Draft required elements needed in the template dialog and
 repository, like information to be stored on the repos, how to access,
 information required to store locally (where and how).
 
   *  A good idea would just be to save the template locally
 and only keep like a sort of link to the user folders created
 by the user to save space and memory.
   *  In the preview option we could save an example picture of
 how the template looks like since that will always keep
 constant.
   * What type of metadata we gonna use?
 
 3. - Study how current template system works and which functionality
 could be reused or not.
 
 
 4. - Implement template dialog with the final spec and use cases.
 
 5. - Implement repository management functionality.
 
   * Add, remove, change, list, set active repositories.
 
 6. - Integrate libreoffice template webpage with template manager
 thought CMIS.
 
   * Setup infrastucture locally to work and test and then
 go remote for final testings.
 
 7. - Optional (enable template libreoffice page to work with CMIS)
 
 8. - Optimize if needed.
 
 9. - Document.
 
 
 ___
 LibreOffice mailing list
 LibreOffice@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/libreoffice


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[GSOC] Template UI Dialog

2012-05-02 Thread Rafael Dominguez
Hello, im Rafael Dominguez, im from venezuela, first i would like to thank
all the gsoc mentors for selecting me!!! Im really looking foward to work
on the selected project.

My proposal is refactor and design a new dialog to manage libreoffice
templates (New templates picking UI). This templates could be fetched from
local repositories or remote ones using the CMIS protocol.


In a general sense, the schedule will be something like this:


1. - Evaluate the current design proposal in
https://wiki.documentfoundation.org/Design/Templates_and_documents_rework,
discuss missing ideas or known issues with UX team and finish working on
the spec draft.

- Specially these types of questions


   - Can we retrieve ratings??


   - Is it possible to import styles/color schemes or something similar?

 2. - Draft required elements needed in the template dialog and repository,
like information to be stored on the repos, how to access, information
required to store locally (where and how).

   -  A good idea would just be to save the template locally and only
   keep like a sort of link to the user folders created by the user to save
   space and memory.


   -  In the preview option we could save an example picture of how the
   template looks like since that will always keep constant.


   - What type of metadata we gonna use?

3. - Study how current template system works and which functionality could
be reused or not.

4. - Implement template dialog with the final spec and use cases.

5. - Implement repository management functionality.


   - Add, remove, change, list, set active repositories.

 6. - Integrate libreoffice template webpage with template manager thought
CMIS.


   - Setup infrastucture locally to work and test and then go remote for
   final testings.

 7. - Optional (enable template libreoffice page to work with CMIS)

8. - Optimize if needed.

9. - Document.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice