summaryrefslogtreecommitdiffstats
path: root/svx
Commit message (Collapse)AuthorAgeFilesLines
* convert drawinglayer gradient dialog to new .uiMiklos Vajna2013-02-072-0/+16
| | | | Change-Id: Iaa91d3b1ab47e02edc69c2b9abdb33ae097571cb
* also change the font combo tooltip to say font is not availableLuboš Luňák2013-02-063-0/+16
| | | | Change-Id: I68e31498aa4916e11e04c57171e32cf9b3204108
* remove unused variableLuboš Luňák2013-02-061-1/+0
| | | | Change-Id: Ie81d49f5aec6a4d87b2b49b015afbcaa94e12e50
* if a font is not available, show its name in italic in the font comboLuboš Luňák2013-02-061-0/+40
| | | | Change-Id: Ia7d0de2c3017f450b9ace31753a351601ca6f1f0
* remove obsolete hidother.src filesAndras Timar2013-02-061-61/+0
| | | | Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
* sw: let drawinglayer manage gradient styles of our textframesMiklos Vajna2013-02-062-22/+3
| | | | | | With this, the hacks from commits 81a46fc86a530f028a5bd2f5e52fe0372d50ee38 and d7efffebd9651dd866349915360ade64b97d7301 are no longer necessary.
* delete double entry (see line 345)Joren De Cuyper2013-02-021-4/+0
| | | | | | | Change-Id: I5be1d34ae5de4e9e2b49b97dc161d2ba06204cd5 Reviewed-on: https://gerrit.libreoffice.org/1956 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* move color options .ui to right place and adapt codeCaolán McNamara2013-01-312-2/+57
| | | | Change-Id: I645775bcec9993a2d8fd4b5ea67197ad3b2a9e03
* Revert "WaE: declaration of nWhich shadows a member of ´this´"Michael Stahl2013-01-301-2/+2
| | | | | | This reverts commit 984ac8a7b4af06147a113845899ec918d5934921. Problem was fixed already by 9ad661e5740142a95893e91e4c138caee2abe7c2
* remove useless macrosLuboš Luňák2013-01-305-9/+0
| | | | | | created by incorrect replacements in the previous commit Change-Id: I15a56ecd201ce202fe933c7d24908923bedc6708
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-306-34/+34
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* the name field for SdrShadowColorItem seems to be redundant nowCaolán McNamara2013-01-304-6/+10
| | | | Change-Id: I6e90cdfc9577bfa0ee1dd1018a41aa7979dfaf04
* SdrShadowColorItem(long nIndex, ...) variant never usedCaolán McNamara2013-01-302-11/+10
| | | | Change-Id: Ibae83ceac3c2e1f678c35a12d68ef3779879314d
* make basic XubString freeCaolán McNamara2013-01-304-10/+9
| | | | Change-Id: Iea5c01fe902b052a55c86ca3b879bcca12c80690
* fix build with older icu versionLuboš Luňák2013-01-291-0/+2
| | | | | | ... that's still allowed by the configure check Change-Id: I1abfdfc09522dcfbd487d87a6ff49a0b4803daad
* sw: import draw:fill-gradient-name for Writer textframesMiklos Vajna2013-01-291-1/+1
| | | | Change-Id: I695cf16bc3b06823ae9e0546cb751e41eb201706
* SvXMLExport::_ExportStyles: also try to export text gradientsMiklos Vajna2013-01-292-3/+22
| | | | | | | They are not exported automatically, as SvxUnoNameItemTable needs a Which ID, and it's different for drawinglayer and Writer gradients. Change-Id: I5dd7d828b1f0e577e26510e3c5ca74386d000f16
* Related: fdo#59922 add new unicode blocks, detect newer in futureCaolán McNamara2013-01-294-526/+1614
| | | | | | | so that if a new ones appears in icu we should compile time warn about it Change-Id: Ic116dce40a2aedee417320bc5291bb5b7d0ac391
* Resolves: fdo#59922 Incorrect character range for "Katakana Phonetic"OKANO Takayoshi2013-01-293-1/+8
| | | | Change-Id: Ic541e2510567ca0f264730568c482fef521e6318
* Repeated call to namespace tableGokul2013-01-291-1/+0
| | | | | | | Change-Id: I7cde7c609ee4e5e2cd9ab0be8f973b2626670f13 Reviewed-on: https://gerrit.libreoffice.org/1875 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Resolves the bug fdo#59117 missing borders of last columnkarth2013-01-291-3/+5
| | | | | | | | | | | | | When writingmode is set to RTL, the table is start drawn from Last column to first column. There is no problem with left&right lines, Because these are not depends on the LTR or RTL writingmode. But the bottom & top line depends on writing mode. As these two lines are drawn from previous cell to next cell(left to right) the nX value should be nX-1 in RTL writingmode. Change-Id: I3e21c7dd469ed5ba29e66f79da471b662632182e Reviewed-on: https://gerrit.libreoffice.org/1834 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa>
* use SvtModuleOptions::ClassifyFactoryByServiceName to determine moduleCaolán McNamara2013-01-281-67/+62
| | | | Change-Id: Ic0f8101c2619bf83feddbe0bd74d0b88941bbbe7
* fdo#59397 Use more precise wording at 'Find & Replace - More Options - Styles'Vishv Brahmbhatt2013-01-284-6/+71
| | | | | | | Change-Id: I5013e8b2ce99478f2445756e181f009b93d4e746 Reviewed-on: https://gerrit.libreoffice.org/1905 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
* WaE: declaration of nWhich shadows a member of ´this´Miklos Vajna2013-01-281-2/+2
| | | | Change-Id: I0a56ecd13b59997c202acd327e0647f69a1b8db7
* fix previous string conversion:Michael Stahl2013-01-281-0/+1
| | | | | | | | - SdrAngleItem::GetPresentation missing space - SwFmtFrmSize::GetPresentation spurious s - crstrvl.cxx build breaker Change-Id: I4f1ce51943dff002ce250aff6f37f090c727bb00
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-2884-501/+452
| | | | | | Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
* XFillGradientItem: don't assume the default Which IDMiklos Vajna2013-01-282-4/+4
| | | | Change-Id: I2baced123f957fb47f7710c122664842e0b1bb1d
* SwXTextFrame: use XFillGradientItem instead of extending SvxBrushItemMiklos Vajna2013-01-283-0/+20
| | | | Change-Id: I8863cbe1d01fceac0f4b4152264c1464c90e02b8
* SwXTextFrame: use XFillStyleItem instead of extending SvxBrushItemMiklos Vajna2013-01-282-0/+6
| | | | Change-Id: I03b841ed703503425c9f1a2045d6399c8899815f
* Resolves: fdo#59965 crash dialog title area text is missingCaolán McNamara2013-01-282-2/+2
| | | | Change-Id: I19adc5047d744acee243c94ff4e31531ae8c458a
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-261-1/+1
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: remove various pointless calls that don't add anythingMichael Stahl2013-01-261-4/+0
| | | | Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-264-1/+9
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* set mnemonic widgets in asian phonetic guide dialogCaolán McNamara2013-01-251-1/+11
| | | | Change-Id: I0f41fb345b8f0822c98f19bc9de2c7e9c15133a9
* Remove RTL_CONSTASCII_USTRINGPARAM in svxChr. Rossmanith2013-01-2410-171/+165
| | | | | | replace equals() with == Change-Id: Ic1aed52398beb2132d8c6824335b865ceb4255b3
* Change GetSavedValue() to return OUStringChr. Rossmanith2013-01-242-3/+3
| | | | | | removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
* rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara2013-01-241-1/+1
| | | | Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
* Replace the frequent functioncallsK_Karthikeyan2013-01-241-5/+6
| | | | | | | | | | | The function getHorizontalEdge contains more function calls to the getRowCount(). Instead we store the return value of getRowCount() value in a const integer varible nRowCount and use it. Change-Id: I3e1460913099d1060d5005329e0b63e5ebcd362c Reviewed-on: https://gerrit.libreoffice.org/1777 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
* fdo#59101 - [Feature Request] Make Find hotkey (Ctrl+F) a toggle commandJoren De Cuyper2013-01-241-1/+1
| | | | | | | Change-Id: I8cf518a18e4846f9e687d05c7f7c0eb774abba6f Reviewed-on: https://gerrit.libreoffice.org/1751 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
* Remove RTL_CONSTASCII_USTRINGPARAM in svxChr. Rossmanith2013-01-2217-240/+150
| | | | | | replaced equals() with == Change-Id: I8697cc700d9780306ac83f52253b60ea55be6853
* Tutorial step #8 clean unused .src|.hrc remaindersCaolán McNamara2013-01-224-117/+0
| | | | | | | | | | | | 1. Remove the DLG_CHINESETRANSLATION dialog from the .src 1.1. Remove the .src from AllLangResTarget_<module>.mk if that that .src is now empty. 1.2. Remove from any .hrc files any defines which are now unused due to removing that .src hunk 1.3. Remove any .hrc files which are now empty and remove any #includes of those Change-Id: I872f97e4d3ec7404f4d8978c32e397bb20e96783
* Tutorial step #7 remove FreeResourceCaolán McNamara2013-01-221-2/+0
| | | | | | | | | | | 1. Remove the call to FreeResource, the dialog is no long resource based, so it will crash otherwise 2. make dev-install, cross fingers, launch app and dialog 3. launch under gdb if it crashes, typically asserts indicate typos in widget names or mismatched widget types Change-Id: I50df1b5d73e904c8d64feb06f23a9331340e40af
* Tutorial step #6 convert remaining widgetsCaolán McNamara2013-01-223-26/+26
| | | | | | | | 1. repeat step #5 for each remaining widget, this time making up more memorable names for the widgets we want to access and updating the .ui with them in parallel with adapting the code Change-Id: I29eba9fd0f8680d170412d45a39ff1e562261267
* Tutorial step #5 convert first remaining widgetCaolán McNamara2013-01-222-3/+3
| | | | | | | | | | | | | | taking m_aBP_OK as a standalone example: 1. Change OKButton m_aBP_OK in header to OKButton* m_pBP_OK; 1.1. Remove m_aBP_OK ctor call and change to get(<pointer>, "name in .ui file"), e.g. get(m_aBP_OK, "ok"); 1.1. Mass-convert calls from "m_aBP_OK." to "m_pBP_OK->" e.g. :%s/m_aBP_OK./m_pBP_OK->/g 1.2. Search for anyremaining m_aBP_OK instances and adapt Change-Id: Iadb3ed674413c0b8eca3ba7a00bafaab112d8ff5
* Tutorial step #4 remove redundant FixedLine/FixedText constructorsCaolán McNamara2013-01-222-9/+0
| | | | | | | | | | 1. It's nearly always the case that the FixedLine can be elided entirely as its only a visual effect with no methods called on it except its ctor, so explicit mention of it can be removed. 2. Thats's often the case for FixedText labels as well. Change-Id: Icd7434ee28d044d169f1d1ea230fbe9df9156bdc
* Tutorial step #3 remove redundant button widget constructorsCaolán McNamara2013-01-222-4/+0
| | | | | | | | | | | 1. It's nearly always the case that the Help button has no methods called on it except its ctor, i.e. no changes to its default behaviour, so explicit mention of it can be removed. 2. Thats's often the case for the Cancel button 3. That's occasionally the case for the OK button Change-Id: Ic192962b2e55546cd448d7a69394ae13a743299e
* Tutorial step #3 change Dialog constructorCaolán McNamara2013-01-221-1/+2
| | | | Change-Id: Ibdd805d568da2006caaa2d0b756e809e48786f0c
* Tutorial step #2 improve .ui prototypeCaolán McNamara2013-01-221-0/+21
| | | | | | | | | | | | | | | | | | | 1. Pick a button to be the default button 1.1. Select can-default and has-default 2. Pretty it up a little 2.1. Set 12 pixel row spacing to toplevel grid 2.2. Set 6 pixel row spacing on second level grids 2.3. Set 6 pixel col spacing on second level grid 2.4. Add 6 pixel top spacing to alignments 3. Resize behaviour 3.1. Select "translate common terms" to horizontally expand 3.2. Select frame1 and frame2 to vertically expand 3.3. Resize dialog in glade and confirm behaviour is as desired 3.4. confirm with glade-previewer 3.5. confirm with ui-previewer Change-Id: I3a77f92394afdc849b45c38e16aab6e0349165e8
* Tutorial step #1 initial .ui prototypeCaolán McNamara2013-01-222-0/+231
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Give the dialog the right title, "Chinese Conversion" 2. save as chineseconversiondialog.ui to <module>/uiconfig/ui 3. add to <module/UI_<module>.mk 4. Add the dialog action area buttons 5.1. use stock gtk-ok, gtk-cancel, gtk-help, etc. for standard buttons 5.2. call them "ok", "cancel", "help" for consistency 6. Visually the old dialog has two frames, "Conversion direction" and "Common terms" 6.1. Add a GtkGrid, one column, two rows 6.2. Add a GtkFrame to each 6.3. Copy and paste in the frame titles from the .src 6.4. Format the frame labels to use bold text and not bold markup as per https://live.gnome.org/GnomeGoals/RemoveMarkupInMessages 7. Conversion direction has two radio buttons 7.1. Add a GtkGrid, one column, two rows to Conversion direction frame 7.2. Add two radiobuttons, cut and paste in text from .src 7.3. Convert vcl "~" mnemonic indication to .ui "_" and click use underline 7.4. Group radiobutton1 with radiobutton2 and radiobutton2 with radiobutton1 7.5. Set the radiobuttons that are not to be default selected as inactive 8. Common terms has one checkbox and a pushbutton 8.1. Add a GtkGrid, two columns, one row 8.2. Add a checkbox and button, copy and paste in text from .src 8.3. do the ~ to _ + underscore conversion Change-Id: I49af68b8280876d8687fe9ecad4d80d12c9607c4
* remove always false and disabled m_aCB_Use_Variants checkboxCaolán McNamara2013-01-226-61/+1
| | | | Change-Id: I770c867a2cb014fd34c5289d47ff030aa774579d