Age | Commit message (Collapse) | Author |
|
convert places using compareToAscii that should be using equalsAscii
Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
|
|
<vmiklos> sberg: the comment says that it was 2, so unless you're interested in
debugging it, i would just lower the barrier (423 -> 369)
Change-Id: I0269eab4eee594c4d7aad1c710ed389443208bc4
|
|
Change-Id: I521462315ebe8b69b65e05df98042e7a33d60dbb
|
|
- There is pagebreak in file and footer has nested table.
- While exporting LO write section break instead of PAGE_BREAK.
- Due to this it was writing two sections in file and same footer
for both sections.
- This was causing wrong table depth values due to this it was crashing
while writing table.
- So in MSWordExportBase::OutputSectionBreaks if next node has
RES_BREAK(page break) then bNewPageDesc value should be false.
Change-Id: I2ccc4e48a26253716253a7280a244f06e172770a
Reviewed-on: https://gerrit.libreoffice.org/9568
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
This required some changes to the framework:
* Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but
once per CppunitTest invocation in a new vclbootstrapprotector (similarly to
the exisiting unobootstrapprotector). CppunitTests that need VCL now need to
declare gb_CppunitTest_use_vcl.
* For things to work properly, the UNO component context needs to be disposed
from within DeInitVCL (cf. Desktop's Application::DeInit called from
DeInitVCL). The easiest solution was to introduce an
Application::setDeInitHook (where the hook is called from DeInitVCL)
specifically for vclbootstrapprotector to call.
* PythonTests don't (yet) call DeInitVCL; they still hook into
BootstrapFixture's original test_init functionality (to call InitVCL), and do
not make use of the vclbootstrapprotector.
Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
|
|
Change-Id: I1dbd256812cccae1e6ed0ad8bb34ce427e5e5be8
|
|
Change-Id: I45929aae52fa106b5f5c0199f8ce8b60c0ac5438
|
|
Change-Id: I8ad19f77c199bac6890f2917b16588579ea12eae
|
|
Word will reject Shift-JIS following \loch, but apparently OOo could read
and (worse) write such documents, so accept Shift-JIS regardless of run
charset type.
Change-Id: Ib181956e9f218548a52037dd76fa1d3ecdc006bd
|
|
This is a variable-length encoding, and the second byte may be a RTF
syntax character like \, {, }.
Change-Id: I813ccafda18388af3bf05eb7ce9a0253c627b1c4
|
|
I forgot some lines while rebasing and had to fix this here.
Change-Id: I6a29497aa779d2b104db685161d89ae7c27805b3
|
|
Change-Id: Ia33dff51cdb58030ec11ec499ee5c518fba31641
|
|
To have them all in the same place.
Change-Id: I8fd0f7fa0c88b5b17596998810d505deb14a8c06
|
|
To the new class DocumentDrawModelManager.
All moved methods and members have the same in thew new class.
Change-Id: I89ad0e0c4a42885d5810e834983ea8e8e6c0a2d2
|
|
In places other than sw/core/
Change-Id: Ie1b67f58cf7777240d9db6a867cd33a7a1cbbcaf
|
|
Which returns the DocumentSettingManager as its interface.
Change-Id: I7d2c2d28a28fbcf19176ab5dda6940ce6d9b17cb
|
|
Compatability -> Compatibility
Change-Id: Ia80e6db589a74d2aa8d1276195bc30ddb8d251fd
|
|
Because it is not needed there anymore in that class.
I added it as an include in all files that need it.
Change-Id: I3eb2e1da9d153017968b286e1a0250f145ca7cfe
|
|
Because it is not needed there anymore with IDocumentSettingManager.
Change-Id: Iad5e0a03f2628c9d26698d23e691b3e6228eee0b
|
|
And moved all calls to those methods to GetDocumentSettingManager().
Change-Id: I9b6cc8c3aa9b57bbc0c39f39499dfb4f5f254ad9
|
|
And corresponding getter and setter which had to be made part of
IDocumentSettingAccess so their symbols get correclty exported.
Change-Id: Ia33244767110364174b115eaca5d733462be61ca
|
|
Moved mn32DummyCompatabilityOptions1 from SwDoc to DocumentSettingManager
and moved a comment from SwDoc to it.
Change-Id: I4abd5cd9596d23dc3ac12460ee9b38345d0bf0a7
|
|
Also overloaded SwDoc::getDocumentDeviceAccess with its const
version.
Change-Id: I3272be3ee067aa2e0174663ede3c98190ecf2b09
|
|
Moved all SwDoc::getPrintData and SwDoc::setPrintData calls to their
appropriate interface methods (SwDoc::getIDocumentDeviceAccess::").
Change-Id: I5671b365238abae6d94f125fb7a99481d81392f9
|
|
Moved all SwDoc::getJobSetup and SwDoc::setJobSetup calls to their
appropriate interface methods (SwDoc::getIDocumentDeviceAccess::").
Change-Id: I155a0341363ec42eaad3290d2e6feb8c7d73bbb1
|
|
Moved all SwDoc::getReferenceDevice and SwDoc::setReferenceDevice calls to their
appropriate interface methods (SwDoc::getIDocumentDeviceAccess::").
Change-Id: I2a1b488500fa4f0bfbb7ebadccde2c94b70efd85
|
|
Nothing else had to be chaned because they werent call from anywhere
else.
Change-Id: I708b54b909c5a1814bcec858dd356e17e5c6c473
|
|
Moved all SwDoc::getPrinter and SwDoc::setPrinter calls to their
appropriate interface methods (SwDoc::getIDocumenterDeviceAccess::").
Change-Id: Icbe5369ba03a05d9e2afb1300a9c67b0a0a20c60
|
|
There is a lot more to test here, but for now just test that we can have
tables and rounded corners at the same time.
Change-Id: Ia9a4877202d1d040209f49a428b83633c58fc7c7
|
|
Change-Id: If56d7cab269a76062ee75bb1a9484f154b72c4d7
|
|
The ZOrder of a TextBox should be the ZOrder of the shape + 1, don't
allow setting it to something custom.
Change-Id: I17439aa9e494ae62ab80e178a8c5d90cea030351
|
|
The problem was that right after the import, the document wasn't marked
as modified, but as layout settled, it got marked as modified.
Given that we already have code to avoid modification when updating the
replacement image, do something similar here: when setting the view
area, make sure the embedded object's component is not marked as
modified.
Change-Id: I88a42829ec48db54178553661863a571cd2a268b
|
|
after the latest file move
Change-Id: I105eb04ad98d1bf71eddec4528657c248fcc4348
|
|
Change-Id: I784fa73c69a25ccf5d750b92c6aa8815385df0a9
|
|
This is not valid, but LO 3.4 supported it, so add a workaround...
Change-Id: Ib8eefdf41fe9801db6f7e5873eaa1436518912fb
|
|
Change-Id: I748a73523b6b1908d89663e90f7cab378920110d
|
|
Change-Id: I95608ce08b9fffada10bc1a1f6903b50aa78fe9a
|
|
Change-Id: If1057871aa7c9e7079ed051e6854c77c81f12292
|
|
Change-Id: Ifa756a5da636e0b37654ad83900115872bc40f0e
|
|
This is required by the ODF import, as that sets the CustomShapeGeometry
after setting other properties (like Transformation, which includes the
position/size).
Change-Id: I299a1b302d55b3753a0a6b2142ea173f5f134b39
|
|
Issue :
- In styles.xml, beforeAutospacing property was set to true.
- In code LO grab bags AustoSpacing property using "ParaInteropGrabBag".
- But ParaInteropGrabBag had only an entry for direct paragraph properties,
not paragraph styles.
- Hence while importing AustoSpacing property from styles.xml, LO was throwing exception
as "Some style properties could not be set: Unknown property: ParaInteropGrabBag".
Implementation :
- Added "ParaInteropGarbBag" entry for Paragraph styles in
sw/source/core/unocore/unomap.cxx
- Removed code from StyleSheetTable::ApplyStyleSheets() as it was previously added to
"Ignore" the AutoSpacing property.
The code was previously added beacuse due to AutpSpacing in styles.xml,
LO was throwing an exception and this was causing unhandling of properties after AutoSpacing.
So to prevent unhandling of other properties due to AutoSpacing property, a check was added to
"Ignore" AutoSpacing, thus enabling handling of properties after AutoSpacing.
Please refer to : https://gerrit.libreoffice.org/#/c/8902/
But as now we have to "Preserve AutoSpacing" this check needs to be removed in order to set
it in StyelSheetTable.cxx.
- Added Export Unit test case
Change-Id: I6748f97befcdf40643e75388766e05740290306b
Reviewed-on: https://gerrit.libreoffice.org/9561
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
Exception:
http://opengrok.libreoffice.org/xref/core/sd/source/ui/view/DocumentRenderer.src#55
Change-Id: Iecfe49b51ed68de00f1b5adfb5bca9fa793fb1f9
|
|
Change-Id: Ia8795223224a6d2772f12ad41d7691517db80714
|
|
Change-Id: I02f26228f0f9068ce7f497913fb36ac8945e785b
|
|
Change-Id: Ie864814c71a31aaf2b139641bac9bb720143abfe
|
|
Change-Id: I1e131913991f0b28e55e54e8cc64ce37135be946
|
|
Change-Id: I8873a1ec910024b6fc25490891dc2e2c8d20d5d1
|
|
Change-Id: I857366ca2fb6e0e0cb43ff12b161310eab5015f6
|
|
Change-Id: I7dbba6bfe9f44b28cdf62b1eb4da05eda696d0dd
|
|
Change-Id: Ic7d9f18e04429c5ccb7b0fad28f3e83aa199897c
|