Commit graph

9834 commits

Author SHA1 Message Date
Rafael Dominguez
7f1674d214 Fix not displaying thumbnail text after opening a template.
Change-Id: I57ccefd5ce115d095e30afe0673aa61cb3b6d39b
2012-07-08 11:40:04 -04:30
Rafael Dominguez
27da19cdd6 Center template dialog top buttons.
Change-Id: I18c324a815df279280f3d5efc7b0d9651275bfaa
2012-07-08 10:58:31 -04:30
Rafael Dominguez
41c1ecbf0a Include thumbnailviewitem trying to fix windows tinderboxes.
Change-Id: I04cb57cc207283fca51737edafa1f530f8aee074
2012-07-08 10:14:35 -04:30
Rafael Dominguez
bdbd2c3057 Hide search view when theres no text to search for.
Change-Id: Ic178bf641d313b45a750f4b56dc3de53000abd8a
2012-07-08 08:54:28 -04:30
Rafael Dominguez
72cbe83e2f Increase action toolbar width.
Change-Id: Iec101fea2f1ed505219bd6892c733cc5bc3d1f24
2012-07-08 08:54:28 -04:30
Rafael Dominguez
d3314abcd9 Set default ThumbnailView fill color the same as the dialogs.
Change-Id: Id67d2dc5b626cd63f55088b7cb7950d86244d4b9
2012-07-08 08:54:27 -04:30
Markus Mohrhard
78ba81351e maybe this will help the windows tinderbox
Change-Id: I46a80a4e6ee9a70c725a4a16eb95fa28cca2c3ec
2012-07-08 07:13:05 +02:00
Rafael Dominguez
0b42f15979 Only store template data instead of a ThumbnailViewItem.
- Allocates less memory because we only store the important data.
- Fix a bug that makes the application crash while on debug mode
when a view gets destroyed and not all selection boxes have been released
before the window.

Change-Id: Idd5c11811278ed77268ce56350cfa75cdefaa483
2012-07-07 22:16:44 -04:30
Rafael Dominguez
0e64420138 Delete title edit box when TemplateView gets destroyed.
Change-Id: Ic261a046465be8590851de225681727b6f805596
2012-07-07 22:16:43 -04:30
Rafael Dominguez
845be17a61 Revert "Export ThumbnailViewItem symbols."
This reverts commit e2955c6976.
2012-07-07 08:25:54 -04:30
Rafael Dominguez
e2955c6976 Export ThumbnailViewItem symbols.
Change-Id: I5955740dec9a229032198c2f037e9bf3b6e7aa5d
2012-07-07 05:10:00 -04:30
Rafael Dominguez
dc8effc97b Fix Global resource identifier >= 256 warning.
Change-Id: I717aa1559c63439a90b4b7d5607a1030c3eacd36
2012-07-07 03:38:40 -04:30
Rafael Dominguez
1c6cd04a1b Export TemplateFolderView symbols.
Change-Id: Ieab7008afe116d3f427df25cfdb899f05fe43e6f
2012-07-07 03:38:38 -04:30
Rafael Dominguez
122cfd73f8 Convert all ThumbnailViewItem and subclasses to class instead of struct.
Change-Id: I280a37ada544d35e0895300027fe46dd1e286e91
2012-07-07 03:38:34 -04:30
Takeshi Abe
79d386f001 removed unnecessary forward declarations of class
except moving 'class SfxStringItem' to cui/source/inc/acccfg.hxx

Change-Id: I11d3803ebcfa02658d376bacf28b3d6030ee9d1b
2012-07-07 10:09:22 +09:00
Ariel Constenla-Haile
7ec3e51aca Check if Bitmap is empty before trying to scale it
http://svn.apache.org/viewvc?view=revision&revision=1224936
2012-07-06 20:29:14 +01:00
Michael Meeks
e2799d253b re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer:
    cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks
    http://svn.apache.org/viewvc?view=revision&revision=1172341
    cws mba34issues01: #i117718#: provide filter name in case
    storage of medium does not allow to detect one
    cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation
    http://svn.apache.org/viewvc?view=revision&revision=1172343
    http://svn.apache.org/viewvc?view=revision&revision=1172350
    cws mba34issues01: #i117708#: status indicator for inactive documents
    http://svn.apache.org/viewvc?view=revision&revision=1172358
    cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter
    http://svn.apache.org/viewvc?view=revision&revision=1172359
    cws mba34issues01: #i117024#: rework parameter conversion for load/save slots
    http://svn.apache.org/viewvc?view=revision&revision=1172360
    cws mba34issues01: #i116803#: possible crash on Linux when
    dispatch.cxx is compiled with optimization
    http://svn.apache.org/viewvc?view=revision&revision=1172367
    cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris
    http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-07-06 20:29:14 +01:00
