API remove image : change document state #i74651#

Now when an image is removed from a Calc document using the API it changes the
modified state of the document.

Change-Id: I5dad550ec78a12227f3fb04fd934c7d0c5066a9f
Simplify KDE4 yielding.

QAbstractEventDispatcher::processEvents always processes all
pending events, so we can ignore the the second Yield parameter
(bHandleAllCurrentEvents).

Change-Id: I49a70ed13d0215b89f48eed93d78eef2f083dc0d
Implement Qt single event processing.

This implements the expected single event processing in the
processYield function. It uses an eventFilter, which exits the
processing loop after the first event.

Currently the code results in refresh problems, so it's disabled.

Change-Id: I06988223990fcae08254be346f9e1fe679130371
Clarify mail merge cancel and error handling

A mail merge cancel is no error. So we actually test both booleand
in the loop and don't set cancel on error.

Change-Id: Icb7722c3758c1db984fa683a6b6a9eb9120ff925
Use exceptions for correct mail error handling

If we're missing the eMail column we're to deep inside the code
for a simple return on error. So this uses a try .. catch block
and a private exception to cleanup after an error.

Change-Id: Ice042f9cab0037e7aac0bd6940ae9b863ed849d2
Drop GtkScrolledWindow from GtkTextView

GtkTextView is mapped to VclMultiLineEdit, which manages its own
scrolling, so we can drop all GtkScrolledWindow references.

Change-Id: I046a23b22e88d34997dd7b6e7e822fd89e2685be
sw/docx export: fix handling of document with header and section(s)

This fix 2 issues:
  * header loss
  * text after section moved to a new page

Change-Id: I0692100513cc21e75203a8befc21804885f66a76
KDE4: Drop Qt 4.9 support

I don't think there will ever be any 4.9 release, so drop all the
unused code.

Change-Id: I4b72de96e6064240582cd83d4e45547096a2efb0
KDE4: fix boolean prototypes in signal connections

Fix missed connect function prototypes from the sal_Bool -> bool
conversation of the vcl module.

Change-Id: I33d930e260940bc9f300b83b14355b2dd7903ca7
KDE4: Freeze yield for native file picker dialogs

As it seems to be the only way to poll the clipboard, reintroduce

 m_pApplication->clipboard()->setProperty(
    "useEventLoopWhenWaiting", true );

To prevent crashes disable Yielding while the dialog is open.

This keeps the FP dialogs kind of usable, but feels like a horrible
workaround.

Change-Id: I10c422f1c0d7448d4a7ad28e57a32ed2cb42f48f
KDE4: Report correct check and radio item sizes

Use the correct sizs from the current style.

Change-Id: I7e163bdc8d467baf2d6e3d0d2bc3e1da7558cf42
KDE4: try hard to paint any rect for menus

Current Oxygen theme doesn't draw rects for menus, but uses shaped
and "colored" background images. As a workaround paint window and
menu rects for menus - currently any painted rect is better then
no rect at all.

Change-Id: I4d553ea58cac2729826f8395cb2597fa200187b6
Git: ignore autogen, doxygen and gdb config files

Adds some additional files to .gitignore.

Change-Id: Ia5af298a91919fe00392282c0e5bb88fa2811a52
KDE4: evaluate frameWidth in the Qt thread

QWidget::ensurePolished() uses events, which need to be processed in
the Qt thread. This happens when opening a document via Java UNO,
and no LO instance is already running. The Java UNO call is processed
in the main / Qt thread while loading happens in a second thread.

Actually getNativeControlRegion should not involve any drawing, but
KDE4 needs it to get the correct frame width.

Change-Id: I344d5089d958963c48a9a8a84bfa9fe8f092b75a