diff options
author | Michael Brauer <mib@openoffice.org> | 2000-09-27 06:52:50 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-09-27 06:52:50 +0000 |
commit | aa69318c9263e33d83fdf2f8f03eeebc1b737a6b (patch) | |
tree | 0b30ed42136307720a111dac400b218254de4a13 /sw/source/filter/xml/xmltbli.cxx | |
parent | 929a2511a52236f9cb63158a51d7dc14ed97e749 (diff) |
#78248#: First table cell now gets style 'Standard' assigned if no other
style is specified
Diffstat (limited to 'sw/source/filter/xml/xmltbli.cxx')
-rw-r--r-- | sw/source/filter/xml/xmltbli.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 5d6a973cef18..59d759891bcf 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xmltbli.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: mib $ $Date: 2000-09-27 07:28:00 $ + * last change: $Author: mib $ $Date: 2000-09-27 07:52:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2103,6 +2103,9 @@ const SwStartNode *SwXMLTableContext::InsertTableSection( // The Cursor already is in the first section pStNd = pTxtCrsr->GetCrsr()->GetNode()->FindTableBoxStartNode(); bFirstSection = sal_False; + OUString sStyleName( RTL_CONSTASCII_USTRINGPARAM("Standard") ); + GetImport().GetTextImport()->SetStyleAndAttrs( + GetImport().GetTextImport()->GetCursor(), sStyleName, sal_True ); } else { @@ -2197,11 +2200,14 @@ XMLTextImportHelper* SwXMLImport::CreateTextImport() Source Code Control System - Header - $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/xml/xmltbli.cxx,v 1.3 2000-09-27 07:28:00 mib Exp $ + $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/xml/xmltbli.cxx,v 1.4 2000-09-27 07:52:50 mib Exp $ Source Code Control System - Update $Log: not supported by cvs2svn $ + Revision 1.3 2000/09/27 07:28:00 mib + align=margins now works without also specifying a width + Revision 1.2 2000/09/27 06:16:11 mib #78246#: Calculation of relative column widths now works correctly even if the summ of all column widths is smaller than the page width. |