summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2012-12-04added Change picture menu item to graphic shape popupRadek Doulik
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
2012-12-04fdo#40339: line style toolbar dropdown list not updatedIvan Timofeev
... because XLineDashItem::GetName returns the so-called "api name" (from RID_SVXSTR_DASH_DEF_START..RID_SVXSTR_DASH_DEF_END range), while the listbox is filled with corresponding translated names. Change-Id: I9edeeee6f6219f2b31fb02c24c70f3fef4f0efcb
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-03API CHANGE: roll back the XStyle changes to add a new Hidden property on StyleCédric Bosdonnat
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
2012-12-03fdo#56980 drop cached shape engine on invalidationDavid Tardon
Change-Id: I9591375e1f7d1b6f69ca9a39add52a94ac852c7f
2012-11-30API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()Cédric Bosdonnat
Change-Id: I44770c05d51104b45d94145db8263187205daa84
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30fdo#46808, use service constructor for i18n::CollatorNoel Grandin
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-29Remove unused method & remove header include by using forward declaration.Kohei Yoshida
Also, SvViewDataEntry has lost one friend. Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29Get it to build.Kohei Yoshida
Change-Id: Ie239d3d0f8f4ec81a4c5dbed3a1a132117875c7c
2012-11-29Pass pointer to view data entry to Paint() instead of its raw flag value.Kohei Yoshida
We need to hide these flags away. Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens
The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29Change default shape colorAlexander Wilms
Change-Id: I922fe667d6bf892916681988cd8599c7db9dc106
2012-11-28Fix various build breaks.Kohei Yoshida
Change-Id: Ie33a4a02f9820e0d52ca3f17c6b410ebe1e6e8f0
2012-11-28Sync draw object to calc grid for better alignment when zoomingNoel Power
There can be some serious rounding errors involved when calculating where to draw the grid lines for the various row heights in a document. This can be especially true for a document that has many different row heights. This results in draw objects appearing to move relative to the grid line at different zoom levels. This patch attempts to fix this problem adjusting the position of the shapes as they are drawn to ensure their position relative to grid appears to be stable. We do this by translating the position of the shape to the corrosponding position of it's cell anchor. Of course not all shapes are cell anchored and in this case we position the shape relative a temporary synthesized cell anchor. The patch essentially does the following a) calculates the offset to be applied for each shape at the current zoom level to ensure that the shape will be drawn relative to the correct cell grid see drwlayer.cxx, drawview.cxx & gridwin3.cxx, svdobj.[ch]xx b) apply the offset in the drawing layer for each of the different drawing primitives see svx/source/sdr/contact/* c) making sure the position and size of the newly created shape ( at any zoom level ) are still as expected when zoom level is changed. see. sc/source/ui/drawfunc/fuco*.cxx & d) making sure that overlays and handles are displayed at the correct position see svx/source/svdraw/* it could also be that a full blown transform might be needed to additionally scale the object ( to ensure that the edges of the object stay stable relative to ajacent grid lines ) If necessary we could do that in a later step. Change-Id: I02232f8ba192d58dbf96b80adf66c281cd0f65e8
2012-11-28fdo#46808, use service constructor for sdbc::ConnectionPoolNoel Grandin
Change-Id: Id12226af5e537b1eeacbb062ad937a3551e245c0
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-27remove legacy String svl's Put*Entry family of function and convert usersNorbert Thiebaud
Change-Id: Iebf4017ce4c2c48389716eac1bbf7f386ac7a296
2012-11-27String => OUString in svl numfmuno + clean-up legacy of GetPreviewStringNorbert Thiebaud
Change-Id: I20f080b76b864208f0706bef9e87cb299f3845aa
2012-11-27Remve obsolete DBG_CTOR/DTOR stuff againStephan Bergmann
...which 0a063f3a36eaf7b90ab6a5cd5b2ad6a63ce9742c re-introduced in error? Change-Id: I2866165bddc74361dcb72e37cf98fb801f629e9e
2012-11-27re-base on ALv2 code. Includes:Michael Meeks
Patch contributed by Christian Lippka impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx http://svn.apache.org/viewvc?view=revision&revision=1167619 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 cws mba34issues01: #i117719#: use correct resource ID http://svn.apache.org/viewvc?view=revision&revision=1172351 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Armin Le-Grand #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested http://svn.apache.org/viewvc?view=revision&revision=1240195 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68 Patch contributed by Regina Henschel linecap: Reintegrating finished LineCap feature http://svn.apache.org/viewvc?view=revision&revision=1232507 Patch contributed by Wang Lei (leiw) #i118760# split the first table cell vertically, then undo&redo, the Presentation app will crash http://svn.apache.org/viewvc?view=revision&revision=1301361 cleanup globlmn hacks, undo dependent fixmes.
2012-11-27findbar: use new SetPlaceholderText methodIvan Timofeev
Change-Id: I2e9b825110ed2e83c053b2084c4e6c868d1e9d9f
2012-11-26fix crash on impress quit, when custom shapes were added during editingRadek Doulik
- reset connection to this unoshape in sdr object so that it doesn't try to delete uno shape later when it might be already deleted Change-Id: I1195bfdaccceb9d7e3e0f0a48aaacb16f7a46ced
2012-11-26rearrange controls on table data view navigation barLionel Elie Mamane
The settings for font size confused pixels and points ----> correct that with the kind help of Kendy and Thorsten. When font size was adjusted, control width was not recomputed ----> first change font size, then compute widths. First label glued to left of bar ----> add 1 pixel of space. In "row number" text entry area, center the text horizontally. In "row count" label: - justify text to the left for a "complete sentence" emulation with the other controls - use thousands separators + adapt width for that Less space between last button and scroll bar. A bit less space between controls in general. Change-Id: I2bb1e52d9555ecb054f16f762cf4ed5040814f10
2012-11-25Apply Style: Fix the styles preview on Windows.Jan Holesovsky
Change-Id: Ic684e52df585add9ff0f068fa4871ada3916be16
2012-11-25findbar: disable up/down buttons by default, there is no text to searchIvan Timofeev
Change-Id: I67550f0b40e1c0d294bf8837a2e6ad3bb30dac8a
2012-11-25Apply Style: Support styles with background.Jan Holesovsky
Change-Id: Iff3e3c4f3bd2ea09c39db80ed5400efadeafee30
2012-11-25cppCheck: remove dead assignment and dead variablesjailletc36
Change-Id: I3f0eae93be7f362ff70f8a544c46cd500d2ca50c Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1153 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2012-11-25Make the font combo box in the toolbar a bit smaller.Jan Holesovsky
Change-Id: I4ea350f7557b53e8edc44679f83d67e4f5326ae1
2012-11-24Apply Style: Correct the font size when it is too big to fit nicely.Jan Holesovsky
Change-Id: I6bfa1d5d4064de70974508fe6122f5289972e9a7
2012-11-24Apply Style: Preview more properties.Jan Holesovsky
Change-Id: I708cea6d5d0fcb675d69312cea212b93ce4e8e39
2012-11-24Apply Style: Preview the text color too.Jan Holesovsky
Change-Id: Id9429b058842b1437e3d3cad171181ea604cc7fa
2012-11-24Apply Style: Preview styles directly in the Apply Style combo box.Jan Holesovsky
Change-Id: I5042b5bc61da65dc85cb406e5137e0395b699fbf
2012-11-24get rid of Svx...Locale...() double conversion nonsenseEike Rathke
Change-Id: I21d14ff6087d1adb0ce769f2e8f8060a005250cc
2012-11-24Removed horizontal rule ugly 1990 thingCédric Bosdonnat
Change-Id: Ifafd8b2ffd9af90b6ac4ed2ee0ccd3c5e980731c Conflicts: sw/source/ui/misc/insrule.cxx
2012-11-23some i18n wrappers with LanguageTagEike Rathke
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22get rid of unnecessary LocaleDataWrapper temporary instancesEike Rathke
Change-Id: I17d9a502565d445b0eab9ef6e9123661850292b7
2012-11-22AllSettings with LanguageTagEike Rathke
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-20Merge branch 'feature/killsdf'Andras Timar
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-20Bin pointless _SOLAR__PRIVATE which was always 1 anywayTor Lillqvist
Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
2012-11-19Bin the HACK() sillynessTor Lillqvist
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-18migrate one GetOutputString variatn to OUStringNorbert Thiebaud
that create some clutter on some of the caller, this will be resolved as things progress to ward OUString only This is done that way to be incremental and avoid creating too big patches Change-Id: I4a881d85cc2ee1eb53bc0c0d0902838b1d3720a2
2012-11-17use LanguageTagEike Rathke
Change-Id: Ibe18dc1b768c928e8f53ff4bf98adab40d808025
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-15Rename SvLBoxItem::IsA() to GetType(), and mark that const.Kohei Yoshida
Change-Id: I542835154e40b25d68fc3995d911810e26e30501
2012-11-15-Werror=overloaded-virtualStephan Bergmann
Change-Id: Ic444c979d4975198d9818d7257c85cd44639fda7
2012-11-15re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by: Armin Le Grand. #118558# Correcting OLE attributes of LO3.4 at load time by loading as OOo3.3, details see task. http://svn.apache.org/viewvc?view=revision&revision=1195906 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles http://svn.apache.org/viewvc?view=revision&revision=1293316 #119337# Solves the wrong get/setPropertyValue calls in SvxShapeText (and thus in SvxOle2Shape) http://svn.apache.org/viewvc?view=revision&revision=1344156 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117717#: remove wrong assertion http://svn.apache.org/viewvc?view=revision&revision=1172349 Patch contributed by Herbert Duerr goodbye Registration and License dialogs, don't let the door hit you http://svn.apache.org/viewvc?view=revision&revision=1172613 help gcc 4.6.0 on 32bit ubuntu 11.10" http://svn.apache.org/viewvc?view=revision&revision=1245357 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 Revert "sb140: #i117082# avoid unncessary static class data members commit 21d97438e2944861e26e4984195f959a0cce1e41. remove obsolete FreeBSD visibility special case. retain consolidated BSD bridge code, remove OS/2 pieces.
2012-11-15ensure translations are built before using themDavid Tardon
Change-Id: Ia172f144616d7468466a057bb1a431b3047209fd
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba