summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw
AgeCommit message (Collapse)AuthorFilesLines
2013-05-07SwPostItMgr::Delete: fix crash when layout is not yet readyMiklos Vajna1-1/+1
pPostIt is 0 when we have a large document, and the layout is not yet ready for a later part of the document, having a comment. Just don't try to delete such comments, better than a crash. (cherry picked from commit 9a7641451dad5c73a936de5361aa3c3f148132d0) Change-Id: I5fd5c908bc7b1feba926214863e84391b9037484 Reviewed-on: https://gerrit.libreoffice.org/3757 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-05-07fdo#62643 sw: fix autocomplate wrt. adding to a partially finished wordMiklos Vajna1-113/+12
This partially reverts commits 1eee77f2c2b4fa5f693708218c74a8f3909649a6 and 51f9e894f46e718200a14bcd61e9e44c64bc5396. (cherry picked from commit d92932744fdbaa78cec8dd8b991d5f442f6eef4b) Conflicts: sw/source/core/doc/acmplwrd.cxx sw/source/ui/docvw/edtwin.cxx Change-Id: Ie6a1202e139a0eb30cac482a2bb528ef70c7797f Reviewed-on: https://gerrit.libreoffice.org/3580 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-01Merge tag 'libreoffice-4.0.3.2' into suse-4.0Petr Mladek2-5/+27
Tag libreoffice-4.0.3.2 Conflicts: basic/qa/cppunit/test_vba.cxx basic/source/runtime/step2.cxx dictionaries helpcontent2 instsetoo_native/util/openoffice.lst libvisio/UnpackedTarball_visio.mk sc/source/ui/vba/vbaapplication.cxx sc/source/ui/vba/vbavalidation.cxx solenv/inc/minor.mk sw/qa/extras/ooxmlimport/ooxmlimport.cxx translations Change-Id: Ic1f06489175f3db92d6bbcebb9732fadc1c61fed
2013-04-02n#802888 SwEditWin: let fields have priority over header/footer flysMiklos Vajna1-1/+6
http://people.freedesktop.org/~vmiklos/2013/watermark-field-click.odt is a reproducer, double-click was catched by the fly frame from the header, so the field edit dialog didn't appear. Change-Id: Ibd3ea382085fa4cbdc1af73d4be1e5c053a81eaa (cherry picked from commit 61f467c8974d6b6face41e7027d75ae4ddb6fdb2) Conflicts: sw/source/ui/docvw/edtwin.cxx
2013-03-25fix fdo#62050 : Initially disable RTL for comment window.navin patidar1-4/+1
In RTL UI, comment window is RTL and editbox’s (editeng) default writing direction is LTR. and i suspect, the bug is result of this RTL & LTR mix-up. Change-Id: If3af4ae428b67151d66661907b9e60a97049e0e6 Reviewed-on: https://gerrit.libreoffice.org/2831 Reviewed-by: abdulmajeed ahmed <aalabdulrazzaq@kacst.edu.sa> Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa> (cherry picked from commit 79dd315e9b19ec3bc6601c359a0ecb6d576d4aa8) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com> fix fdo#62050: for impress Impress is also affected by fdo#62050. In RTL UI, comment window is RTL and editbox’s (editeng) default writing direction is LTR. I suspect, bug is result of this RTL & LTR mix-up. Change-Id: I188ce05350f721081378509915158d4ec4e5f8cf Reviewed-on: https://gerrit.libreoffice.org/2922 Reviewed-by: Ahmad Harthi <aalharthi@kacst.edu.sa> Tested-by: Ahmad Harthi <aalharthi@kacst.edu.sa> (cherry picked from commit 092bf2fb0052ca73855127dc03ff1ae3f9321506) Signed-off-by: Lior Kaplan <kaplanlior@gmail.com>
2013-03-18fdo#61952: sw: fix left/right-only page styles and first-pageMichael Stahl1-5/+4
- remove PD_FIRST and GetFirstFmt: This flag makes no sense at all, since there are no "first-only" page styles (while there are left-only/right-only). - instead add a parameter to GetLeftFmt/GetRightFmt to request a first page format, if such exists and is not shared (regression from 02a934d03b101ce463a232f9cbb7b43e684de37e and fa0f42bafbf24e9141ddee728b160b5ab47077f2) Change-Id: I4d50c2c0cc4f3cf231eacba891df22d0bcf6c4df (cherry picked from commit 4dc78aee9bcdb6ea5e9dc47ebb4a4b9e590c725a) Reviewed-on: https://gerrit.libreoffice.org/2764 Tested-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Miklos Vajna <vmiklos@suse.cz> (cherry picked from commit 75d6eec4be88194126d31fc0f235cd3a303936bd) Reviewed-on: https://gerrit.libreoffice.org/2813 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-18fdo#34800 Comments added to footer are placed at the right top of the page.Joren De Cuyper1-1/+26
I also merged (manually) the changes of the cleanup commit of Michael Stahl ( commit id 859e94294bdfd8595c88dd7f14da09ead8b32a45 ) Change-Id: Ibcd0373110fde848dccf93ffe9100459c7cc64a5 Reviewed-on: https://gerrit.libreoffice.org/2572 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/2777 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-03-18fdo#61952: sw: fix left/right-only page styles and first-pageMichael Stahl1-5/+4
- remove PD_FIRST and GetFirstFmt: This flag makes no sense at all, since there are no "first-only" page styles (while there are left-only/right-only). - instead add a parameter to GetLeftFmt/GetRightFmt to request a first page format, if such exists and is not shared (regression from 02a934d03b101ce463a232f9cbb7b43e684de37e and fa0f42bafbf24e9141ddee728b160b5ab47077f2) Change-Id: I4d50c2c0cc4f3cf231eacba891df22d0bcf6c4df (cherry picked from commit 4dc78aee9bcdb6ea5e9dc47ebb4a4b9e590c725a) Reviewed-on: https://gerrit.libreoffice.org/2764 Tested-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-20fdo#59928: sw: fix mouse selection of fields differentlyMichael Stahl1-23/+20
Unfortunately selecting the field in SwEditWin::MouseButtonDown() prevents the click field handling code in SwEditWin::MouseButtonUp() from running. Instead select the field in MouseButtonUp and SwWrtShell::ClickToField(), which seems to work better. (regression from 94721b2aec614e0d99504138d484b2ad6cd550c7) Conflicts: sw/source/ui/wrtsh/wrtsh2.cxx Change-Id: I3d769487b9d5225ffd07b384fbb0ce01e0733be5 (cherry picked from commit a4a457100a3a6e9f59113e82c9d0b12786273671) Reviewed-on: https://gerrit.libreoffice.org/2286 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-02-18fdo#60738 SwPostItMgr: let the cursor know if we're in annotation modeMiklos Vajna1-0/+2
This solves the conflicting requirements: If the annotation has focus ("in annotation mode"), then we want to be read-only only in case the comment anchor is inside a protected section, or so. Ignoring the fact that in the main document, the cursor is right before the annotation anchor, which is a read-only position. OTOH, if the annotation has no focus and the cursor position is before the annotation anchor position, then we do want to be read-only. With this commit, the first case passes around a boolean flag, so the annotation frame won't be read-only without a reason. (cherry picked from commit 9104d5e8905c2ec2b576b5ca452d3e23d5555e49) Conflicts: sw/inc/pam.hxx sw/source/core/crsr/pam.cxx Change-Id: I25781a4501f752f7c4d024795d57b884cb800547 Reviewed-on: https://gerrit.libreoffice.org/2163 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-01-31fdo#59928: sw: fix mouse selection of fields:Michael Stahl1-16/+42
SwEditWin::MouseButtonDown: the selection of fields was messed up by a call to rSh.SetCursor near the bottom of the method. This used to be fixed up by SwEditWin::MouseButtonUp previously, but that was broken with commit dcb080347ca127044313bbb3c11c37761cc2a7a2. To fix that move the field selection code to a place where it prevents the other code from running, in the hope that it is not necessary. Also it does not make any sense to select whole words when clicking on a field, just selecting the field seems much better. Change-Id: I8d604450789844b6a446cf3a35f62ed530d0328e (cherry picked from commit 94721b2aec614e0d99504138d484b2ad6cd550c7) Reviewed-on: https://gerrit.libreoffice.org/1925 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-18sal_Bool to boolTakeshi Abe2-18/+20
Backport needed to fix build after backport of 2b9edadd637ea52293473e63062d334371bc83af . Change-Id: I4e4063321da69d45d14a2fc870c33ea8ae46e4ef Signed-off-by: Luboš Luňák <l.lunak@suse.cz>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens5-14/+0
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-30re-base on ALv2 code. Includes:Michael Meeks18-414/+252
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 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 add writerperfect dependency.
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens1-7/+4
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-23fdo#52182: Fixed click in frames located in header/footerCédric Bosdonnat1-7/+11
Using a distance to click to select the best object to select between normal text and background object. Change-Id: Ib5b53161c7af2c16f4df379382f2e53fc6d8092b
2012-11-23Header/Footer: fixed the selection of frames anchored to header/footerCédric Bosdonnat1-151/+180
Now, double-click actually selects a frame anchored in header/footer. Code has been cleaned a bit as well. Change-Id: Idb7f3520527a0cb6efe0ea41c62f452bc87c4e8d
2012-11-23Header/Footer: fixed click on frames over the header/footer area.Cédric Bosdonnat1-1/+26
The main problem here was due to the click to show the separator when there is no header or footer under the frame. That code was just exiting MouseButtonDown too early, which isn't good. Moved the seperators showing code out of the SwCrsrShell as it has no clue about the document-position and may lead to problems. Change-Id: Ia62333b52c5d0659bbe7ec4fcfe6e664db132435
2012-11-22AllSettings with LanguageTagEike Rathke1-2/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-21unused variablesLuboš Luňák1-2/+0
Change-Id: I216b6ddff479ecf45a9950c05d4d65d55afbc7a1
2012-11-16n#780277: select field when clicking it instead of having cursor before itCédric Bosdonnat1-2/+22
Change-Id: I93d623b62e9357a71bfca3403cc98092ef58c7e4
2012-11-12fdo#36324 fdo#42929 - option to ingore system input language changesJeremy Brown1-0/+12
Created a new checkbox on the Langauges options page: [] Ignore system input language This is unchecked by default so that the current behavior remains the default, i.e. newly entered text will be flagged as whatever the current system input language is. When checked however, this instructs LibreOffice to ignore the system language (on Windows for example, the language from the Language Bar) when determining the language for newly entered text. This is handled in the lcl_isNonDefaultLanguage method of sw/source/ui/docvw/edtwin.cxx. The option is also saved in registrymodifications.xcu There are two main use cases: 1. This allows someone to use a single "international" keyboard on Windows to type in multiple languages, (e.g. English, French, Spanish) without changing the system keyboard. The person is then responsible for setting the language for each word or run of text themselves in LibreOffice. This seems to be the preferred workflow for some translators and some educators developing language materials. 2. This allows someone writing in a minority language that is not represented in one of Windows' locale options to still be able to type in LibreOffice in their language using a keyboard tagged for another language. Once they set the language in LibreOffice (e.g. to Teke-Eboo [ebo_CG]), they can type with a keyboard as being for "Swahili" but still succeed in entering new text in their language. This allows spell-checking to work properly without them having to select each new word they enter and reset the language of that word to Teke-Eboo (as is currently the case). Change-Id: I86248f5865b69048eb1f3e427a8c03b093138796 Reviewed-on: https://gerrit.libreoffice.org/1029 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-07cppCheck: Various clean-upjailletc361-2/+0
mailconfigpapge: shouldn't it be a logical AND instead of a bit-wise operation ? HeaderFooterWin, drwtxtsh, formatclipboard, wview: redundant assignment fldref: unused variable Change-Id: I5016c12527a8811676ff10f07f7be9e855c66814 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/996 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-06re-base on ALv2 code. Includes (at least) relevant parts of:Michael Meeks2-18/+18
linecap: Reintegrating finished LineCap feature Patch contributed by Regina Henschel http://svn.apache.org/viewvc?view=revision&revision=1232507 Patches contributed by Sven Jacobi impress212: #i81610# fixed animation export http://svn.apache.org/viewvc?view=revision&revision=1167620 impress212: drawinglayer gbuild environment changes http://svn.apache.org/viewvc?view=revision&revision=1167627 http://svn.apache.org/viewvc?view=revision&revision=1167628 impress212: DffPropSet -> minor code improvements, removing table http://svn.apache.org/viewvc?view=revision&revision=1167634 impress212: #158494# fixed excel import (text rotation) http://svn.apache.org/viewvc?view=revision&revision=1167638 Patches contributed by Armin Le Grand Svg: Reintegrated Svg replacement from /branches/alg/svgreplavement http://svn.apache.org/viewvc?view=revision&revision=1220836 #118728# changed indentifying definitions for Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1229961 #118838# LineGeometry creation for complicated cases optimized to create single Polygons http://svn.apache.org/viewvc?view=revision&revision=1236232 #119176# corrected file type detection for SVG for svg files without xml header http://svn.apache.org/viewvc?view=revision&revision=1309445 #118728# Extended Svg file detection http://svn.apache.org/viewvc?view=revision&revision=1230531 #118529# solve break converters and convert commands for OLEs and images http://svn.apache.org/viewvc?view=revision&revision=1186168 svg: added WaE changes from branch svgreplacement to trunc http://svn.apache.org/viewvc?view=revision&revision=1222974 svg: corrected missing member initialization http://svn.apache.org/viewvc?view=revision&revision=1226134 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to bitmapEx ... http://svn.apache.org/viewvc?view=revision&revision=1293316 fix for #118525#: removed no longer used variable maOriginalMapMode, one more exception eliminated http://svn.apache.org/viewvc?view=revision&revision=1227097 #16758# Added buffering to the VDev usages of the VclProcessor2D derivates... http://svn.apache.org/viewvc?view=revision&revision=1229521 #116758# Secured VDev buffer device to Vcl deinit http://svn.apache.org/viewvc?view=revision&revision=1230574 #116758# added remembering allocated VDevs for VDevBuffer to be able to also delete these when vcl goes down; it should never happen, but You never know http://svn.apache.org/viewvc?view=revision&revision=1230927 #118730# Changed SvgClipPathNode to use MaskPrimitive2D for primitive representation instead of TransparencePrimitive2D http://svn.apache.org/viewvc?view=revision&revision=1231198 #118822# secured 3D geometry creation (slices) by subdividing the 2D source polyPolygon early http://svn.apache.org/viewvc?view=revision&revision=1234749 #118829# enhanced Svg gradient quality, obstacles avoided http://svn.apache.org/viewvc?view=revision&revision=1235361 #118834# Unified usage of TextBreakupHelper as single tooling class for i18n text primitive breakup http://svn.apache.org/viewvc?view=revision&revision=1236110 #118853# added square pixel size limit to conversion of TransparencePrimitive2D to Metafile action http://svn.apache.org/viewvc?view=revision&revision=1237656 #118824# coreccted mirroring and boundrect when the graphicmanager is used for bitmap output http://svn.apache.org/viewvc?view=revision&revision=1240097 #115092# Corrected VclProcessor2D::RenderPolygonStrokePrimitive2D for various optimization scenarios http://svn.apache.org/viewvc?view=revision&revision=1241434 #118783# Corrected errors in ID strings, corrected Svg line/fill export, corrected polygon close state http://svn.apache.org/viewvc?view=revision&revision=1232006 #118796# corrected null-pointer usage in SVG text exporter http://svn.apache.org/viewvc?view=revision&revision=1240262 #118729# Use GraphicStreamUrl and GraphicUrl to allow multi image import with linked graphics, too http://svn.apache.org/viewvc?view=revision&revision=1229962 #118898# corrected error in GDIMetaFile::GetBoundRect in handling MetaFloatTransparentAction http://svn.apache.org/viewvc?view=revision&revision=1293349 #118855# Corrected handling of possibly created empty clipRegions after PolyPolygon clipping http://svn.apache.org/viewvc?view=revision&revision=1237725 #115962# Better (but not yet optimal, see comments in task) handling of MetaFloatTransparentAction in PDF export http://svn.apache.org/viewvc?view=revision&revision=1241078 IP clearance: #118466# This patch removes librsvg, libcroco, libgsf, ... http://svn.apache.org/viewvc?view=revision&revision=1200879 118779# Added svg content streaming in/out to ImpGraphic stream operators http://svn.apache.org/viewvc?view=revision&revision=1231908 linecap: correctons for WaE and mac drawing http://svn.apache.org/viewvc?view=revision&revision=1232793 svg: uses current system Dpi for Svg replacement image creation http://svn.apache.org/viewvc?view=revision&revision=1233948 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1394326 Remove duplicate header includes. cws mba34issues01: #i117720#: convert assertion into warning http://svn.apache.org/viewvc?view=revision&revision=1172352 118485 - Styles for OLEs are not saved. Submitted by Armin Le Grand. http://svn.apache.org/viewvc?view=revision&revision=1182166 cws mba34issues01: #i117714#: remove assertion http://svn.apache.org/viewvc?view=revision&revision=1172357 Patch contributed by Jurgen Schmidt add some additional checks to ensure proper reading operations http://svn.apache.org/viewvc?view=revision&revision=1209022 mostly prefer our stream / bounds checking work. Patches contributed by Herbert Duerr #i118816# add clarifying comment regarding Font::*Color*() methods http://svn.apache.org/viewvc?view=revision&revision=1233833 extend macro->string handling for empty strings http://svn.apache.org/viewvc?view=revision&revision=1175801 avoid magic constants for SALCOLOR_NONE http://svn.apache.org/viewvc?view=revision&revision=1177543 initialize slant properly in ImplFontMetricData constructor (author=iorsh) http://svn.apache.org/viewvc?view=revision&revision=1177551 #i118675# make check for extension updates more stable http://svn.apache.org/viewvc?view=revision&revision=1214797 #a118617# remove VBasicEventListener.dll binary There are no known users depending on its CLSID http://svn.apache.org/viewvc?view=revision&revision=1203697 Patches contributed by Ariel Constenla-Haile Fix build breaker on Linux/gcc http://svn.apache.org/viewvc?view=revision&revision=1221104 Fix crash when trying to instantiate css.graphic.GraphicRasterizer_RSVG http://svn.apache.org/viewvc?view=revision&revision=1215559 Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117962# - method <SwFlyFrm::IsPaint(..)> - consider instances of <SwFlyDrawObj> http://svn.apache.org/viewvc?view=revision&revision=1172120 sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 gnumake4 work variously from Hans-Joachim Lankenau http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1396782 http://svn.apache.org/viewvc?view=revision&revision=1394707 plus some amount of re-splitting of legacy headers. Patch contributed by Pavel Janik WaE: Remove unused variables. http://svn.apache.org/viewvc?view=revision&revision=1230697 Patches contributed by Takashi Ono mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 mingwport35: i#117795: MinGW port fix for vcl2gnumake http://svn.apache.org/viewvc?view=revision&revision=1172091 Patch contributed by Christian Lippka impress212: #i98044# re enable Text menu for outline and title shapes http://svn.apache.org/viewvc?view=revision&revision=1167639 Patch contributed by Andre Fischer 118674: Made category B code optional and disabled by default. http://svn.apache.org/viewvc?view=revision&revision=1215131 118881: Ignore empty paragraphs after bullets. http://svn.apache.org/viewvc?view=revision&revision=1296205 Patches contributed by Philipp Lohmann ooo340fixes: #i117780# use rtl allocator http://svn.apache.org/viewvc?view=revision&revision=1172087 ooo34gsl02: #i117807# fix an off by one error (index actually inside the pfb section header) http://svn.apache.org/viewvc?view=revision&revision=1167576 various cleanups, related compilation fixes, warning cleanups, re-working of obsolete stl template pieces to use boost instead, changed string classes, re-adapt KDE about data, about dialog, fixing warnings, and other fixes & improvements. Disable svg import / render for about/ branding code-paths for now. Restore full icon theme set. Remove OS/2 conditionals and sources. Remove conflicting gtk/full-screen monitors support. Retain existing svg rasterizer files - temporarily disabled. Standardize stringificaiton and fixup dllpostfix issues. Rename SvgGradientHelper::== to equalTo to avoid overloading issues. Use the flat GdiPlus API for LineCaps calls.
2012-11-03sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I35412e2d2e36e3eabdff2a6692bf6edc68a2d724
2012-10-30sal_Bool to boolTakeshi Abe2-4/+4
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
2012-10-28UniString->rtl::OUStringBufferCaolán McNamara1-2/+6
Change-Id: I9938d7c4ab5594baeb10f405f0aa0964ef84d6c5
2012-10-22sal_Bool to boolTakeshi Abe1-1/+1
Change-Id: I71842ace16eb65b3269754cc36408fe52843b2ea
2012-10-19sal_Bool to boolTakeshi Abe1-2/+2
Change-Id: Id3be1fbf289f04e175bb2fdd71754cad0c9672ce
2012-10-16sal_Bool to boolTakeshi Abe1-4/+4
Change-Id: I89050a1aa899b1a6cd49800f805af9611fd0a9a7
2012-10-15postfix operator++ -> prefix operator++Luboš Luňák1-18/+18
Change-Id: I51506a83009db838d8e12d5559c46b404e59f9b5
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák3-10/+10
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I21e12d6a4dfb9697d2346a4e564e96af0ad03f96
2012-10-05SwHeaderFooterWin: check if we are on the first pageMiklos Vajna1-0/+2
Change-Id: Ib61effb43c2b029c92886319d3a96612b9732878
2012-10-02Remove dead codeTakeshi Abe1-13/+0
SW_CRSR_TIMER was undefined Change-Id: Ib851170ea61547e0ceaa6721c0b2fb90fecaecd3 Reviewed-on: https://gerrit.libreoffice.org/747 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara1-7/+7
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-18n#778148 sw: fix mouse pointer over urls with background imageMiklos Vajna1-1/+3
Change-Id: Idbc93dfc95dfefc4c962ef36e0557a717550b7d7
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+0
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-11-Werror,-Wunused-private-field (various sw)Stephan Bergmann2-3/+0
Change-Id: Ib2becb2af810da0fa3d24bd0aa21887d41e2f34c
2012-09-11n#778148 SwEditWin::MouseButtonDown: prefer url over hell frames on ctrl-clickMiklos Vajna1-7/+20
This reverts commit 549da29af80c9d5b64b4c1bcec40b9c81f471a4f and fixes the problem without breaking text selection in front of background images. To reproduce, create a large XShape, put it to the background, set wrap style to 'through', then add some text, including a hyperlink. Click should select text, ctrl-click should select the hyperlink, or in case the text is normal, the shape. Change-Id: I6cd62af30b58555f8b58c7db4648444fceba83dc
2012-09-10n#778148 SwEditWin::UpdatePointer: fix mouse pointer wrt. hyperlinksMiklos Vajna1-5/+4
This moves up the check introduced in commit 1223dd3bc84899d8f77c46340c46565ca74cbe1b, so that not only images are handled, but also hyperlinks. With checking early, bCntAtPos is set to True, then hyperlinks are handled properly. Change-Id: I2dad38867c492d07ef0a1ce17824c114faa5decb
2012-09-08always use multiline balloons for footnote popup quickhelp windowsAndras Timar1-0/+1
Change-Id: I8536c451af9df89277f8698929c5a596a87863ae
2012-09-03Improve tracking of auto-complete states.Tomaž Vajngerl1-45/+76
Change-Id: I4fc1af070b684ffbd0a85e18caa600bb42449f1b
2012-09-02Improved usage of the auto-complete tree structure.Nico Weyand1-20/+106
Auto-complete lookup structure remembers as-you-type the character position in a word. Currently the whole word was always looked up which was not necessary. This patch improves this. Change-Id: I7dced25707979377ae3f696a5987956d2308aeec
2012-09-02expand ACT_KONTEXT and MV_KONTEXT macros, rename kontext to contextIvan Timofeev1-5/+5
Change-Id: I7783e60cc048dfbd99976881afca317ad1326d66
2012-09-01Remove SwEditWin::ShowHeaderFooterSeparatorJulien Nabet1-13/+0
Change-Id: Ibbe784ee205bae0854dabe8844c53c9d72382884
2012-08-30n#777337 SwEditWin::UpdatePointer: fix mouse pointer wrt. background imagesMiklos Vajna1-1/+4
When the image is in the background, just show the normal text cursor, since we're able to select text as well in that situation. Change-Id: I4b4303834245e402d40567cff4a2bf53a0a13e5e
2012-08-27Headers/Footers: don't create temporary parts of document (perf problems)Cédric Bosdonnat1-53/+22
Clicking on an empty header/footer only displays the separator as creating empty header/footer could cause important layout recomputing on long documents. Change-Id: I800c5dd27744772833dee0da4269e7591bd0a10b
2012-08-27Remove remaining checks for HTMLMODE_SOME_ABS_POSHarri Pitkänen1-2/+1
This HTML mode is never disabled for any HTML export options. Thus it is not necessary to check for it. Completes the cleanup started in commit feeb57e0a63cdcd81898050d059e7933f62c5292 Change-Id: I3ea27ea52cdc355f19d0d2fb33ac92262df5d13f Reviewed-on: https://gerrit.libreoffice.org/488 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-08-24SwPageBreakWin: memory leakIvan Timofeev1-0/+1
Change-Id: Ibb543b8da8c89c7fa3799fada03c787dabe2b3cb
2012-08-23SwHeaderFooterWin: memory leakIvan Timofeev1-0/+1
Change-Id: Ie8322b93745c48970766c2033a23cca2c710a516