Frank Schoenheit [fs]
11af41cf9e fs34b: re-enable checkBrokenScripts - works fine 2012-07-06 20:29:12 +01:00
Frank Schoenheit [fs]
2693adad78 fs34b: remaint of CWS debuglevels:
UNO API test for ensuring the proper order of events when closing the
doc by various means. Two of three test cases disabled currently,
due to #i117585#
Conflicts:

	sfx2/JunitTest_sfx2_complex.mk
2012-07-06 20:29:12 +01:00
Frank Schoenheit [fs]
c6b8f6444d fs34b: #i89080# always apply the 'Link'/'Preview' state from config
Conflicts:

	sfx2/source/dialog/filedlghelper.cxx
2012-07-06 20:29:11 +01:00
Frank Schoenheit [fs]
5f26c0fb0d gridfixes: don't be too generous with exceptions:
avoid where possible (by checking beforehand), and assert when caught
Conflicts:

	framework/source/fwe/classes/framelistanalyzer.cxx
	framework/source/helper/titlebarupdate.cxx
	framework/source/services/frame.cxx
	framework/source/uifactory/windowcontentfactorymanager.cxx
	sfx2/source/notify/eventsupplier.cxx
2012-07-06 20:29:11 +01:00
Michael Meeks
4ec7d79efc get visibility markup right for sfx2 not svt.
Change-Id: I52c8a26fc0ceff17cf843228ad57ca981a278cd9
2012-07-06 19:58:08 +01:00
Rafael Dominguez
0a158923ac Remove unused image resource.
Change-Id: I789006f413b750d67e80fcedec9130f33275d74f
2012-07-06 13:41:36 -04:30
Michael Meeks
94d16ebac7 revert change to missing image; please change back when it's added.
Change-Id: Icde577676e5ae55786dd2341291aad788bc40abc
2012-07-06 18:03:25 +01:00
Andras Timar
c24e9feaba change dialog caption in view mode
Change-Id: I9dac5dd42b485265110c91e3472206517d7b8e1c
2012-07-06 17:52:34 +02:00
Andras Timar
d50cbfe13f hide aDateTimeText when editing new version comment
Change-Id: I644adb0292272130587f8a19777c47bf8fd2887c
2012-07-06 17:44:57 +02:00
Andras Timar
802a671216 remove space before colon in UI text
Change-Id: I1e207cc624388130bba3b1a383377a55f04872f2
2012-07-06 17:43:24 +02:00
Michael Stahl
bf74441221 SearchUpdateHdl: -Werror=unused-parameter
Change-Id: Iac43e6456fafc924143f3fc749863a56a0e7da12
2012-07-06 12:46:49 +02:00
Michael Stahl
23d947c947 ThumbnailView::SelectItem: -Werror=unused-but-set-variable
Change-Id: I90c626dd1285f725b3008399a71c1ef56887a970
2012-07-06 12:38:36 +02:00
Michael Stahl
2cc9e1614e ThumbnailView::ImplEndTracking: -Werror=unused-parameter
Change-Id: Iae4be27a184be20db6f42194382347078d0fb6c2
2012-07-06 12:38:35 +02:00
Michael Stahl
67f63a9057 ThumbnailViewAcc::deselectAccessibleChild: -Werror=empty-body
Change-Id: Ieed8eff3e3e39821ea7efd3d3b349af9b7088112
2012-07-06 12:38:35 +02:00
Michael Stahl
15f32aac7b ThumbnailViewItem: -Werror=non-virtual-dtor
Change-Id: Id5de82fd51e92473bf602216226fd432ec48bad5
2012-07-06 12:38:35 +02:00
Rafael Dominguez
5eb74b1fca Merge branch 'feature/template-dialog'
Conflicts:
	sfx2/Library_sfx.mk
	sfx2/inc/sfx2/sfxcommands.h
	sfx2/inc/sfx2/sfxsids.hrc
	sfx2/source/appl/appserv.cxx
	svtools/Library_svt.mk

