Age | Commit message (Collapse) | Author |
|
Enhanced EditEngine to be able to hold more than 64k paragraphs. Used
also in RTF import Calc and Writer, so that could benefit as well.
* changed all EditEngine,Outliner,... related paragraph index/count
variables from sal_uInt16 to sal_Int32
* sal_Int32 instead of sal_uInt32 to match accessibility API
* matched some Outliner methods' paragraph parameters from sal_uLong
to sal_Int32
* containers capable to hold size_t nevertheless are limited to a
maximum of sal_Int32
* changed definition of EE_PARA_NOT_FOUND and EE_PARA_ALL to
SAL_MAX_INT32
+ added EE_PARA_MAX_COUNT and EE_TEXTPOS_MAX_COUNT to initialize
ESelection with what previously were hard coded 0xFFFF all over the
place
+ for similar reason added EE_TEXTPOS_ALL corresponding to EE_PARA_ALL
to initialize an ESelection spanning all available text like
aSel(0,0,EE_PARA_ALL,EE_TEXTPOS_ALL)
Change-Id: I62d1b9c399cd709a4f93dbac31b219a61c46ec00
Reviewed-on: https://gerrit.libreoffice.org/3838
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I298499d09ac44e0fdbbd62fc0bd07a25f1b33aa3
|
|
And use RTL_CHAR_{CR,LF} from rtl/string.h
Conflicts:
vcl/source/app/dbggui.cxx
Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a
Reviewed-on: https://gerrit.libreoffice.org/3740
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: I7c0c9158eb17cb79ffceae6770b4c513d57b3817
Reviewed-on: https://gerrit.libreoffice.org/3831
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
- instead of adjusting the OrdNum of the "nested" object the OrdNum of the "parent" is adjusted.
Found by: Yan Ji <yanji.yj at gmail dot com>
Patch by: yuanlin <yuanlin.ibm at gmail dot com>
Review by: Oliver <orw at apache dot org>
(cherry picked from commit 73f462e2162847262093c3984dc6c98919e1b3cd)
Conflicts:
sw/source/core/layout/flylay.cxx
Change-Id: I0541dc3775f81efd60a6f4baa172c5297ee9d829
|
|
Change-Id: I0c648ca1b1f3cc22244d660e032bacbdbe0f642e
|
|
There are just a handful of sdi files in sfx2 anyway so just put
sfx2/sdi on include path.
Change-Id: Ia9be889a63ba9a2f330b505613ae38158a4b7bdf
|
|
As I understand it, Point::X/Y() basically provide direct access to the
position, so they come without the usual benefits of getter/setter
methods.
Change-Id: I6d5bfd4f20ab8c7377419dcf5aac2c4ea0e9db05
|
|
Change-Id: Ia4d6a4a2b6277fee6f59fa9407f9cf868ad0f1ce
|
|
|
|
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8
|
|
Change-Id: I3791f7f513246faaeb76f9209c08008c78a38619
|
|
Instead include generated headers directly from workdir.
Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
|
|
- Mapping LO default style to Word "Normal" style for docx output used a
hard coded style name, so it broke when LO's default style was renamed
in 4.0 (plus it would never have worked for non-English languages)
- This renaming did not cater for nameclashes, leading to fdo#63603
- Similar renaming when importing doc styles did cater for nameclashes,
but had a minor bug in that
Change-Id: Id23f3021c6507b474c16e93abf43ba748606ebc7
Reviewed-on: https://gerrit.libreoffice.org/3743
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
|
|
The motivation is that if -- after fixing a crash -- the document looks
OK, then all the paperwork in the ooxmlimport isn't necessary, just drop
in the file to qa/core/data/ooxml/pass/, and we're done.
Change-Id: I2287189bd3c49c5e53489f9d89a6341685359b33
|
|
Change-Id: I4d8b1b527d5099781a36cc1265318c167205340e
|
|
|
|
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed
automatically leaving several line breaks etc. as visual noise.
|
|
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
|
|
Change-Id: I6caf18b110dd0a40f09e185c00cb238261457db3
Reviewed-on: https://gerrit.libreoffice.org/3783
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Regression from 1348288905ffa75d3634eee4392ba4660d28cdb9 (mismerge, I
guess), when header was enabled, actually empty footer was exported,
even in case footer was disabled.
Change-Id: Ied55dc2a9f0faef87689c07935a47db384d37e1a
|
|
Change-Id: If6bebe0d2dfb30c3fffd0fb284cd766e3f315b49
|
|
Norbert cherry-picked the original patch [1] without changes. However
some sentences in it where translated misleadingly. So here I am merging my
remarks/corrections to it, plus some minor changes regarding whitespaces
in front of punctuations.
[1] see https://gerrit.libreoffice.org/3788
Change-Id: If5fa033c48b2bd16fc0b83195ba4d46f5051414b
|
|
Please, only apply this patch if you are a native speaking German.
I'm not a native speaker, so a double check is really necessary and appreciated.
Thanks in advance!
Change-Id: I9493d128e124d319391aa851ae364aefeb27c512
Reviewed-on: https://gerrit.libreoffice.org/3788
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: Id9c3b7eb29c58c55c100db6da644b232ada550ee
Reviewed-on: https://gerrit.libreoffice.org/3791
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: Ib94be6370549c6a71879a5af1eb60808fba762e8
|
|
- ASCII art
- method comments without further info
- multiple blank lines
Change-Id: Iec6fac8ce28a82b2ce15a72ed7ffa5fc38d4e218
|
|
Change-Id: I3934487475df1da7fe6cf68656c4c38881d1a394
|
|
Change-Id: If17defd0a64c0b6b4e2c1faf60601199a978e2e9
|
|
Change-Id: Icc9249ec66ea10ae0ceea6b5e611cf774474c7c2
|
|
Change-Id: I2b1b29d469277998dafed41fb7c0bb33e8064a16
|
|
Change-Id: Ic78269f73b31125d7326b9aa1bfca76d7e881177
|
|
Change-Id: Ie37dbb1c0c5d01c958d168d15ec5285c36bbf28d
|
|
Change-Id: I4528725cdfe2bdd0ae071d5719d4e8e082d88e5b
|
|
Change-Id: I223cdd6d3bfddf0216453406efc32beee2489ae4
|
|
Change-Id: I04ef6f0992e6d00dd6519eb6e9bcddecbb97e8de
|
|
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.
Change-Id: I5fd5c908bc7b1feba926214863e84391b9037484
|
|
Conflicts:
sw/source/core/text/inftxt.hxx
Change-Id: I32a430c35d69308f87b7b6f1b4ef232315deed2f
|
|
Not my idea.
Change-Id: If4874d97a2035588cd65ded9f281de0c3598b7d7
|
|
The actual reason for this change is a .docx document, which has a textframe
and a modified 'text' style. The textframe in MSO has 'normal' style
(which is like our 'standard') and so the style is not written to the docx.
LO however uses 'frame contents' for the textframe, and since it was
based on 'text', it used the modified style, unlike in MSO.
But even on its own, this change seems to make sense. It's similar
to 4014d40c96b9d70796a154f0ac48cf5b685cf187, and I see no particular
reason why contents of textframes should be the same style like the main
text of the document, while footnotes, footers, headers, tables, etc.
are different.
Change-Id: Ibe7bfd6a2820cff5cf29c669fd60b575c63500b0
Reviewed-on: https://gerrit.libreoffice.org/3697
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
|
|
Change-Id: Ia888670ad7a5b51c9b6a3d05676b192456311704
|
|
* sw/source/core/unocore/unoframe.cxx
odf compatibility
Patch by: Jane Kang,<kangjane2012@gmail.com>
Found by: Yan Ji,<yanji.yj@gmail.com>
Review by: Jian Hong Cheng,<chengjh@apache.org>
(cherry picked from commit f8ecf85d889ba70b48c2b49ebd650afc0a5ab776)
Conflicts:
sw/source/core/unocore/unoframe.cxx
Change-Id: Iffbe79efd43119e78f6983e27b99ba278118555d
|
|
Be prepared to allow not only 0x8 0x1 detection for canvases, but also 0x1 0x1.
Patch by: Lei Debin
Detected by: louqle
Review by: alg(cherry picked from commit 0711fae8c3f99c53bc1cb091eb218f10f3d8b15f)
Conflicts:
sw/source/filter/ww8/ww8par.cxx
Change-Id: Ib1d8d892470261639fa46ae9955079759c0aebaa
|
|
Change-Id: Ibce96479b440dd3406cb7a46896b89834a14460f
|
|
Also factor out the w:sdt-related methods to a helper class to avoid
DomainMapper_Impl become a God object.
Change-Id: Ic1a388940bce89688e8558818f92ce9ac997609c
|
|
remember and destroy the used stream.
Found by: Chao Huang
Patch by: Chao Huang
Review by: alg
(cherry picked from commit 9914b3172fd4e3867693e5e63c8085dd66f18b5f)
Conflicts:
sw/source/filter/ww8/wrtww8.cxx
Change-Id: I5bccdd71312f32f861291fc600396dc111fc11c7
|
|
Change-Id: I5fdd0cbc70dec1119b1b6a76cb3c5805f11c11ed
|
|
Refactor Save a Copy, basing it on Export functionality.
SID_SAVEACOPY takes its parameters, and sends a SID_EXPORTDOC
request with them, using SID_SAVEACOPYITEM to differentiate
Save a Copy from regular Export.
Fix storing docx to url, by preventing finalizeFilter method,
in filterbase.cxx, from writing back to the original file's
MediaDescriptor.
Change-Id: I876dbe17e43b26a43f29e797fdb157e31889ee1e
Reviewed-on: https://gerrit.libreoffice.org/3355
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
|
|
Change-Id: Ie45cc82af0e232b7b523d30552cc14317fc479b5
|
|
Change-Id: Ia490b8eb4367e54a73fbf9d54a76cf3155eb1615
|