Age | Commit message (Collapse) | Author |
|
Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de
Reviewed-on: https://gerrit.libreoffice.org/1784
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
|
|
Change-Id: I89501f267fd4256eb3b1316ef41a0f9b0786e0f0
|
|
This was about importing RTF tables where different rows had different
number of cells. In the meantime, a better implementation was added for
DOCX, just using that for RTF fixes the import of this bugdoc.
Also fixes a crasher while loading ooo43817-1.rtf.
Change-Id: I0970275272eca7f33a442bd6acc97a4f8d9dabeb
|
|
Change-Id: I07f0f47fcbd3d463d7831820cde338d8d59d9b68
|
|
result of incorrect merges
Change-Id: I43f5ef2afbd5390f937f1220613ffa7d1f284634
|
|
Change-Id: Id94a4322428e27010757ef36b166f8b01697778f
|
|
What happens here is that the xCursor->goLeft( 1, true ) selects the
entire inserted table, which is then deleted. That causes annoyances,
such as an assertion from ~SwIndexReg because as collateral damage the
SwTxtNode that SwReader::Read's pUndoPam points to is also deleted, as
well as missing tables in the document.
DomainMapper_Impl::RemoveLastParagraph() can avoid this by not using
setString() but instead disposing the paragraph, like it already does in
other cases. But don't do it for new (loaded) documents, because it may
kill flys in that case, which i strangely couldn't reproduce when
pasting as RTF.
Change-Id: I87302b8916e39ca42bc4fedfee40ac38fadd0939
|
|
Regression from 8063e36115a11ddf3db05928db9287947beee74d.
|
|
In case the right margin is larger then the tab position (e.g. the right
margin of 7cm, there is a tab position at 16cm and right margin begins
at 9cm), we have a conflicting case. In Word, the tab has priority, so
in this conflicting case, the text can be outside the specified margin.
In Writer, the right margin has priority. Add a compat flag to let
the tab have priority in Writer as well for Word formats.
This is similar to TabOverflow, but that was only applied to left tabs
and only in case there were no characters after the tabs in the
paragraph.
|
|
Change-Id: Ic896ea234c3ea7bfaa94ab2441471926beae427d
|
|
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
|
|
These were ignored previously, and in case they contained some margins,
the resulting table was potentially smaller than necessary.
|
|
At the end of the header/footer import, the last empty paragraph was
removed. In case the last but one paragraph was empty, but had character
properties (e.g. a custom font size), the removal changed these, and
used the character properties of the last paragraph instead.
Simply dispose the last paragraph, this way character properties are
always kept.
|
|
The test just loads 4 documents and has been disabled for months.
Also remove the test documents because they are duplicates and are
also stored in writerfilter/qa/documents/.
Change-Id: I9f51240483d800bc104c3842b8158dec90b3e69b
|
|
OOXML spec says:
"[szCs] specifies the font size which shall be applied to all
complex script characters in the contents of this run when displayed"
Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287
Reviewed-on: https://gerrit.libreoffice.org/1454
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
|
|
Change-Id: I35bf580df157dee429d9dca193945ea95616d678
|
|
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca
|
|
Change-Id: Ica066dcdff68c50c10378752be9c3497104b2a0b
|
|
Previously there was only a compile-time switch to dump contents of RTF
paste. Remove this, and add two environment variables instead:
- SW_DEBUG_RTF_PASTE_TO: to dump what would be pasted
- SW_DEBUG_RTF_PASTE_FROM: to paste contents of a file, instead of the
real clipboard
Change-Id: I65f89417ec1cf781ace41df7916791f2199fe104
|
|
|
|
|
|
|
|
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.
Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
|
|
|
|
The problem was that \sbknone (being a section property) triggered
creating a section, but the document doesn't have multiple sections.
Make sure we don't send section properties as long as no \sect control
words present.
|
|
The RTF spec says control words are case sensitive, and page 252 of the
v1.9.1 spec defines \mlimloc, but earlier page 118 and 125 also defines
\mlimLoc, so let's accept both.
|
|
Change-Id: I4e18ce06db42e13479809ba8eec70033943271cf
|
|
The idea is to get rid of GUIBASE and GUI checks as much as possible.
GUIBASE=aqua <=> OS=MACOSX
GUIBASE=WIN <=> OS=WNT
GUIBASE=cocoatouch <=> OS=IOS
GUIBASE=android <=> OS=ANDROID
Don't set GUIBASE to these values any more in configure.ac
either.
GUIBASE_FOR_BUILD is not used anywhere.
Conflicts:
configure.ac
postprocess/packcomponents/makefile.mk
postprocess/packregistry/makefile.mk
Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
|
|
Previously textframes inside groupshapes were tried to be imported as
TextFrames, but then their addition to a GroupShape failed, so the text
simply ended up as a normal paragraph. Fix this by importing members of
groupshapes as drawinglayer objects, just like how the WW8 import does.
Also fix two testcases, which implicitely tested that the groupshape VML
element is ignored on import.
Change-Id: I1a9fba8a5fd532203a825e55b1d5996277ea12fa
|
|
|
|
God made non-breaking hyphen
and saw that it was gone
he told us to fix it as soon as hell
we promised that we would
Change-Id: I1d2bb8f7542f5ffec36fafdbdb07ace1cb62fb4a
Signed-off-by: Lennard <Wasserthal@nefkom.net>
Reviewed-on: https://gerrit.libreoffice.org/1279
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
|
|
Since the PCH is now explicitly included using the command line, it is no
longer necessary to have include guards or #ifdefs for enabling it.
Change-Id: Ie64fdc75129af7097213d86f2daec461993fb6f4
|
|
MSVC uses full path with -FI, Clang uses full path to .pch file.
Change-Id: I403a8a919a8b672d1e98c2ea1fee50097e535351
|
|
Change-Id: If5425c2727b94a61cacb64ac65c871ee28b371e1
|
|
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
|
|
It turns out on that case the column break should be parsed as a page
break.
Change-Id: I5dddc8f334fab35bc2ff03fd8127989ab6a601f3
|
|
Change-Id: If4b6478ab67211e00c52fb9b17189f6f054b3482
|
|
Change-Id: I89b08c4125495d8d1b06ca9509e31dd5222dee22
|
|
Also try to avoid copy/delete thrash of RTFParserState.
|
|
Change-Id: Ic4c805079529f13b6cabe78f0c7d33b76c0b7ce6
|
|
Regression from commit d2d77fd86e6cb7341e113557e2cfe3d7948759bd
Change-Id: I7accc5c383de3fa53c12527766c3fc155bfa9863
|
|
Change-Id: I3c0417c1d5ff6fa515f3c494d4a5b4d545836988
|
|
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
|
|
Change-Id: I711bc4d6b7100a1b089ed5bfeec7ff14f2727138
|
|
Change-Id: I460f75d03a0af53da7523e290136126e95e01192
|
|
Change-Id: Ibfeaadd5b48fd48c2c1f20de5dc272d9a326bfc4
|
|
The core of this change is: so far the continous section break at the
end of the document was sent as a normal section break. This was
introduced in commit 892d33c8d5033b4f8f7889bf91d257f55adf0e1f, probably
as a workaround (sadly it's not documented and I no longer remember).
Don't do this, since it causes additional page breaks during import.
Instead, fix properly whatever was broken after getting rid of this
workaround.
Change-Id: I28c372d539c150fe21ff9db31209f9935a5e9063
|
|
Change-Id: Ie0b12f416da2dda95fdb4e46482a50fee0245ffe
|
|
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
|