summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/WW8TableInfo.hxx
AgeCommit message (Collapse)Author
2019-09-28loplugin:constmethod in swNoel Grandin
Change-Id: I73c3c6d2165287d2d581a04b23b1d3b48166a488 Reviewed-on: https://gerrit.libreoffice.org/79780 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-08-24loplugin:returnconstval in swNoel Grandin
Change-Id: I15d8553bff7528f690ff92bee75d6a67037c0adf Reviewed-on: https://gerrit.libreoffice.org/78062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-10-03loplugin:constfields in swNoel Grandin
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f Reviewed-on: https://gerrit.libreoffice.org/61177 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-09-10tdf#82177 docx export: eliminate invalid tcPr insideV/H bordersJustin Luth
better fix than cecf71c18da5430c10daa8522d38d5144edefc14 since: 17.4.25 insideV (Table Cell Inside Vertical Edges Border) This element specifies the border which shall be displayed on all interior vertical edges of the current group of table cells. [Note: Although individual table cells have no concept of an internal edge, which would render this property useless in most cases, it is used to determine the cell borders to apply to a specific group of cells as part of table conditional formatting in a table style, for example, the inside vertical edges on the set of cells in the header row. end note] So, I interpret this as insideV/H having meaning only within table styles, and not when directly applied to a cell. The only documents I've seen with insideV/H directly applied to a cell seem to have been created by LO - which dumps them everywhere, redundantly. Tablestyle cell groupings are handled elsewhere via grabbag dumps, so insideV/H borders can be eliminated from TableCellProperties. Change-Id: I128417f0a0b485c85ede463daacb8feabc457302 Reviewed-on: https://gerrit.libreoffice.org/60187 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-08-31tdf#82177 docx export: no inside borders on outside cellsJustin Luth
Well, not on the bottom or right outside cells. Obviously the presence of a bottom or a right in those cases doesn't indicate an inside line. Change-Id: I5d0661fd60f478a392b12fe9093c2e47e130631b Reviewed-on: https://gerrit.libreoffice.org/59600 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-07loplugin:constparams in sw part8Noel Grandin
Change-Id: I0fb51270da4b8f3049f1af2c2c788e516b3641e8 Reviewed-on: https://gerrit.libreoffice.org/40821 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-09clang-tidy readability-non-const-parameterNoel Grandin
Change-Id: I7b2680898dbfc49185fb949349d81f4ac615a470 Reviewed-on: https://gerrit.libreoffice.org/38593 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26loplugin: unnecessary destructor swNoel Grandin
Change-Id: I27dcd289177bd6a63f07d75fb3cfd5c14fa2ee9d Reviewed-on: https://gerrit.libreoffice.org/33572 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-07loplugin:unnecessaryvirtual in svx..swNoel Grandin
Change-Id: I4ae8de558550e6577c28b95e0aaed74f00d79c29 Reviewed-on: https://gerrit.libreoffice.org/30650 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-11-01Omit the default comparatorTakeshi Abe
Change-Id: Idea8ea8dab6a86d7be6394aef1cf7f25b75009e0 Reviewed-on: https://gerrit.libreoffice.org/30319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
2016-07-19clang-tidy performance-unnecessary-value-param in swStephan Bergmann
Change-Id: I6cd0d28dade01366b087aebff894b6f003d87b31
2016-06-16Remove the :: prefix in ::std for swMark Page
This patch was created using a script Variable name textual alignment is preserved to the same level Change-Id: I6b4858f8059b8cf71fc253e87d6df634362d62e9 Reviewed-on: https://gerrit.libreoffice.org/26306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-04-14loplugin:passstuffbyref in swNoel Grandin
Change-Id: I124bdd4f28c7d7508e77b902dfa23c398454bf38
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-09-13boost->stdCaolán McNamara
Change-Id: I9b4f884c6313a53fea543ea6f93175205351ad14 Reviewed-on: https://gerrit.libreoffice.org/18517 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-03sw: inline use-once typedefsNoel Grandin
Change-Id: Id0e54c92769e6c82690fe6f1eab488fcabe6c655
2015-07-22loplugin:unusedmethods sw(part2)Noel Grandin
Change-Id: Ib95638267c5a7df73ccdd179dd62ac7c9a53a5e4 Reviewed-on: https://gerrit.libreoffice.org/17262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-10fix crash on export of ooo67471-2.sxw to docxCaolán McNamara
This old-school table has three rows in it, but the second row is of 0 height so is indistinguisable from the third row by layout positioning, so the WW8TableNodeInfo view of the table is that it has two rows, and the comparison of being on the last row is done with the m_xTableWrt->GetRows view which considers it to have 3, so the table end marks are never output. add a new finalEndOfLine property that the WW8TableNodeInfo sets on the last end of row of the table as it sees it, which should resolve this. old style tables are a cess pit, which is why they were replaced Change-Id: I996aa59a338a594487f49ec0f228af3fb3032d15
2015-05-26cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I955b04396d27e88ce228f180275955071da83ec6
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-04-17it has always been the case that RowSpans are signedCaolán McNamara
we just get away with this because we cast it to signed before use in ww8 Change-Id: I646ea3a0eb84923dd9835f18356d67f4f72ba18d
2015-01-28remove unused typedefsNoel Grandin
found with some minor modifications to find/find-unused-defines.sh Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd Reviewed-on: https://gerrit.libreoffice.org/14194 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-03boost::unordered_map->std::unordered_mapCaolán McNamara
Change-Id: I2c65709cda6f10810452dfb8aa1a247cb3a5564f
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-05-22sw: remove using namespace from headersThomas Arnhold
Change-Id: I12cb17c5b357d966e7a11bdeb69d930bcdc8ab22
2013-11-05fdo#69644 - fix docx export of wrong number and width of columnsAdam Co
When the DOCX exporter exported a table, it filled the table column definitions with the column sizes of the FIRST row only. This was ok for tables that have the same columns on all rows, but for more complex tables with different cell widths - the filter exported the wrong number of columns and the wrong width. A followup fix would fix the rounding problems there still are with the column widths that are exported in the table definition. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: Ie95dfe60b1c1811776433e457ca04e728623e01e Reviewed-on: https://gerrit.libreoffice.org/6290
2013-11-05fixincludeguards.sh: swThomas Arnhold
Change-Id: I8e0889200d1a1c36e53022a74792728efd66c2fc
2013-05-29provide complete type of CellInfo before it is usedHerbert Dürr
(cherry picked from commit 687d6ed3e4ecb836634bfda71bb5596e18bbc2e1) Conflicts: sw/source/filter/ww8/WW8TableInfo.hxx Change-Id: If21c5d7c6db2803f7da59e28c00d47790abffe86
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-06-18removed unused forward declarations of classTakeshi Abe
Change-Id: I32894b853912741e935e2409d2857fe384f67665
2011-11-24sw: replace abuses of OSL_DEBUG_LEVEL with DBG_UTILMichael Stahl
OSL_DEBUG_LEVEL is set by make debug=t, which should never result in ABI incompatible objects.
2011-09-05stick these behind OSL_DEBUG_LEVEL > 1Caolán McNamara
2011-09-05Reverted WW8TableNodeInfo::toString() for dbglevel>1Cédric Bosdonnat
2011-09-04Drop unused partsJulien Nabet
2011-08-01Partially revert "Removed dead code"Miklos Vajna
This partially reverts commit 1e2c9be36ba9f94a27b3aa73c87ceb3d52e100dc, CellInfo::toString and WW8TableCellGrid::toString is still needed with dbglevel>1.
2011-04-22Merge commit 'ooo/DEV300_m106' into libreoffice-3-4Jan Holesovsky
Conflicts: sw/source/core/docnode/ndnotxt.cxx sw/source/core/inc/viewimp.hxx sw/source/core/layout/fly.cxx sw/source/core/layout/paintfrm.cxx sw/source/filter/ww8/WW8TableInfo.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/wrtww8.cxx sw/source/filter/ww8/wrtww8.hxx sw/source/filter/ww8/ww8atr.cxx sw/source/filter/xml/xmlitemi.cxx sw/source/filter/xml/xmlmeta.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/dialog/swdlgfact.cxx sw/source/ui/shells/grfsh.cxx
2011-03-07sw34bf04: #i104017#: use MAXTABLECELLS to define maximum number of cells in ↵Henning Brinkmann
a table row
2011-02-06Add missing #include <vector>Joseph Powers
2011-02-06port repository writer to boost unordered containersFridrich Štrba
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-09-16docx-export-enable.diff: Enable the .docx export.Jan Holesovsky
2010-06-01hb33issues01: merged DEV300_m80Henning Brinkmann
2010-05-28#b6951450#Henning Brinkmann
WW8TableInfo: Store information that text node is first in a table. OutputTextNode: Output page break before on first paragraph in table, if table has page break before.
2010-04-30hb33tablebylayou: #i110135# transplanted changes from OOO320Henning Brinkmann
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-12-01CWS-TOOLING: integrate CWS hb32showstoppers2Oliver Bolte
2009-11-05 14:28:58 +0100 hbrinkm r277370 : CWS-TOOLING: rebase CWS hb32showstoppers2 to branches/OOO320@277262 (milestone: OOO320:m3) 2009-11-04 16:04:47 +0100 hbrinkm r277357 : #i102434# write background color/shadow like WW8 does 2009-11-03 12:22:27 +0100 os r277319 : #i106515# call to LeaveDrawCreate() moved from SwWrtShell::UnSelectFrame() to SwPostItMgr::AssureStdModeAtShell() 2009-10-30 14:58:39 +0100 hbrinkm r277272 : #i103374# set default style on table row ends 2009-10-30 13:19:38 +0100 hbrinkm r277265 : #i106057# applied here because otherwise saving DOCs crashes 2009-10-28 13:50:44 +0100 hbrinkm r277240 : applied patch for OOO320_m2 #i105052# debugging code #i102420# rewritten debug output for SwNodes. #i105052# debugging code sw/source/filter/ww8/wrtww8.cxx: MSWordExportBase::WriteText: Keep track of nodes already exported and assert when a node is exported for the second time. sw/source/filter/ww8/WW8TableInfo.cxx: WW8TableNodeInfo::setNext: Announce from where to where the next pointer points. #i105052# save pointer to next SwNode in WW8TableNodeInfo merged DEV300_m60 #i105653# applied patch #i105941# crash on initialization fixed merged changes from hb32showstoppers 2009-10-27 16:39:40 +0100 mst r277223 : #i106349#: SwBaseShell::ExecUndo(): do not access members after dying
2009-04-23CWS-TOOLING: integrate CWS sw31bf10_DEV300Ivo Hinkelmann
2009-04-16 12:41:42 +0200 va r270879 : #i101097# Emptied Author Field 2009-04-16 11:58:03 +0200 hbrinkm r270876 : #i101029# Use TableInfo first to determine next node. 2009-04-16 11:52:11 +0200 hbrinkm r270875 : #i101029# WW8TableNodeInfo: new member mpNext pointing to next WW8TableNodeInfo in doc 2009-04-16 08:46:32 +0200 od r270866 : #i101116# method <SwWW8ImplReader::StopTable()> - keep PaM for TableEnd only for nested tables
2009-03-05CWS-TOOLING: integrate CWS hb19_DEV300Oliver Bolte
2009-02-24 12:55:47 +0100 hbrinkm r268394 : #i99451# OutWW8TableDefinition: initalize nSz with nTblOffset 2009-02-23 15:25:36 +0100 od r268360 : #i99384# method <SwTxtFormatter::NewTabPortion(..)> - correct handling of automatic tab stop at left margin 2009-02-18 15:05:24 +0100 hbrinkm r268226 : #i99024# transfered changes from hb17 to hb19 2009-02-18 14:50:05 +0100 hbrinkm r268223 : #ii98553# transfered changes from hb17 to hb19 2009-02-18 14:35:37 +0100 hbrinkm r268220 : #i98465# transfered changes from hb17 to hb19 2009-02-18 14:32:49 +0100 hbrinkm r268219 : #i98585# transfered changes from hb17 to hb19