Age | Commit message (Collapse) | Author |
|
found by PMD
Change-Id: Ibd4a9139c626932bec56c0b1dd32b4d59c8440b1
|
|
Removed its output paramater as GetCurrentViewShell should be
used instead and added a const version.
Change-Id: Iad8b57553b6e93e3472ce8c6905d08e8d49af770
|
|
Change-Id: I32d3f99a2f090637d6891123f91093c0bcceddf4
|
|
Change-Id: I7620d71fe34b5f7bbd9bf9bf63b634d85cdb4d6c
|
|
Change-Id: I0fab5ae4335ed6016d31aa243b131899c3154388
|
|
In order to allow running them in parallel. There are already enough
tests to make it run for a couple of minutes and it's annoying to
see only once core busy with it.
I intentionally left the original file at the same name, without 1
appended, in order to avoid merge problems.
Change-Id: I097c45c34797cc68f5d1790cf31eefc96fbaf44e
|
|
by replacing it with a typedef.
Change-Id: Iaa88086e3c5195012982dd625bfd589de2e484a2
Reviewed-on: https://gerrit.libreoffice.org/11017
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
|
|
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
|
|
Change-Id: I07fedc201c51008baca3254dcc099f0182aa4c72
|
|
Change-Id: I47ea5fd6e1b4d9d5a2893112efdcd810c4c84cfb
|
|
See:
http://nabble.documentfoundation.org/Suspicious-loop-any-idea-td4119239.html
Since the code was like this since initial import (2000), if this patch proves
to be wrong then the other option could be to just don't loop and process
Mark(0) just once.
Change-Id: I41ac18604e916740dcc68bf69af37529842f774d
|
|
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I7ecf827a0713efaecb4b0eb49f9f8c06f8c59091
|
|
A usual problem with SDT is that in case it should end after the last
paragrah of a container, there is no "next" paragraph that could have
the relevant "EndSdtBefore" property. This is usually handled by closing
the SDT tag before the container is closed.
The problem here was that DocxAttributeOutput::WriteSdtBlock() did not
notify DocxSdrExport about opening the SDT, as it thought there is no
draw export in progress. This is because in case of "shape with a
TextBox", the common writeDMLAndVMLDrawing() method is not called,
instead the separate writeDMLTextFrame() and writeVMLTextFrame() methods
are invoked.
Fix the problem by adjusting these methods to writeDMLAndVMLDrawing(),
so that they also set m_bDMLAndVMLDrawingOpen to true during the TextBox
export.
Change-Id: Ie08b0b955cd2d6a645970da3d485e447abfd6495
|
|
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: Ib461b5d3702e00a9d7cef3229c44e3328c776e1d
|
|
Change-Id: Ieb984987c4a4f888a563377e0500444b12f43506
|
|
This changes the mouse click handler for input fields to the
following logic:
* If the cursor isn't already in the input field:
* On mouse over displays the POINTER_REFHAND
* A left click selects the whole text of the field and therefore
moves the cursor to the end of the field
* Same for the right click. Additionally it opens the popup menu
* If the cursor is already in the input field:
* As for normal text, the left click removes the selection and
moves the cursor to the click location.
* Right click keeps any selection and opens the popup
In contrast to normal text editing, a double click still opens
"Edit fields" dialog, instead of the word selection.
Change-Id: Ie7a50b34fe625358426d18eaec2e833f36702528
Reviewed-on: https://gerrit.libreoffice.org/10836
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Issue :
- In issue file there were two runs(first run=SDT, second run=Shape).
- These two runs were consecutive(no text/space/tab was there in between two runs).
- Due to such scenario, "SdtEndBefore" was not getting set on Shape.
- Hence at Export EndSdtBlock() was getting called from EndParagraph().
Due to this SDT was not getting end after first run.
In order to end SDT after run, EndSdtBlock() should get called from EndRun()
(as in Original file)
Implementation :
- Set "SdtEndBefore" on Shape in DomainMapper_Impl::PushShapeContext()
- Retrieved same property at export.
- Added export unit test case.
Note :
Added common functions at Import and Export with reference to
https://gerrit.libreoffice.org/#/c/10827/
Conflicts:
sw/source/filter/ww8/docxattributeoutput.cxx
Reviewed on:
https://gerrit.libreoffice.org/10912
Change-Id: I357d77cd179c83b8ae976db331ee46c8993b6cb8
|
|
The old rule was: write qFormat for everything that's not a custom
style.
The new rule: write qFormat for everything that's a custom style + have
a whitelist of non-custom, but qFormat styles.
This matches better what Word does (whitelist is from the latent style
section of an empty document, created by Word).
Change-Id: Ie7a0802e886c41b8d26ca9aa154913aa2f3ff87a
|
|
Change-Id: I0a9df00f90b63059e6446278d7a98d1cd902de4b
|
|
...similar to what has been done for svx/sdtmfitm.hxx in
6a2ea81ca1622d2c2ad55bea8ddc28167fcc2794 "Remove unused ctors" and
68969cc61adecac481ae9656978ef952f435b310 "Consistency around SdrMetricItem."
Change-Id: I3734cb14b6ed8f556af85b234968682a55ac8a4c
|
|
Change-Id: I65e4a6ad59aee21b62454b4fcdd6d6ca056cb249
|
|
Change-Id: Ib0db01179ed56f39d5e3986e7302b2bf914b06e9
|
|
apparently I removed the wrong one with 15344d0415f153ba579ad132266c47990a8c9515
with pch I don't see those problems :(
Change-Id: If4cb8b178bdd8f8d68b4921c1993642656fc75ea
|
|
Change-Id: I96861e0d31c75587892d13818f536acb1a05d24e
|
|
Change-Id: I9db0befd075089f346b504f91657a67dc01c9808
|
|
Change-Id: I42f97a12052f4a173b05173fdd2c3079c517f78e
|
|
Change-Id: I64d2b73744401baafd7dd037187ba3d7c604a535
|
|
Change-Id: I6e1b54a66d0b669ecbba4eb305c1dd8925747edd
|
|
Change-Id: I36fc0ed4f67c0af467a8dc593950a9c53a5ec53b
|
|
Change-Id: Ic3b7de3d26e91b260d775e629602758f63a40b85
|
|
Change-Id: Ie3934ebc3209b8ba0358cca5fad9883e3b8cd262
|
|
Change-Id: Ie72cb6796e3996d7050b771f7ab92e4ab5a6d72b
|
|
Change-Id: Idef182a43e7aa631aeea92870e3c51a7c2b8b7c5
|
|
Change-Id: Iccaf0cd1adbe5a2b1ff81c466ca3c81c00390c10
|
|
Change-Id: I88a34ad1d54066c30523c6493cbe5f0502adb3fb
|
|
When searching for the current field in the field list to find the
previous or next one, we check the field start and compare it with
the cursor position.
But with the new input fields, the cursor can actually be anywhere
in the field, so we actually have to search for the start position
of the input field at the cursor position.
Change-Id: I26526524eccfdbea41c6bf69a460fa64248f50ca
Reviewed-on: https://gerrit.libreoffice.org/10837
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: If996284aeea4b430cceaaf264035aa9e4ec0f2f0
Reviewed-on: https://gerrit.libreoffice.org/10835
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The new inline-editable input fields contain real content in the
node, therefore a single SwPaM::Move isn't sufficient to select
the field or move after the field.
For the input fields we can directly go to the end of the field.
Change-Id: Ic1bce415ce45e49456121b6db003ded0733e195c
Reviewed-on: https://gerrit.libreoffice.org/10834
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
if the document isn't read-only. So backspace should always work in
input fields.
Regression from 961315f0838197e71e9bd49169afe673466e5eb8.
Change-Id: I06648ab075b198ee7914e7ae60bef87e7ff94f0a
Reviewed-on: https://gerrit.libreoffice.org/10833
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
We map Word's even/odd page breaks to Writer's left/right page styles. And we cannot
just set any page style to be left/right, because that could set e.g. the default
page style as such, which would make all normal pages that way. So instead we need
to make a copy of the relevant page style, as the original page style as its follow,
copy all the properties and headers/footers, and use this copy to get the page break.
Change-Id: Id0d2568de91ac2de4afb0ba3a6eedd9cec46f878
|
|
MSWord, unlike Writer, can anchor even to a page break (i.e. after the last
paragraph). When this document was read, what happended was:
- the last paragraph was read and the current position PaM was set to point
after it
- frame was read and anchored to the PaM
- page break was read, making everything following be moved to the next page;
including whatever ended up at the PaM position
Handle this by checking for this case and inserting an extra empty paragraph
before the break. This shouldn't affect layout of the page itself anyway,
since the break should leave room for it (and MSWord shows a page break
there if control characters are enabled, so there is room).
Change-Id: Ia2a13bf5cf1c959b5aa228254365019a00a22679
|
|
Change-Id: Iab2c78af7dcf967ccdf5016266324c805856af0b
|
|
Steps to reproduce:
1) Writer. Insert -> Hyperlink. Leave the dialog open.
2) Click into the writer document and type a link "http://google.de/", this
will get converted to a hyperlink.
3) Now right-click on the hyperlink and choose "Edit Hyperlink" from the
context menu. The Hyperlink dialog will close.
The Hyperlink dialog should stay open and not close, if you want to
edit the hyperlink.
This commit fixes this.
Change-Id: I125c12733790632008cad1a9fc2d13bf16487381
|
|
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
|
|
wrongly deleted in
0842a2707cfca15c0af5eee6ed9d76547a01a7f9
Change-Id: Iafccce9a503c48e483d492a2d4bdee9a648f32c7
|
|
Change-Id: I810e2b963f02c67d10765444cae2b5ec846af746
|
|
Change-Id: Iae7dd3944d1d01020c8a3ab1ac4bb2e94e01541e
|
|
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
|
|
There's still help part to change
See https://bugs.freedesktop.org/show_bug.cgi?id=45588#c9
Change-Id: Ieb69ebffc680b0352ed481524a95a78bca50ac83
|