Age | Commit message (Collapse) | Author |
|
Change-Id: Ieffd1fe52d6167d84ada5ebb11686f20d6dce8fa
|
|
Change-Id: Ib3c26cf90a26db31a3d145beeecc877ef57ab249
|
|
before:
$ time make -sr CppunitTest_sw_ooxmlexport
real 4m5.728s
after:
$ time make -sr CppunitTest_sw_ooxmlexport
real 3m24.446s
and the new CppunitTest_sw_ooxmlfieldexport can run in parallel.
Change-Id: I5a1d121f51e2d09a1c2126a33484e956c5c706a8
|
|
Change-Id: I494cc676f384edbac9f64c1bc02b14cf7973d0d8
|
|
... if it has multiple columns.
See wwSectionManager::InsertSegments() for the related binary import
code which already did this.
Change-Id: I919f585bd864db748cd349e01789ec7805f031a1
|
|
Change-Id: Ifc538d8a51a333e79cec0312ab8cf4541abba7af
|
|
Change-Id: I7aa4a9bf72732db95a67cee368f3a83a0d71bb9c
|
|
- Remove includes from files where they are not needed.
- Update pch files
Change-Id: I0188e3934ef429008c1ef495ab1d5b27f38664d5
Reviewed-on: https://gerrit.libreoffice.org/10342
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I37aef651cf6424e7935ea3584b8f493f6f24c484
|
|
Change-Id: Ieb89836facb28ef1432b48810532f6f0b4b00a89
|
|
- Rotation property is not available for TextFrame in LO.
- Hence grabbaged this value.
- Roundtripped rotation value by converting it properly for both dml and vml textbox.
- Added UT for it.
Change-Id: Ia040d55dc2ea79500df76877ba44a02971c872a8
Reviewed-on: https://gerrit.libreoffice.org/10190
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
The problem was the following: due to borders, the LR space items were
not equal, but we still want to merge the page styles, as they only
differ due to the page border.
Change-Id: I55069368edba27ab9c70421e5e71ca24c73350e9
|
|
Drop a couple of unnecessary forward declarations for classes defined in files
included earlier from the same file.
Change-Id: I9a0a24f88990447d7eafe0438f3713e58f649cf9
|
|
and
coverity708511 Uninitialized scalar field
Change-Id: I05b5d836f3a207e70f8fff84524866a54a15daa2
|
|
This was already documented in the code, but first it got copy&pasted
several times, then now it's "hidden" in a header, so not so easy to
find.
Change-Id: I6c6814a14bb6208d9f31ee66f0c0f9b843ee7157
|
|
There were two problems here:
1) Citation field was around a run, but was exported as around the
paragraph.
2) The SDT properties were discarded, as they were inserted into a
character context that was thrown away. To fix this, add a (character
properties) context to the field state, so when it's inserted, it can
have the requested properties.
Change-Id: Ic36deff616060f049147874633c6c7264ae8ecf2
|
|
Instead of checking the third paragraph, remove everything else from the
bugdoc, so checking the only paragraph is enough.
Change-Id: I74e8db16cb1f27370ac88d9dff136aaeceb63cdb
|
|
For shapeType PictureFrame, a default CustomShape was created and then
RTFDocumentImpl::resolvePict() crashes because it actually operates on a
previous shape, because in this special case RTFSdrImport::m_xShape
is never actually set to the new shape, so contains the previous one.
Also the new shape needs to be added to the draw-page, at least
otherwise the assertion of the supported service fails because
some SvxShape::mpObj weak-reference is dead?
This essentially reverts commit 3cab1adf19d553663685e8198f0ec3f258a37c36
(except for the added testcase, which was slightly different because
it did not have a "pib" property).
(regression from ba9b63d8101197d3fd8612193b1ca188271dfc1a)
Change-Id: I6539c4286850dff2d8564006487cc765f1d117be
|
|
on the correct page frame
- trigger formatting of selected object when moving view to the selected object
or when graphical horizontal line has been inserted.
(cherry picked from commit 82fafc47de0c59c783c5df596c976a429ff8a21d)
Conflicts:
sw/source/core/frmedt/feshview.cxx
sw/source/core/layout/fly.cxx
sw/source/ui/shells/textsh.cxx
Change-Id: I4b4b523ff445f2ce20d9b81ad1187db7b44bd145
|
|
For use of sw_JoinText and sw_GetJoinFlags.
Change-Id: I6bda9a41fcb42663517b505098f74ec596ac6551
|
|
Change-Id: I71f678e60586706ba427485055c26059bb68caa6
|
|
the current implementation of CoreText simply dropped the proper
implementation of DrawTextArray, by ignoring DXArray
this very visibly borked the show-non-displayable character
feature of writer.. the bullet representing the 'spaces'
was quite misplaced.
This solve specifically this problem.
More work is needed to bring proper support of DXArray back to CoreText
Conflicts:
vcl/inc/sallayout.hxx
vcl/source/outdev/text.cxx
Change-Id: Idb2cc90d5ffaa8b83f79241cee2d512112d1c3be
|
|
This reverts commit 3a2010c711b0ca4d762681dd0967ad08bc1e23fc.
Prep to apply a full fix.
Change-Id: I3b71ad79f65e48456d9fd9d257bf471faa0f3482
|
|
Change-Id: I5d2ee4952443b70ffacfb916423dbb600109c813
|
|
Change-Id: I6b13c77975d8aeef63b424e418a4a4a98ced159f
|
|
The problem was that in case:
1) The paragraph only had a single text portion, which was a field and
char grab-bag was set on it and
2) The paragraph had a style which also set the character grab-bag
then during import the field's gra-bag was set on the paragraph (as it's
the only portion) and later the paragraph style overwrote this, in case
that had a grab-bag, too.
Work this around by ensuring that in case of portion fields (i.e. not
ToC, which has its own paragraphs), there are always at least two
portions in a paragraph (the second is removed later).
This also fixes the fake paragraph problem at the end of the bnc#875718
testcase. (There was an empty paragraph at the end of the document, but
not in the file itself.)
Change-Id: Ie404bc043d46157ea6157b18c4a46395cf496118
|
|
in writer for PDF export
(cherry picked from commit 131669af7168020750b726e4e6d1568975f73886)
Conflicts:
sw/source/core/doc/notxtfrm.cxx
Add missing includes to fix build break
(cherry picked from commit 662b23eb1f1b7c178a7a5507864c647a390fae34)
Conflicts:
sw/source/core/doc/notxtfrm.cxx
1e2c208ac91c8e666e4f3f6f89cd917736cdc44d
Change-Id: Ie560fa05964b79240fbd97825be74b0543c97aba
|
|
Change-Id: I26b9063aca5518f21f76ff22690eb55d51f9c5aa
|
|
Into the new class DocumentContentOperationsManager.
Made SwNodes in sw/inc/ndarr.hxx friend class to
DocumentContentOperationsManager so it can call DelNodes at end of
DocumentContentOperationsManager::DeleteSection .
Added DeleteAutoCorrExceptWord to SwDoc, its needed in the Manager.
Added a non const version of SwDoc::GetDfltGrfFmtColl() to SwDoc
because its needed in the Manager.
Made SwDoc a friend class to DocumentContentOperationsManager so it
can call SwDoc::checkRedlining and SwDocL::_MakeFlySection.
Moved SwDoc::CopyImpl_ , SwDoc::CopyWithFlyInFly and
SwDoc::CopyFlyInFlyImpl into the Manager.
Moved "struct ParaRstFmt" and "lcl_RstTxtAttr" from docfmt.cxx
in DocumentContentOperationsManager.hxx .
Change-Id: Icaab57f4a8c158a85e549ecb4aacc752bc95bbc9
|
|
Into the new class DocumentOutlineNodesManager.
Change-Id: I05581391a1474872113ae91d6429709d181cabfe
|
|
In the new class DocumentListsManager.
The method listfunc::CreateUniqueListId was also moved there.
Added a new method deleteListsByDefaultListStyle to the Interface,
which is needed for SwDoc::DelNumRule.
Change-Id: I75ea554a57d9402d2fcfeaedf9fbe50fbae2b020
|
|
Into the new class DocumentListItemsManager.
Change-Id: Ic86200280caa1b6e2c940bb12149235223ed0cd2
|
|
To the new class DocumentLinksAdministrationManager.
Additional to the Interface methods SwDoc::SelectServerObj was also moved
and sw/source/core/doc/docdde.cxx was deleted as it became empty.
Also fixed OUString usage in IDocumentLinksAdministration.hxx .
Change-Id: I1f2bf0881a7d4add9c657b6441851ae14ad8d161
|
|
Change-Id: Idb39ef2cdc34e0c0e7853de0a656f579ca3528da
|
|
Into the new class DocumentChartDataProviderManager.
Change-Id: I3be038ba276642546223c0c2fba3bea21980b33d
|
|
Change-Id: I4ee3d2422982d37be3638b9647096e0b38314d56
Reviewed-on: https://gerrit.libreoffice.org/10327
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
|
Change-Id: I328cf5e83e6532dfa5090f5c5e3a1568c48c11d2
|
|
Change-Id: Id05fd31d3a62bec8d658b9ecbae484ac081b8960
|
|
Change-Id: I9b344efa1b46a6e7c6b69d3044ef88b4cba826cb
|
|
ShapeContextHandler::getDrawingShapeContext mxDrawingShapeContext is set once and never reset.
So in a file which has numPicBullets and vml shapes in document.xml there is a problem.
First the fragment path is set as word/numbering.xml.
But when msRelationFragmentPath changes to word/document.xml,
mxDrawingShapeContext is not reset and hence the relationships are not resolved.
Conflicts:
sw/qa/extras/ooxmlexport/ooxmlexport.cxx
Reviewed on:
https://gerrit.libreoffice.org/10180
Change-Id: I4a1401103797972731257145430f2048b94a04bc
|
|
Change-Id: I9303249880ea0eb2f354fd3ae20c9eb3607a836b
|
|
Change-Id: Id0b883b7d7b902c1f8e41bcf39220ef74b3488bf
|
|
Change-Id: I83cfa2f11e76e03b919216e8dd04d1121ea6afd8
|
|
Change-Id: If655b5ef94657b2771d4e05dd6a2c494aa0e587d
|
|
in table cells are part of table formulas
(cherry picked from commit b384441c10475c9784eae3ea501afb22e0317468)
Conflicts:
sw/source/core/fields/cellfml.cxx
Change-Id: I4780ce0c1ac9ac911b654f61aa12938d7b225139
|
|
The root cause was that code in
SectionPropertyMap::PrepareHeaderFooterProperties() saved member
variables on the stack, modified them, then restored them at the end of
the method, but forgot to restore m_nBottomMargin there.
The result of this was that First Page's FooterBodyDistance got set to
zero, which is not the same as Default Style's FooterBodyDistance (150),
so on export sw::util::IsPlausableSingleWordSection() returned false,
which turned the page break into a section break.
Change-Id: I1afa2603de1313ae1e2aaefd4b7c771fce27e21e
|
|
Change-Id: Ie818b382c0b17760c720ff2f2c73a3697989f97e
|
|
Change-Id: Ia1b49091c91e257e4c9e1ef328c412ea3f1a451d
|
|
Change-Id: I6f9b9a2a4d5a6bf92428645df1226d9354f47210
|
|
Change-Id: I152f105e7bd363528d9fa4e365d32d12c00b0a44
|