Age | Commit message (Collapse) | Author | Files | Lines |
|
This patch solve an issue on .doc import (on paragraph numbering).
It was created from the code found in SwDoc::DelNumRules.
To see the problem you can download simple test document :
wget ftp://craoc.fr/{a,b,c,d}.{doc,png}
Each document contain a paragraph "Test test test2" using Normal/default
style (this paragraph is imported correctly) and a "Test test test1"
using nouveau_style paragraph style.
In a.doc no direct paragraph formating are apply to the test1 paragraph.
a.doc is imported correctly.
To create b.doc, in Microsoft Office Word I opened a.doc, put my cursor
in front of the first charactère of the test1 paragraph (T) and push
"backspace".
The result is that it apply some direct paragraph formating on test1 :
* disable paragraph numbering
* apply some indent
To create c.doc I did on b.doc the same things I did to a.doc to create
b.doc.
c.doc direct paragraph formating on test1 :
* disable paragraph numbering
* apply some (other) indent
To create d.doc I did on c.doc the same things I did to a.doc to create
b.doc.
d.doc direct paragraph formating on test1 :
* disable paragraph numbering
Without this patch, when importing {b,c,d}.doc in Writer :
The "disable paragraph numbering" direct formating isn't correctly
apply and test1 remain a numbered paragraph (even if the "dot" in front
of the paragraph is removed).
The indent are not correctly apply.
With this patch {a,b,c,d}.doc are correctly imported.
It also reset the left indent of paragraph when the numbering style is
remove.
Change-Id: If0568f341b82c2e8354f1728e5fc6f1ab310ea51
Reviewed-on: https://gerrit.libreoffice.org/2046
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
|
|
Replaced String with OUString in mediawindow.cxx, basdoc.cxx,
basdoc.hxx and bastype3.cxx. In other files I only replaced,
what was necessary for the changes in basdoc to work.
Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4
Reviewed-on: https://gerrit.libreoffice.org/2554
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
|
|
Change-Id: I80496eab6f1bbdcbae74ddac946a95ca2c34b45f
|
|
Change-Id: Ib891a4338a80939b4f6212b1b4f6ae0abfea36fb
|
|
Change-Id: I1b843ee1921bad3607e62f7e61b085a33cd84aed
|
|
Change-Id: I81c62dd3f6319d6ca9c0da518ca07391a80179da
|
|
Change-Id: Ib6684fe00e063e150af30477fd704d9b3f029282
|
|
This reverts a part of 51cfbf0cfaec395a99a00f2c20fcba96de9a4427, that is
no longer needed, but causes incorrect drawing objects position.
The problem was that a non-zero position doesn't mean the layout in a
later iteration doesn't change the position, but the referred commit
didn't allow later iterations to fine-tune the position.
Change-Id: Id91a4c6952d1b58e0c5bc0b1a60991a284c29ddc
|
|
Change-Id: I9704b5becf6f0003233be2b3aa78b4b21a91fae7
|
|
weed out assumption that widgets are direct children of Dialogs
Change-Id: Ib2cf0c8862bd5e82b13380634ed82ca7fcc746b8
|
|
Change-Id: Ifc9b31cad9e9935c4873c2785f203bd07d1f118e
|
|
Change-Id: I0f6a34a459c1492a69afa3ef6bcbaa8ed7639a22
|
|
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
|
|
We don't need to check if aNextPostIt != aVisiblePostItList.end()
again because we only can enter the enclosing if-statement when
aNextPostIt != aVisiblePostItList.end()
Change-Id: I853ed465e957bd26dae8312d2ce717ea1ca0b4e8
Reviewed-on: https://gerrit.libreoffice.org/2453
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
|
|
When importing table style from docx, ignore sz tag when not inside
a tblStylePr element.
I did not find any reason for this in WordProcessingML documentation,
but Office seems to be doing so.
This change includes the unit test.
Change-Id: I2a6c27e458e02eb6cd39defe65a415792adc6393
|
|
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
|
|
Change-Id: I08b9bafa91c5bc7b7b6ca601ab91607b3143d590
|
|
Change-Id: Id861eab66c04cb5547e75959cab8102d5c18f647
|
|
Change-Id: I2dda82b675ebdd434656332d328b02ee3fc04528
|
|
the service already existed, it just needed an IDL file.
Change-Id: Id8f33183d9332f9defd855b3a3c7413fde24a61b
|
|
Added a new "mode" for the CommandWheelData, COMMAND_WHEEL_ZOOM_SCALE, where
the "delta" is the scale percentage to multiply the curent zoom factor
with. Implement in Writer and Calc.
But actually, I am more and more startng to think that live scaling of the
document view during the pinch/spread gesture will never perform fast
enough. Need to go back to the (simple) trick to just scale the BitmapView,
and do the actual LO re-zoom only when the gesture finishes. But in order for
that to look nicer, need to get rid of the LO UI element clutter around the
document, scrollbars, buttons etc. Plus of course need to make sure the LO
zooming happens around the gesture center position.
Change-Id: I20dfcb4c2a97aacbf7e5b6ea5c24816b237fe687
|
|
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml
Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
|
|
|
|
Change-Id: I350aa56bd27ef55a44d5a7140e78fa36b350b302
Reviewed-on: https://gerrit.libreoffice.org/2530
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I4040baa1a0202426df80a0ea94abde55e2b6ca65
|
|
Change-Id: Idf32727e40605ab00c0423f57dbbcd744e898f7c
|
|
FDO:60724
Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
The calls to upper_bound in SwDoc::FldsToExpand and SwDoc::FldsToCalc
unfortunately compare the pointers and not the values pointed to,
which causes all sorts of trouble around non-updated fields.
(regression from 2815396a1813cb3956c5aba066de49a7f34bc657)
Change-Id: I48817247719671a16821fcb851b17b628c960a66
|
|
Change-Id: I278eeb5c61a88cc96d59adb4d9b722d4c91abd3d
|
|
Word typically uses the Symbol font to describe bullet characters
instead of using a sane Unicode value, the previous can only be handled
if we parse the custom font set for the list.
Change-Id: I1491f07c40953949e381a035c1596c207cdc4c35
|
|
Change-Id: I57c01a8ab7ba158c160dce977e3e0e54e5b67f23
|
|
Change-Id: I3ef372b07f2bacc2b9bbbb034e3d61b9cc8a3677
Reviewed-on: https://gerrit.libreoffice.org/2486
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
According to the header file ww8struc.hxx the fHidden member is at bit 1
(cherry picked from commit a428571aeecd1acee1b2d5a80cd1d9978f25aeb7)
|
|
Change-Id: I652653ae8a99b8486e893c65b6c82b6ea6e4faec
|
|
Change-Id: I130bfbeaf8723f0f9ee38051c8acf32cb7f5ba85
|
|
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
|
|
Change-Id: I23fca674e2436b09eeea3337b4d3eeb7a33ccf09
|
|
orientation is the *second* argument, not the first,
which may be why this was never implemented, because
setting BOTTOM "didn't work".
Change-Id: Ief9b7f3ef7f696d38a3da73f9e38fe30a2d6c855
|
|
Change-Id: Iada517a5addaeacbc83f46e55773ae373098c95e
|
|
I don't see voice input commands being generated anywhere. Nobody seems to
know what this code has been used for.
Change-Id: I4e4221dd4dff76086d0268be286c3605e669bae7
Reviewed-on: https://gerrit.libreoffice.org/2452
Reviewed-by: Niko Rönkkö <ronkko@iki.fi>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I5f58b558b15f7d11b75554195e10a258d027bcfc
|
|
There is a STL assertion in deleteMarks because the ReleaseDoc call will
recursively call into deleteMark again and delete marks that are in the
vector vMarksToDelete up the stack.
Change-Id: I9139b174f8a518a551a3ca8520396202c306abcf
|
|
Change-Id: Iafef1c2ca2ca072bd604946fbe19b6a24e323512
|
|
Change-Id: I78955b1a7aba864e83c5c5869f389809be0e76e0
|
|
Change-Id: I0569586cf558d5ab487da4cf8ede24507ec84035
|
|
|
|
Change-Id: I595907d345c0438858e53ca76fbb2ae7d79743e6
|
|
Regression from 50cb1667020494906afaacb68d4163d1eda527cf.
Change-Id: Ie04d5ad37555ed4cfeb34ccb8dc021675fbd25ea
|
|
This check was added due to random failures (where it failed if the
shape was completely missing, while the test wanted to check a property
of the shape), but it shoult no longer be necessary since
2ed931303b10386153a1337fa15b225aabd40cb4
Change-Id: Ia5665b4f292cee09eab52b76e53c34a44d545896
|
|
Change-Id: I3b8fe209a96e5119541e09cb5dbda8a2c6926b40
|