summaryrefslogtreecommitdiff
path: root/writerfilter
AgeCommit message (Collapse)Author
2013-05-27bnc#817956 DOCX import of document background colorMiklos Vajna
See wwSectionManager::SetSegmentToPageDesc(), this has to be applied to every page style. Change-Id: Iea2707ae665a55eabda3ed7575cf3658f7af5237
2013-05-27writerfilter: update READMEMiklos Vajna
Change-Id: Icd098ab4efcd307c83fe42d2f5815b48d1bff669
2013-05-27fdo#64671 Some special RTF characters were not skipped correctlyUrmas
Some special characters, like { and }, were not skipped when they occured as a replacement character for \uN keyword. Change-Id: I19b66a290cd9880924774fa89bb29df280e44a3c
2013-05-24WaE: implicit conversion of NULL constant to nullptr_tTor Lillqvist
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-23map docx line alignment properly to writer's line-of-text align (bnc#820792)Luboš Luňák
Apparently the top/bottom line of text alignment in writer is backwards compared to all others, while alignment to the top of a page puts an object's top edge at the top of the page, top of line of text puts the object on top of the line (i.e. bottom edge of the object at the line). The handling of NS_rtf::LN_YAlign suggests that swapping bottom and top in the input filter is the right way of handling this. Change-Id: I916c8ea0f2fd00de3e17b16b31433c9b6ba92e64
2013-05-23Related #i120832#, the style and color set on table text by user...Jian Fang Zhang
should have higher priority than that from table style Found by: Jinlong Wu,wujinlong@gmail.com Patch by: bjcheny,companycy@gmail.com Review by: zhangjf (cherry picked from commit fe7e723a727f6def90ee80ef2964a40546b37a90) Conflicts: writerfilter/source/dmapper/DomainMapper.cxx Change-Id: I3f4c96d49de40b21cc3da9bcb5e588a270434cd8
2013-05-21bnc#818997 RTF import: don't ignore page breaks between shapesMiklos Vajna
Change-Id: Ief71ba9a3c60356714e73d08e88d0a3105b17b1a
2013-05-21fdo#46808, Use service constructorsNoel Grandin
Change-Id: Ib428bb78751e9707c89dcf311b8ab86ad8184775
2013-05-20#i121134#, more fix for i119657, fallback to old logic to use current ↵Jian Fang Zhang
AbstractNum when the desired one can not find Found by: Li Lin Yi Patch by: Jinlong Wu,wujinlong@gmail.com Review by: zhangjf (cherry picked from commit aa53b457faaf0fc50a8b38d17bf219de427a1044)
2013-05-20Related: #i119657#, importing docx, add code to handle the problem...Jian Fang Zhang
that an AbstracNum references to a style, which references to another Num Found by: xiao ting xiao Patch by: Jinlong Wu,wujinlong@gmail.com Review by: zhangjf (cherry picked from commit d6870e145cc7373a422b414c31380cc1399e64cc) Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/NumberingManager.cxx Change-Id: I9be0b82d601bf43da31842edb02c4b0d4e50e84f
2013-05-16bnc#779630 DOCX import: improve w:sdt size guessingMiklos Vajna
The problem was that when border was enabled (and the importer leaves it unchanged, and it's on by default), there was not enough space for the text. Change-Id: I3ce770eb523389bcf7c5e83d4e76155e2c45de6d
2013-05-15fdo#62977 allow SAL_MAX_INT16..SAL_MAX_UINT16 when importing RTF_UMiklos Vajna
Change-Id: Ie36d5881b0ebe8c38526690ca27d02bfb7af7829
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14fdo#64249: make sure we have matching start/end level for table in shapesCédric Bosdonnat
Change-Id: I4928f6a54e6cca9b26c0d2391fc1545688be2375
2013-05-12cppcheck: fix redundantAssignInSwitchJulien Nabet
Change-Id: I0cda1957488ed1f0b279d8c783fe28c90579b466
2013-05-11Resolves: #i119161# copy sStyleIdentifierI and sStyleIdentifierD...Jürgen Schmidt
from StyleSheetEntry when constructing a new TableStyleSheetEntry object Patch by: Jinlong Wu (cherry picked from commit 11eb354532cfb354f9f7c3a72b170c9c8289b75c) Change-Id: I80054bc6c36bc7c5ed1034e0aadd88cd1a2f3091
2013-05-07oox: remove Package_generated and Package_tokensMichael Stahl
Change-Id: Iab5eb4fbfecea905f4eeb9f1b1f503c1908dadc8
2013-05-07writerfilter: remove Package_sprmidsMichael Stahl
Change-Id: I3791f7f513246faaeb76f9209c08008c78a38619
2013-05-07fdo#64256 writerfilter: handle void GraphicURL in ListsManager::lcl_sprmMiklos Vajna
Change-Id: I4d8b1b527d5099781a36cc1265318c167205340e
2013-05-02handle graphic bullets in .docx also when saved as <w:pict>Luboš Luňák
Change-Id: I7225b4b024c6b7c549d0c9fbf5204df653577bec
2013-05-02Fix out-of-bonds Sequence access in NumberingManager with page numberingFridrich Štrba
Change-Id: Ib35fcee1605215fb22ae9838b29fe1d8be5eaf58
2013-05-02bnc#779630 initial DOCX import of w:sdt's w:dateMiklos Vajna
Also factor out the w:sdt-related methods to a helper class to avoid DomainMapper_Impl become a God object. Change-Id: Ic1a388940bce89688e8558818f92ce9ac997609c
2013-05-02Update pchAurimas Fišeras
Change-Id: Ia400389ca7c4fbe752e19ca2d38f2fee00f6ee7d Reviewed-on: https://gerrit.libreoffice.org/3736 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-05-02writerfilter: few more doxygen commentsMiklos Vajna
Change-Id: I4893e2b3297adadf4e19ab22b298aaef4044b52e
2013-04-30bnc#779630 tokenize w:listItem and w:dropDownListMiklos Vajna
Change-Id: I714c2fd747eae2e706355b4fae892af9f569b3ae
2013-04-30WaE: private field 'mbShapeSent' is not usedTor Lillqvist
Change-Id: I47ef674ec056d9a66c905420bf74b3e8a67840a9
2013-04-30bnc#779630 initial DOCX import of w:sdt's w:dropDownListMiklos Vajna
Change-Id: I57d4768a26476d1a0535087c60535393b7004b24
2013-04-30n#592908: docx import, fixed handling of w10:wrapCédric Bosdonnat
commit f837c4288cdae4921b3fb6747ba2e2cd5ce2dcd2 moved the handling of w10:wrap tag in oox, but thus no wrapping was imported any more. The fix consists in letting the w10:wrap element be handled by writerfilter's dmapper if the shape has already been retrieved from oox (which is the case for textboxes). In other cases, make sure that we don't set the Surround property once again in writerfilter as that would override what has been done in oox. (cherry picked from commit 51d5e90b7c09cb980bc72a2c6b1a65303ef15ea2) Conflicts: oox/inc/oox/vml/vmlshape.hxx sw/qa/extras/ooxmlimport/ooxmlimport.cxx Change-Id: I8ab158641afcf6b9945c52238e7f5adb9e8b3adf
2013-04-30OOXMLFastContextHandlerValue: clean up duplicated constantMiklos Vajna
Change-Id: Ia09e30958392b660f694e8eefb6605108b3c0b57
2013-04-29Fixing Indentation RTL bugAdam Co
Change-Id: Ie8c3d30cb28afb97d4ded4ac67241ed18ab9e50c Reviewed-on: https://gerrit.libreoffice.org/3651 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-04-26ugly hack for NS_ooxml::LN_CT_Style_type being the first attribute processedLuboš Luňák
Change-Id: I32e91c1a42619676467ac121865673733e8053f2
2013-04-24check for NS_ooxml::LN_CT_Style_type being processed firstLuboš Luňák
The code relies on NS_ooxml::LN_CT_Style_type being handled first (because of m_pImpl->m_pCurrentEntry being reset there), so at least check for it. Still no idea how to actually ensure the correct ordering in this overdesigned $#%@! writerfilter thing. Change-Id: Ib6a2129a078728e162257275ac2a1243dbaf4017
2013-04-22avoid crash when no table grid is givenLuboš Luňák
The document may contain just <w:tblGrid/> and <w:tblW w:w="0" w:type="auto"/> . It appears we do not handle the auto width properly at all, but at least don't crash. Change-Id: Ibdc9d1ad69c13456acd347a151ec8739bcb98855
2013-04-22n#382137: Do run out of bounds (& consequently crash) when we have 0 spans.Jan Holesovsky
Maybe just works around the root issue (I did not debug deeper if this is correct to have 0 here), but improves the code overall, so why not to do this. Change-Id: I7c2b7f7e410faea5c1d6f3c15f1bc0f155dfb1f4
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-22Revert "fdo#62096: Replaced some compareTo with =="Fridrich Štrba
This reverts commit dd47994722eaead16099145e593fbf878072d52b.
2013-04-22fdo#62096: Replaced some compareTo with ==Sameer Deshmukh
Change-Id: I1151dafcef91abdb2ce08abe3547a49fe3f4a67c Reviewed-on: https://gerrit.libreoffice.org/3509 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19fdo#63685 wp:inline's distT/B/L/R is in EMU's, not twipsMiklos Vajna
Regression from 3d7e168a2a43c2414b0633379102ddb29437e75b. Change-Id: I9ab3f9f41316a01d5a74f3e500bad7a83c8d2dca
2013-04-18fdo#63023 incorrect RTF background color in headerMiklos Vajna
Change-Id: I33f5c8a856206860ac9cdb23dd6b5222cb785bf7
2013-04-17Update pchAurimas Fišeras
Change-Id: Ice80350184f7a514d5beab0a5e1da5b98d5733e4 Reviewed-on: https://gerrit.libreoffice.org/3427 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-16fdo#61193 fix crash on RTF paste of footnoteMiklos Vajna
Regression from 232ad2f2588beff50cb5c1f3b689c581ba317583. Change-Id: Ia0873851979df5bba0a4693f044aab2aeff2b8e4
2013-04-12RTF import: initial handling of posrelh and posrelv shape propertiesMiklos Vajna
Change-Id: Id576d6df4b7a6144507e5f8230ac62a953b5c050
2013-04-11RTF filter: import fShadow, shadowColor and shadowOffset shape propertiesMiklos Vajna
Change-Id: I862a6b59ea2c3fa00f12cb3e9dbfd672a6aa58e5
2013-04-11RTF import of new-style frames: implement line color/widthMiklos Vajna
Change-Id: Ice40f1a9532e661ab6f4e3f476e638f2f8f82b72
2013-04-11RTF shape import: fix default horizontal/vertical orient relationMiklos Vajna
Change-Id: Icf324d2762f292c7f5f2ec9502f58c4961b28512
2013-04-11Resolves: #i119464# Update default alignment value for docx [Sub]TitleYong Lin Ma
Patch by: Ying Zhang Review by: mayongl (cherry picked from commit 22602686933abaa1512ebd3bca77dbb9987b6ad5) Change-Id: I04cf1bbbeadf23147fa2cbc1c08c850288ef943a
2013-04-10fix new-style RTF frame default internal margin valuesMiklos Vajna
Change-Id: I1a4819905f0fc2e8dbbcf7d9570785ad4384dc39
2013-04-10add msfilter::util::ConvertColor to avoid copy&pasteMiklos Vajna
Change-Id: Ia5507f8d1ec18a45d3128c809d03f8f41849f93c
2013-04-10RTF import: fix priority handling of shpz vs dhgtMiklos Vajna
\shpz is the older markup, dhgt shape property is the newer one. When having both, dhgt should have priority. Change-Id: I11904315d13fa23999badad26be26852719dbb3b
2013-04-10RTF import of fillType and fillFocus shape propertiesMiklos Vajna
Change-Id: I2043477aebbe2e4f9afc48a68dcf7d2b18fa6613