summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2012-05-14avoid recursion that can mess up DND setup (fdo#41996)Luboš Luňák1-14/+31
The way too smart ctor for the DND handler started drag immediately, causing a race condition that could recurse to setting a handler again before the first one was actually set, thus immediately again causing the DND to be stopped, and then possibly later again started, depending on how the race condition turned out. Use delayed initialization to avoid this. Change-Id: I528eddbdc7c52a19675997e4c866506c662cff19 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-03-16Resolves: fdo#46728 reference count the overlay managersCaolán McNamara3-6/+9
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-02-20sd::toolpanel::ScrollPanel::~ScrollPanel: bogus static_castMichael Stahl1-1/+1
Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-02-20AccessibleTreeNode: fix headless crashMichael Stahl1-0/+6
On closing a document in headless mode, the accessibility::AccessibleTreeNode::WindowEventListener will access a deleted mrTreeNode member and crash; don't do anything in the listener if the AccessibleTreeNode has been disposed. #0 0x0000000000000000 in ?? () #1 0x00007f99842d6887 in accessibility::AccessibleTreeNode::UpdateStateSet (this=0x27a99f80) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:285 #2 0x00007f99842d803e in accessibility::AccessibleTreeNode::WindowEventListener (this=0x27a99f80, pEvent=0x7f997fd64f40) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:694 #3 0x00007f99842d7f3d in accessibility::AccessibleTreeNode::LinkStubWindowEventListener (pThis=0x27a99f80, pCaller=0x7f997fd64f40) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:670 #4 0x00007f99b88a1442 in Link::Call (this=0x279f94e0, pCaller=0x7f997fd64f40) at solver/unxlngx6/inc/tools/link.hxx:140 #5 0x00007f99b88cdecf in VclEventListeners::Call (this=0x27a946f0, pEvent=0x7f997fd64f40) at vcl/source/app/vclevent.cxx:72 #6 0x00007f99b8d2e76e in Window::CallEventListeners (this=0x27a98280, nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5188 #7 0x00007f99b8d2e6cf in Window::ImplCallEventListeners (this=0x27a98280, nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5171 #8 0x00007f99b8d2df63 in Window::PreNotify (this=0x27a98280, rNEvt=...) at vcl/source/window/window.cxx:5037 #9 0x00007f99b8d4aa0c in ImplCallPreNotify (rEvt=...) at vcl/source/window/winproc.cxx:86 #10 0x00007f99b8d2910e in Window::ImplGrabFocus (this=0x2703d230, nFlags=0) at vcl/source/window/window.cxx:4033 #11 0x00007f99b8d3749f in Window::GrabFocus (this=0x2703d230) at vcl/source/window/window.cxx:7493 #12 0x00007f99b8d2b624 in Window::~Window (this=0x27a98280, __in_chrg=<optimized out>) at vcl/source/window/window.cxx:4493 #13 0x00007f99b88fa514 in Control::~Control (this=0x27a98280, __in_chrg=<optimized out>) at vcl/source/control/ctrl.cxx:88 #14 0x00007f99845521e4 in sd::toolpanel::ScrollPanel::~ScrollPanel (this=0x27a98280, __in_chrg=<optimized out>) at sd/source/ui/toolpanel/ScrollPanel.cxx:91 #15 0x00007f99845522e8 in sd::toolpanel::ScrollPanel::~ScrollPanel (this=0x27a98280, __in_chrg=<optimized out>) at sd/source/ui/toolpanel/ScrollPanel.cxx:112 #16 0x00007f9984565d76 in std::auto_ptr<sd::toolpanel::TreeNode>::reset (this=0x27a94970, __p=0x0) Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-02-16Fix fdo#45177 - avoid linked undo for the while.Thorsten Behrens1-6/+0
While I try to wrap head around subtleties for linked undo in Impress outline view, disable that here for the while. Better than a crash for sure. (cherry picked from commit 57e6f04066cfddfa79eb2b79cf5c45653c79eff3) Conflicts: sd/source/ui/view/outlview.cxx
2012-02-08add the "Send Feedback..." help menu itemIvan Timofeev2-2/+4
Signed-off-by: Thorsten Behrens <tbehrens@suse.com> Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com> Signed-off-by: Michael Meeks <MMeeks@suse.com>
2012-02-08n#735533: Donot set duplicate master slide names.Muthu Subramanian1-4/+11
Signed-off-by: David Tardon <dtardon@redhat.com>
2012-01-24fdo#43705: fix incomplete updating of the page preview pane in DrawIvan Timofeev1-0/+1
This regression was introduced in f215333002882872129066828228d3343a903331. As stated in PageObjectPainter::PaintPageObject: "The page object layouter is quite volatile." The rest of usages of mpPageObjectLayouter looks sane, but who knows...
2012-01-16vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplifyMichael Meeks1-4/+4
2012-01-10Tools container rework regression fix (for fdo#41657)Thorsten Behrens1-13/+15
Don't de-reference invalid iterator (and no point in doing anything with an empty style sheet list anyway).
2012-01-06fdo#44294: overlapped controlsIvan Timofeev1-2/+2
2012-01-02Clean non English strings in the codeLior Kaplan1-4/+0
we do translation differently. (cherry picked from commit 14c0e038c9c33dc59cbf6e5ec81d36779f28b004)
2011-12-29option to export hidden slides to pdf filesPierre-André Jacquod1-1/+2
This add the checkbox hidden pages to the PDF export general tab and if checked, export also to PDF the hidden slides
2011-12-29fdo43033 do not export to PDF hidden slidesPierre-André Jacquod1-247/+250
2011-12-19impress: slide transition pane: use proper control widthIvan Timofeev1-2/+2
2011-12-17Fix assertion in PageSelector::CheckConsistency()Thorsten Behrens1-1/+1
Seems the recent merge from impress210 brought an inconsistency in slide selection - shuffle calls to make it go away.
2011-12-09fdo#39528: do not lose height of tree list box in NavigatorIvan Timofeev1-3/+4
2011-12-08Fix misc. bugs in presenter view switch screen feature: make it work.Michael Meeks4-20/+32
2011-12-08de-inline display fetch/set functions to assist in debuggingMichael Meeks2-2/+17
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen1-0/+1
2011-12-07normalize Red Hat, Inc. spellings, and bump to latest templateCaolán McNamara11-55/+44
2011-12-06Make merges of impress210 build.Thorsten Behrens1-1/+1
2011-12-06impress210: #i41995# using view contact to get bound rect for old path ↵Christian Lippka ORACLE1-2/+15
animation import # HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1301475461 -7200 # Node ID d87b5924442237c58b243d83012f655ce59c312d # Parent c6dff567a9e0ee383071e53c64e3f5a06a186015 impress210: #i41995# using view contact to get bound rect for old path animation import
2011-12-06impress210: resolve name clashOcke Janssen [oj]1-3/+3
# HG changeset patch # User Ocke Janssen [oj] <Ocke.Janssen@oracle.com> # Date 1301308341 -7200 # Node ID c6dff567a9e0ee383071e53c64e3f5a06a186015 # Parent de9c2cc66a6d7a2f16479b97b059b38090f317a0 impress210: resolve name clash
2011-12-06impress210: comment out not needed lineOcke Janssen [oj]1-2/+0
# HG changeset patch # User Ocke Janssen [oj] <Ocke.Janssen@oracle.com> # Date 1301304590 -7200 # Node ID de9c2cc66a6d7a2f16479b97b059b38090f317a0 # Parent ac21acda382420131e228c65959f33b6ef999475 impress210: comment out not needed line
2011-12-06impress210: #i117133# put new drawing layer fill and stroke styles in pool ↵Christian Lippka ORACLE1-0/+1
only for newly created documents # HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1299763312 -3600 # Node ID 6b1140cdac81a77836e5be80033f328a0956c94a # Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
2011-12-06impress210: #i41995# fixed import of path animation from sxi filesChristian Lippka ORACLE4-1/+40
# HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1299691949 -3600 # Node ID 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa # Parent 0b9b11216b0d3401f8824542dd5f2794eb141035 impress210: #i41995# fixed import of path animation from sxi files
2011-12-06impress210: #i50899# clean up fill attributes if fill style changesChristian Lippka ORACLE2-3/+21
# HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1299270680 -3600 # Node ID 69091b8fc77c9951fcdc52b800a37a92dc70bf84 # Parent 20c5c9384888da33596d864251881e6e46bdd339 impress210: #i50899# clean up fill attributes if fill style changes
2011-12-06impress210: check readonlyOcke Janssen [oj]2-0/+20
# HG changeset patch # User Ocke Janssen [oj] <Ocke.Janssen@oracle.com> # Date 1299656309 -3600 # Node ID de61efa884c2a12ae9e88e9919c297b1b9676443 # Parent c65bb4f46738b43bd506f1a75b634c6bd6fb6bfe impress210: chekc readonly
2011-12-06impress210: #i106378# use datetime to get current dateOcke.Janssen@oracle.com1-5/+4
# HG changeset patch # User Ocke.Janssen@oracle.com # Date 1297761051 -3600 # Node ID 3df655ccd7e3966c5c22df761981dde35b5e0059 # Parent 227bb8fe599b58e849c1f19f2233d2c1b0b767ad impress210: #i106378# use datetime to get current date
2011-12-06impress210: #i116846# added missing commits from cws impressdefaults1Christian Lippka ORACLE1-1/+1
# HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1297098330 -3600 # Node ID 499a3c7022ddd6bf9b2771a5f2c69230ea1b9d48 # Parent e7f337a6055814068bdc823306bc3a3f9cac48e5 impress210: #i116846# added missing commits from cws impressdefaults1
2011-12-06impress210: #i116846# adding uncommited changes from cws impressdefautls1Christian Lippka ORACLE1-3/+3
# HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1297097627 -3600 # Node ID e7f337a6055814068bdc823306bc3a3f9cac48e5 # Parent 80a255ef3468baa8b249e02aa760b0da463e1d26 impress210: #i116846# adding uncommited changes from cws impressdefautls1
2011-12-06impressdefaults1: #i115996# change default bullet symbolChristian Lippka ORACLE1-8/+9
#i115996# change default bullet symbol order from 'Oo-' in 'O-O-O' inside text objects # HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1292243696 -3600 # Node ID 80a255ef3468baa8b249e02aa760b0da463e1d26 # Parent 055aad264da0cf9598fd1b7aafbd3e144c9b8ce2 impressdefaults1: #i115996# change default bullet symbol order from 'Oo-' in 'O-O-O' inside text objects
2011-12-06impress210: #i105310# set tooltip for items and some refactoringOcke.Janssen@oracle.com10-18/+18
# HG changeset patch # User Ocke.Janssen@oracle.com # Date 1297164555 -3600 # Node ID 902597eed5414555107034f62583c4ccc2cdfd4b # Parent 2f0f385e8b25938777bb9fed6a86a2ff43e0b7cd impress210: #i105310# set tooltip for items and some refactoring
2011-12-06refactor media embedding completely:Michael Stahl1-4/+4
Do the tempfile handling in SdrMediaObj, not in the window; this has the advantage that it works even in the presence of clipboard documents without SfxBaseModels and thus without storage (sc, sw). The SdrMediaObj instances share ownership of a temp file.
2011-12-05Remove Large Handles optionStefan Knorr (astron)15-127/+43
This patch removes the option Large Handles everywhere and makes LibO use the larger 9px handles always.
2011-12-05aw084: #i112978# use GetAllMarkedBoundRect instead of GetAllMarkedRect to ↵Armin Le Grand2-2/+6
get fat line support # HG changeset patch # User Armin Le Grand <armin.le.grand@oracle.com> # Date 1300116633 -3600 # Node ID 9d821e77ed393c984738cf3e829a8c94a681828f # Parent 20c5c9384888da33596d864251881e6e46bdd339 aw084: #i112978# use GetAllMarkedBoundRect instead of GetAllMarkedRect to get fat line support
2011-12-03actually play embedded media:Michael Stahl1-4/+4
In order to do this, the media is written to a temp file by avmedia::MediaWindowBaseImpl. This requires some rather ugly hacks to transport the Storage that contains the media to the avmedia stuff, including adding a XModel reference to avmedia::MediaItem.
2011-12-03add avmedia::EmbedMediaMichael Stahl3-6/+21
This new function is used by sc,sd,sw to embed media in the document storage.
2011-12-03refactor SdrModel::GetDocumentStreamMichael Stahl3-84/+0
Remove 3 ~identical implementations of GetDocumentStream and the associated struct SdrDocumentStreamInfo.
2011-12-03MediaWindow::executeMediaURLDialog: add link buttonMichael Stahl1-1/+3
2011-12-03sfx2::FileDialogHelper: refactor construction:Michael Stahl3-4/+11
There are currently 2 different ways to specify what kind of file dialog should be created: the nDialogType and nFlags ctor parameters. Simplify that by using the nDialogType for the API specified variety, and the nFlags only for options that cannot be specified by the API. This allows to get rid of 3 constructors, and the following constants: WB_OPEN, WB_SAVEAS, WB_PASSWORD, SFXWB_PASSWORD, SFXWB_SHOWSTYLES
2011-12-03sfx2::FileDialogHelper ignores WB_3DLOOK, WB_STDMODALMichael Stahl2-2/+2
2011-12-03sfx2::FileDialogHelper: remove use of WB_OPENMichael Stahl3-3/+4
This can really be derived from the dialog type, don't duplicate it.
2011-12-01typo fix: explicitely -> explicitlyLior Kaplan1-2/+2
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke10-18/+19
2011-11-30renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptionsEike Rathke1-1/+1
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-29Fix previous merges to build.Thorsten Behrens1-2/+2
2011-11-29slidesorter1: #i116412# Temporarily turning off slide tracking to avoid ↵mst3-1/+46
unwanted repositioning of visible area. * found as LGPLv3-only fix at svn rev 1172132 (http://svn.apache.org/viewvc?view=revision&revision=1172132)
2011-11-29slidesorter1: #i116014# Outliner holds ViewShell as weak_ptr.mst4-176/+213
* found as LGPLv3-only fix at svn rev 1172131 (http://svn.apache.org/viewvc?view=revision&revision=1172131)