Change-Id: I4305d81cb5fd6f5192a29f85835c78f31310b0d6
2012-07-06 05:23:43 -04:30
Rafael Dominguez
fa99c1ea4f Update thumnails for all template operations.
Change-Id: I7370e2ec459f64366277217b30875172104a72f6
2012-07-05 22:39:50 -04:30
Rafael Dominguez
23c3e635a2 Update folder thumbnails after moving or copying templates.
Change-Id: I25596759c78a8898b5059db9c39b752f80075a2b
2012-07-05 21:11:25 -04:30
Rafael Dominguez
6e21f93b75 Try to copy templates if moving them fails.
Change-Id: I2e7e559ca84ad6155ac73aa324ed3c7f0eda0e4b
2012-07-05 20:47:11 -04:30
Rafael Dominguez
25e1e3cbf6 Fix WaE.
Change-Id: If7df918d272fcfede7d9b36619937b06a28d485a
2012-07-05 20:23:44 -04:30
Rafael Dominguez
551948e623 Fix moving templates between folders.
Change-Id: I1befe0add1bdff518c4553a8116d4fed235fd1b8
2012-07-05 20:14:00 -04:30
Rafael Dominguez
2691b4db82 Display all folders even if theyre empty.
Change-Id: I3b7db9adf513d0c3aa8c70c7f6edc5b690504eff
2012-07-05 19:44:40 -04:30
Rafael Dominguez
e1301a4087 Implement move templates to a new region.
Change-Id: I57597a39e3af80e6e25f46eac17e888f99b5482a
2012-07-05 19:21:22 -04:30
Noel Grandin
488ae25fc8 Convert local var from SvPtrarr to std::vector
Change-Id: If19e08f88844d0aec7ad537a8f99e52b96c1a409
2012-07-04 23:23:22 +02:00
Rafael Dominguez
2168ee0562 Create new folder after getting input text with selected templates.
Change-Id: I8eb788e9158f5016f60ae344543859ac4e403ebe
2012-07-04 12:52:28 -04:30
Rafael Dominguez
cca6762175 Connect button click handlers and end dialog with the desired result.
Change-Id: Ib87bd61c1cc7da906304c8ca43cd38d9a7bb1fcf
2012-07-04 12:35:45 -04:30
Rafael Dominguez
7887eeba65 Set correct dimensions and positions of inputbox widget.
Change-Id: I31f92f4af90865d8713f50031c08a6fd4498d885
2012-07-04 12:23:26 -04:30
Rafael Dominguez
40ec7e20e3 Remove unused method.
Change-Id: I5b084fa1aa88ef7d1e55700033b05c57a0979ea2
2012-07-04 11:11:40 -04:30
Rafael Dominguez
41e17582a9 Make title edit box 50% of the overlay width.
Change-Id: If8fb15738c0c87f67a39ae53f36e7f3839ca7dcc
2012-07-04 11:11:00 -04:30
Rafael Dominguez
d431029cfa Remove deprecated method.
Change-Id: I60bae94c3d86d48f570ae687f16400e034be872c
2012-07-04 10:53:30 -04:30
Rafael Dominguez
4f93db7859 Delete search view when dialog gets destroyed.
Change-Id: I82612d5854ef4db5b0bfe4e245e43cf14cf6fd4d
2012-07-04 10:25:41 -04:30
Rafael Dominguez
1ceca7ac90 Fetch and display templates that contains the search keyword.
Change-Id: I248bcf7fb1a0248fdbb1cd4e57c815b3d5d0b28b
2012-07-04 10:09:40 -04:30
Rafael Dominguez
822532024d Set search view size an position.
Change-Id: Ifed9e633ef73c4248fa67adc8b0e90dd2c484dbd
2012-07-04 09:46:29 -04:30