Rafael Dominguez
2427f3e39c
Display create template popup menu.
...
Change-Id: Ifd1cae2e5d76f90305ceff97dee45407046251d7
2012-06-25 17:36:28 -04:30
Rafael Dominguez
4d3d46efaa
Set selection mode button tooltip.
...
Change-Id: I83471df87217f0f3102ec0696087e26f3129012a
2012-06-25 14:17:38 -04:30
Rafael Dominguez
4cc579ee79
Add missing argument to lcl_createTemplate.
...
Change-Id: Icb19405a3fa0aad63f10181185f94872662247a6
2012-06-25 14:10:04 -04:30
Rafael Dominguez
a2952b9a76
Add a function to create a new template depending on their type.
...
Change-Id: Ic4a0e74e7f87d2e7772ab5f92980c54f5d06e7f8
2012-06-25 11:51:05 -04:30
Rafael Dominguez
bdd1cfa4a5
Expand/Reduce dialog when search editbox is visible/hidden.
...
Change-Id: Ia7f4d078b80ab2ed5c2a7d7224eee9aaea2dfb16
2012-06-24 17:39:32 -04:30
Rafael Dominguez
f7ef4c3808
Display/Hide search edit box when clicking the toolbox button.
...
Change-Id: I553219699b0d132c115767d70511f11dd887bf8f
2012-06-24 12:52:42 -04:30
Rafael Dominguez
9cc086f462
Delete selected templates when clicking delete toolbar button.
...
Change-Id: I4ad2ea913ab7a8f68b6010cedc8a2a2a72eea0bd
2012-06-24 10:00:17 -04:30
Rafael Dominguez
64f9aa20e2
Set correct handler to keep track of folder item state.
...
Change-Id: I4d2d30515f22f04ce259689b3ad210c149b1191a
2012-06-24 08:34:00 -04:30
Rafael Dominguez
496c8232c4
Import multiple templates from filesystem to selected folders.
...
Change-Id: I285d2e429592bb170db6500d6751b6ef9bfad1db
2012-06-24 08:25:32 -04:30
Rafael Dominguez
199b2f8023
Keep track of selected folders in TemplateManager dialog.
...
Change-Id: I9348d73ec70dc0ab222682736640bbe0ca28bf6f
2012-06-24 08:23:15 -04:30
Rafael Dominguez
4de494c8e7
Display file picker dialog when clicking import template toolbox button.
...
Change-Id: Id4eba9076163f2d2b2916ad253236c0c377da37c
2012-06-24 02:20:13 -04:30
Rafael Dominguez
6cf42f89b1
Open template for editing when clicking on the edit toolbox button.
...
Change-Id: If965e52694a856bdd8827486682ce9531786a149
2012-06-23 23:16:06 -04:30
Rafael Dominguez
3c5b59e386
Read and set template path attribute in TemplateViewItem.
...
Change-Id: Id9cca6d8a716d7f99904db8cba21d7f4c1fe2074
2012-06-23 23:15:18 -04:30
Rafael Dominguez
9ab2176b43
Create an instance of com.sun.star.frame.Desktop service.
...
Change-Id: Iac9891502eed15ab60674f12d4efe1728937c22a
2012-06-23 22:20:11 -04:30
Rafael Dominguez
fed3b69020
Keep track of selected templates and update toolbar as needed.
...
Change-Id: Id595985e49694acc0e132af3d11b2bb843924fb2
2012-06-22 05:45:33 -04:30
Rafael Dominguez
9fbe211689
Trap folder and template state changes in manager dialog.
...
Change-Id: I1e0cb27f31023a7037c20d07bfe830ee1b107d45
2012-06-21 23:21:23 -04:30
Rafael Dominguez
d9bb62afa6
Add callback handler for templates state change in a folderview.
...
Change-Id: I9cf82a466fbbce52f177bbe729317433ea6663b0
2012-06-21 23:17:32 -04:30
Rafael Dominguez
b1089e3ac5
Track templateview items that change their state in folderview.
...
Change-Id: Ic9209afe698ff68f97b8d5918bd4d429659553c2
2012-06-21 23:06:18 -04:30
Rafael Dominguez
ec3d505493
Add a handler for item states changes to ThumbnailView.
...
Change-Id: If5f060f59dfdcce6641ed7cfc3cb8200a4475490
2012-06-21 22:53:14 -04:30
Rafael Dominguez
0346baf8bc
Create toolbar click handlers and handlers for every action.
...
Change-Id: I718d77479ed9222ec82914e26fe96bedff892e9c
2012-06-21 22:40:53 -04:30
Rafael Dominguez
c9a32361d4
Set folder view position below toolbars with a padding between them.
...
Change-Id: I8e305e3c1c45a538745a286781e9e1efaa091fe3
2012-06-21 18:39:05 -04:30
Rafael Dominguez
44c2e84892
Add toolbox to template manager dialog.
...
Change-Id: I693e55e903b3e9c4121d65b477d19fbb48fd837e
2012-06-21 18:20:58 -04:30
Rafael Dominguez
7e5d09a26f
Apply overlay filter to folder view when closing overlay.
...
Change-Id: If1e8a9791e34d7217fc26791cd19373b84182292
2012-06-21 16:39:16 -04:30
Rafael Dominguez
6e8eca4bf6
Match item by position correctly by inspecting items assigned draw area.
...
Change-Id: I6ec9544f4924059267458ca2e3536b13dac698d5
2012-06-21 16:27:03 -04:30
Rafael Dominguez
9112d20ae3
Create filter to template folders.
...
- Update their thumbnails depending on the filter.
- Dont display folder if theres no template of that type available.
Change-Id: Ifba889ea3fdbb132d93fead304e2a13007a40371
2012-06-21 15:19:08 -04:30
Rafael Dominguez
f83e9cf9c7
Apply current folder filter to overlay when you open it.
...
Change-Id: I72e91d05360f283277dd7e48eec1296516affcb4
2012-06-21 14:15:48 -04:30
Rafael Dominguez
d4dd76938c
Add a filter option to display all items.
...
Change-Id: I32284a50ba5566ef02f2b78c6fcb7bea41bac0d5
2012-06-21 14:08:58 -04:30
Rafael Dominguez
cfec7637cb
Filter items in template folder view by a selected application.
...
Change-Id: If6e1f8c6d3973ca5b07a3b3027b43261eff30dcc
2012-06-21 14:05:59 -04:30
Rafael Dominguez
1dd694616d
Implement,connect missing button handlers and filter results by app.
...
Change-Id: Ie79ae3ae10c080e8947dd549723c8ad859f0ce39
2012-06-21 14:05:24 -04:30
Rafael Dominguez
c8e143206c
Dont expose ViewFilter_Application class.
...
Change-Id: I27f1df59f5e70657306bc74d498fa98342c96490
2012-06-21 11:23:57 -04:30
Rafael Dominguez
0805a180b9
Separate application filter enum from ViewFilter_Application class.
...
Change-Id: I3619f6355e9ca6aabc7ebde546ab92196ef57a4e
2012-06-21 11:21:58 -04:30
Rafael Dominguez
982635df51
Fix selection mode for folder view when overlay is open.
...
Change-Id: Ia594cc15c5abc4d30272a77f8a10b2cd1fe35137
2012-06-21 10:20:10 -04:30
Rafael Dominguez
7d7dc568ff
Add ViewFilter_Application logic
...
- Filter TemplateViewItems by their associated file type.
Change-Id: Ie9aea8c1fc4a62dae5004c2598761e8d890c40e5
2012-06-21 10:11:16 -04:30
Rafael Dominguez
75646ece89
Load template info into TemplateFolderViewItem.
...
- Dont load items when displaying the overlay just fetch
them from the folder item.
Change-Id: I7d7b37e0b62c09a46f94d9d10ffeccba9909773c
2012-06-21 10:07:42 -04:30
Rafael Dominguez
ba88e36f52
Allow to insert several items at once in TemplateView.
...
Change-Id: I369e6dc348bae9a2212bfaf112570b175ed9c6a7
2012-06-21 09:27:21 -04:30
Rafael Dominguez
8299e8e84f
Only paint visible items.
...
Change-Id: Ia17b13822b987c05752e3df5d7cbfed033b12616
2012-06-20 23:30:48 -04:30
Rafael Dominguez
5f766d9007
Calculate item position correctly based on the item count.
...
Change-Id: I422ab5605802218a2c31737c975d56f61a5aa180
2012-06-20 23:27:50 -04:30
Rafael Dominguez
330e8c3fbd
Create class to store templates data for display in TemplateView.
...
Change-Id: I4b3478e97528020a2ffdff4f6c49e627b9af54cd
2012-06-20 22:22:28 -04:30
Rafael Dominguez
472b4b8d38
Create a filter class to display items by generated app.
...
Change-Id: Ia412fe70746674672bc2f1c8cb3e2cedd947e645
2012-06-19 18:06:34 -04:30
Rafael Dominguez
f822c18c54
Subclass ThumbnailViewItem for TemplateFolderView specific.
...
- Let ThumbnailViewItem a basic structure for displaying a thumbnail,
name and a selection box.
Change-Id: I00fffcb0c1cb17017cfe7adfde152e640ee01c82
2012-06-19 16:04:54 -04:30
Rafael Dominguez
9b8a9a7d11
Dont display item controls or execute any action while they are hidden.
...
Change-Id: If43c7b3615f8f2deb8851c50b0514da2ee77044a
2012-06-19 14:46:01 -04:30
Rafael Dominguez
d640ca4c94
Implement filtering thumbnail items by a user defined function.
...
- Created a default filter function to display all the items in the
thumbnail.
Change-Id: I5bd901d6c9a896a149241f7ad13207e774ba3e2f
2012-06-19 14:41:38 -04:30
Rafael Dominguez
590f39c610
Remove unused functions and attributes in ThumbnailView.
...
Change-Id: I2013303c8d7d569672d24fcd4702085af7bef438
2012-06-19 13:07:49 -04:30
Rafael Dominguez
a3097516c9
Use SfxDocumentTemplates directly instead of SfxOrganizeMgr.
...
- Make sure we delete first the folder overlay and then the
SfxDocumentTemplates variable.
Change-Id: I6c0edd320d8b83b1a1489eb7ff886b03e055212b
2012-06-19 12:47:04 -04:30
Rafael Dominguez
5d89e41a75
Close the folder overlay when clicking the close icon.
...
Change-Id: I7ac53d7e9455a3d03008534f18ee7866777ecab7
2012-06-19 12:30:47 -04:30
Rafael Dominguez
c6aa6cf65b
Remove unused function Rect2Polygon.
...
Change-Id: Icb2fbf593006ba765a57c3cad145531c95f9e4ef
2012-06-19 12:16:08 -04:30
Rafael Dominguez
7048a2547b
Draw thumbnail item background as a rectangle with rounded corners.
...
Change-Id: Ieab135c6357820afe863a28e70dc72fa2dad6327
2012-06-19 12:14:33 -04:30
Rafael Dominguez
bb2d381661
Paint thumbnail view area with fill color.
...
Change-Id: I1a910b52e6b187a61dd171d33d74203947ddaa0c
2012-06-19 12:11:43 -04:30
Rafael Dominguez
20374eac8a
Load and draw close image for folder overlay.
...
Change-Id: I5d603187f09a727616133c3c626507d080e889f6
2012-06-19 11:46:46 -04:30
Rafael Dominguez
d0854f9641
Draw region name when displaying a folder overlay.
...
Change-Id: Id24c0ad799ba8af397e78830c636e4d647c14e7f
2012-06-19 09:59:29 -04:30