summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-07-25Resolves: fdo#67113 split insert autotext and field controlsCaolán McNamara
autotext is a modal dialog and insert field is a modeless dialog so I don't want autotext to show a toggle in insert->autotext At the same time we want the autotext entry in the insert toolbar to have a dropdown and we appear to want to be able to close the insert field dialog from the toolbar. So split the combined handler class into two and remove the other if/else branch in each with the insert field a SfxBoolItem and the insert autotext an SfxVoidItem. Change-Id: I3d59052ee70a00d63f7706166290b00ad9ae22c0
2013-07-25Related: fdo#67113 restore some code, it has side effectsIvan Timofeev
these lines were removed in 8275c8fc33b63aa40a0a8a8c215f32b9986edab6 fixes missing AutoText menu entries and AutoText insertion via menu Change-Id: Ifa498d1cbfc096cca7751de9c9667fda6f1b3b48
2013-07-25fdo#59427 first step for template menuCor Nouws
takes care for File > Template > Save and File > Template > Manage however the menu for the latter comes from uno:NewDoc and thus has to be changed > TODO Change-Id: I0600847724fc5ccb3ef13d57355d8eb54970cc9b Reviewed-on: https://gerrit.libreoffice.org/4284 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-07-25fix for SwCombinedCharField constructor with wrong initAdam Co
Change-Id: I71548e5fe60a8da8e89022b16a2f892900f3e4c2 Reviewed-on: https://gerrit.libreoffice.org/5089 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fdo#60990 testcaseMiklos Vajna
Change-Id: I35dcb21e55e262db274d7e811d79f9fafc6d6c25
2013-07-24Related: fdo#60990 w:textbox -> v:textboxMiklos Vajna
By accident, Word accepted this, but not our importer. Change-Id: Ie6a7846f1cb594b85245af74053d680af9e77d0e
2013-07-24fdo#60990 VML export: handle paragraph/run properties of shape textMiklos Vajna
Change-Id: Iaeb7f9826308ea94a036cb4bfa87bf65f0cfe22f
2013-07-24fdo#66781 : fix bullets with level 0Adam Co
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I14b0ce9ae096eae4759793a49865eefe16ec1afd Reviewed-on: https://gerrit.libreoffice.org/4818
2013-07-24fdo#67213 - crash on opening AutoText dialog (Ctrl+F3Noel Grandin
Revert "fdo#46808, Convert frame::FrameControl service to new style" This reverts commit 32eaa77db33b3b1f5793e92167b9f8c2708ea543. Conflicts: UnoControls/source/controls/framecontrol.cxx UnoControls/source/inc/framecontrol.hxx .. because I can't work out how it causes fdo#67213 - I suspect my changes might be interacting with UNO aggregation, which is always tricky. Change-Id: Icd14f9a7df98585393c5527a3817e05c26246de9
2013-07-24Revert "fdo#67213 - crash on opening AutoText dialog (Ctrl+F3)"Noel Grandin
This reverts commit d8fa15f0ea3bbf38f5142f83121b7c72c483c7f5, which did not fix the problem.
2013-07-24sw: update hintids.hxx comments to match realityMiklos Vajna
Change-Id: Ida2afe0cb37cf5c80bfe76a0f24ce0fb0d690da6
2013-07-24SfxGrabBagItem testcaseMiklos Vajna
Change-Id: I1386ab7a0680460bd98648d2803b1b7e0326e093
2013-07-24MSWordExportBase: handle SfxGrabBagItemMiklos Vajna
Change-Id: Iace2abaa0e933d7f4abf2feb146698bbf299be38
2013-07-24sw: add ParaInteropGrabBag uno property to paragraphsMiklos Vajna
Change-Id: Ic1208f97db31d86bffd71032d6eba1768e929707
2013-07-23Fix drop caps backgroundZolnai Tamás
Background were shifted upwards with the descent of the character and so the default grey background hanged out under the user added background. Examples: A (no descent), S (small descent) Q (big descent) Change-Id: I044fc63cf9988152e7b6aa4042bcf14651e097c0
2013-07-23Check explicitily the space at the end of the lineZolnai Tamás
Can be bugous when the last character not a space. I don't have any real life examples, just some extreme -Line break is inside a word without hyphenation -A tabulator follow the last character of the line and so this tabulator get to the next line. Change-Id: I3c5d372295b960a5cc22c19ada382d0a995787cc
2013-07-23fdo#67213 - crash on opening AutoText dialog (Ctrl+F3)Noel Grandin
I created this bug with commit 32eaa77db33b3b1f5793e92167b9f8c2708ea543 "fdo#46808, Convert frame::FrameControl service to new style" If we cannot create a css::frame::FrameControl service, just continue. Change-Id: Iffd6952fd5153af5a1ab72af2bc55864816a750d
2013-07-23expand out the U2S and S2U macros from sfxuno.hxxNoel Grandin
They are vestiges of the old string classes. Change-Id: I5dd458bd2dac5f2e867ddaa731190f159b8a3b65
2013-07-23fdo#64637 RTF import: handle multiple RTF_COMPANYMiklos Vajna
Instead of unconditionally calling addProperty(), first check the existence with hasPropertyByName() and call setPropertyValue() instead, if necessary. Change-Id: Ie0a075bbfe6eaa1f66726c456105dcdef9001d30
2013-07-22fdo#66145: fix for FirstIsShared flagAdam Co
Change-Id: Id8cc3829ccd5806295b0f240a570dc1d66ed0c87 Reviewed-on: https://gerrit.libreoffice.org/5002 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-22Decrease scope of some variableZolnai Tamás
Change-Id: I23319e09bf6c4c0e33b86edc225cdfaa0433b7c6
2013-07-22Remove useless private operator==() from SwFontZolnai Tamás
Change-Id: I7cbc6cc1c55afe0906cacda571c9ed8dd7fd8dd7
2013-07-22Remove useless variableZolnai Tamás
Change-Id: I78004d9d74647ad9b87975204844cb2bb66a83fa
2013-07-22Fix indentationZolnai Tamás
Change-Id: I4feae9998647694efaad776396aca2ce8f177152
2013-07-22Remove obsolote border dialogZolnai Tamás
Change-Id: I57f3db05a21caeff04f280a0c13c3facfe23c3c1
2013-07-22n#825976: Table of Illustration has hyperlinks by default like TOCCédric Bosdonnat
...and that fixes the formatting of hyperlinks in docx Tableoof Illustrations. (cherry picked from commit c1fac43432891bf9f396ff1ec7a1c2ed042bce54) (cherry picked from commit 49d077b80c15ec9d069435da08bbfe38cdd57c5a) Change-Id: I990f31a8c9d0d56f58b7b87e368010576d8c8c0d
2013-07-18merge more copypaste into assertXPath()Miklos Vajna
Change-Id: I8ee063454e6de98ed134877d6298b6a772cf1e7a
2013-07-18merge copypaste into parseExport()Miklos Vajna
Change-Id: I5a680e3853d2411b00de1e286fce08d30b368ad7
2013-07-18fix DOCX export page border - interoperabillity. export case #2Adam Co
This is a fix for the 2nd case of export of a page's border. The case is when a border's distance from text is larger than 31pt. In such a case - LO used to write the value as-is, which caused a problem in Word. Now the fix checks the value, and if it is larger than 31pt - it converts it to a distance from the page margin. Based on the problem described here: http://wiki.openoffice.org/wiki/Writer/MSInteroperability/PageBorder Change-Id: I79f721adc71ac744eb332fbf3fea8070e41ddabc Reviewed-on: https://gerrit.libreoffice.org/4959
2013-07-18fdo#46808, Convert frame::FrameControl service to new styleNoel Grandin
Change-Id: I38fc91e70d99472a4336250acd5c7dc3457b21ab
2013-07-17wrong widget name in wrap page .ui conversionCaolán McNamara
Change-Id: If29d55eaa2fa58ea907611a93b90a1e41178a6da
2013-07-17Related: fdo#65632 DOCX filter: fix import of non-redlined footnoteMiklos Vajna
Change-Id: Ie1a86e6b59c43c3ee54076d5d68aa3fca0d6a515
2013-07-17convert frame/graphic wrap page to .uiCaolán McNamara
Change-Id: I931214850dea1442fa0a4e3314dd339aaff5a789
2013-07-17fdo#39904, n#825976: implement hyperlinks for Illustrations indexCédric Bosdonnat
(cherry picked from commit 8bb2c7f1556c10508c8ac451c579539ccf5dacfb) Conflicts: sw/inc/swtypes.hxx Change-Id: I6f682c382e7ab0e06259b335247fdcebd7412942
2013-07-17mail merge: forward PrinterName property to ExecPrint methodPierre-Eric Pelloux-Prayer
Otherwise, there's no way to select the printer to use (from an extension) Change-Id: Iee59f9de38547a8edb0419cf4d2df3c1ce2d7999 Reviewed-on: https://gerrit.libreoffice.org/4858 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-17mail merge: properly increment indexing counter (was const)Pierre-Eric Pelloux-Prayer
Change-Id: I1d780a5369c04a93e7fe16b41bff5f37d641e60c Reviewed-on: https://gerrit.libreoffice.org/4857 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-07-16fdo#63133: Write tools/tempfile.hxx outPalenik Mihály
I deleted TempFile class and changed it to utl::TempFile class -which in unotools/tempfile.hxx- in the followings: Storage, StgTmpStrm, SwXMailMerge classes; and RenderAsEMF function. I modified header in precompiled_sw.hxx. Change-Id: I3dae5333dc42538e1b905f6a6bbc85534c591dc1 Reviewed-on: https://gerrit.libreoffice.org/4938 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16fdo#39468 Comment translation GER-ENG in sw/source/ui/uiview (Part 4)Matthias Freund
Change-Id: Ibc235d9a34e3530368b904fa084a66490d789048 Reviewed-on: https://gerrit.libreoffice.org/4873 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-16fdo#63273 sw: let word count not update stat. fieldsMiklos Vajna
Updating fields would generate loads of selection change events and it's not what we asked for. Regression from ce14342c4292628a641a72d4f63d9c048e030c6a. Change-Id: If237df1f31436357022ca8d77b924681e403abd8
2013-07-16SwGetRefField::PutValue: unused variable sTmpMichael Stahl
Change-Id: I94cc8455d054d6d43a5445d3434b1d8ef57c05c7
2013-07-16warning C4805 unsafe mix of type sal_Bool and type boolMichael Stahl
Change-Id: I2d65386fb697cbd62768cbcc565611d9a5fdb068
2013-07-16String to OUStringMatteo Casalin
Change-Id: I64f31d8a0bb02a2ecd8fcc993c90ca76923b35fb Reviewed-on: https://gerrit.libreoffice.org/4924 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-07-16Delete SvCacheStream classPalenik Mihály
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-07-16remove pointless empty variableLuboš Luňák
Change-Id: I118dccbe8461ba4c90a8c8d54e6f3fc46cb08b1f
2013-07-16convert versions of dialog to .uiCaolán McNamara
Change-Id: I1be2211b5c936e6e00f2fe81883b8fb1e67ef550
2013-07-16DocxAttributeOutput: avoid 'a' prefix for doubleMiklos Vajna
Change-Id: I1601f2d2926ca62aae8e7c48b1b2147ebed01002
2013-07-16fdo#66929: fix for default textbox inset valuesAdam Co
Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I0e9fa5e73e802f85f02c3fcc5c276ed0c1cb2a58
2013-07-16Mark as constTakeshi Abe
Change-Id: I06e85719590be114ab1d19010886a035e36f34b0
2013-07-15avoid unwanted silent conversion to boolLuboš Luňák
Apparently there's no overload for const sal_Unicode*, so the pointer gets silently converted to bool, but there's one for const char*. Change-Id: I52bc13a19111a04c6d17029f44a262387aeff6d9
2013-07-15DoubleToString: do not modify a reference argument, just return the resultMatteo Casalin
Change-Id: I490aa61f8d9b47a6ead234afd51e2f5324530cb4 Reviewed-on: https://gerrit.libreoffice.org/4923 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>