Commit graph

306176 commits

Author SHA1 Message Date
Rafael Dominguez
c6aab78b31 Open a template when double clicking in its thumbnail.
Change-Id: I08884e5f113353261aebcd92b6ecf02146b377c1
2012-06-28 22:21:26 -04:30
Rafael Dominguez
bfb8b04829 Wrap thumbnail item name text inside its assigned area.
Change-Id: I4b3d57c7d2fa1a8cffb35345ea46390f6eff3cb1
2012-06-28 21:59:48 -04:30
Rafael Dominguez
05156817f7 Set initial folder background color outside of its class.
Change-Id: I6db8700ce9d4c155137645dc967e2124e59d7bb5
2012-06-28 20:03:02 -04:30
Rafael Dominguez
2c73b51bca Set folder overlay dimensions.
Change-Id: Ic8c1d5508e7517e059649525a508b2f6702b9bb0
2012-06-28 19:58:00 -04:30
Rafael Dominguez
75b139c669 Improve folder view initial layout.
Change-Id: I45620b8ffb700e530fcca3b2c92e033c782d1e50
2012-06-28 19:16:00 -04:30
Rafael Dominguez
3c4b2bcca3 Correct calculation of minimum windows size for ThumbnailView.
Change-Id: Ic286603c5558859f833358518d8d2828831bb0cc
2012-06-28 18:43:57 -04:30
Rafael Dominguez
0c5bc40c1a Scale image if dont fits the thumbnail preview area.
Change-Id: I8b13d9c65c1e3845ff7ef70ede3debb89e709840
2012-06-28 17:53:38 -04:30
Rafael Dominguez
5f0a0e82d9 Improve thumbnail item positioning and dimensions.
Change-Id: I9b76cabcf94e1cc740cd2d23be1236e14e5ca36f
2012-06-28 17:39:28 -04:30
Rafael Dominguez
fd174268bd Remove avmedia dependency from drawinglayer.
Change-Id: If5c6bacd77783cc58da7fc31043bb9dd5bc4403d
2012-06-28 09:47:41 -04:30
Rafael Dominguez
9295ceb1d3 Change toolbar buttons when selecting an item through checkbox.
Change-Id: I1f0828b4b93fb13e01d7609726a9a7ec34ae8aaa
2012-06-26 16:47:19 -04:30
Rafael Dominguez
af4c2d3ff2 Remove unneeded call to DrawItem.
Change-Id: Idb36498006715d945ed6b02f8935fc72a90145cd
2012-06-25 21:46:31 -04:30
Rafael Dominguez
fbd484275a Implement ThumbnailView sorting functionality.
- Add a class to sort items by their name.

Change-Id: I6f5fdc88e6d24ec826dab11e093d8cc826112cb8
2012-06-25 21:33:26 -04:30
Rafael Dominguez
50e90e208e Make sure to delete allocated attributes.
Change-Id: Ie441653c3204d70ecf0c8a5e23d78f5e547d4b71
2012-06-25 17:54:02 -04:30
Rafael Dominguez
62a5cd79db Remove unused methods.
Change-Id: I1d70a462b29bec7dcac7e4d5c2cac9f8e3af6e2f
2012-06-25 17:52:13 -04:30
Rafael Dominguez
f10e1e007a Display action popup menu.
Change-Id: I6916be0c62385bd020ce08b314ee836f3c331d14
2012-06-25 17:50:07 -04:30
Rafael Dominguez
82e89e6491 Remove unneeded entry in action toolbar src file.
Change-Id: I97ff31c527482fdb0f36bcf45b5c75802107938d
2012-06-25 17:36:48 -04:30
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