summaryrefslogtreecommitdiff
path: root/sw/inc/doc.hxx
AgeCommit message (Collapse)Author
2012-10-30sal_Bool to boolTakeshi Abe
Change-Id: I87d6e518aebcd0074f673b84b66df27ae9a0a15a
2012-10-28sal_Bool to boolTakeshi Abe
Change-Id: Ia71a4dc13e09a5fc42c282efc2b0d46b2ff007ab
2012-10-25sal_Bool to boolTakeshi Abe
Change-Id: I8b76ba6d6a27cebefca3307a648bd5baafd27262
2012-10-24sal_Bool to boolTakeshi Abe
Change-Id: I47f376f431276396a9f3168a5e39e2c9e9e55cbe
2012-10-22sal_Bool to boolTakeshi Abe
Change-Id: I71842ace16eb65b3269754cc36408fe52843b2ea
2012-10-20sal_Bool to boolTakeshi Abe
Change-Id: Ideb46a876ef74f505b71e2a788d5f8da50e251af
2012-10-19sal_Bool to boolTakeshi Abe
Change-Id: Id3be1fbf289f04e175bb2fdd71754cad0c9672ce
2012-10-16sal_Bool to boolTakeshi Abe
Change-Id: I89050a1aa899b1a6cd49800f805af9611fd0a9a7
2012-10-07sal_Bool to boolTakeshi Abe
Change-Id: Ieeebcd89ae2728c6314f28413759bbb353c327bf
2012-09-24Remove unused member SwDoc::pMacroTableArnaud Versini
Change-Id: Ic09b960b675d674a16f7f252ed2a974c4e25505b Reviewed-on: https://gerrit.libreoffice.org/680 Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2012-09-12n#778133 sw: add BackgroundParaOverDrawings compat flagMiklos Vajna
In Word, the layer that contains a background image is behind the layer that contains the paragraph background. In Writer, the paragraph background is painted before the hell layer. Add a compat flag to change the order, so the DOCX importer can trigger that. To reproduce, create an XShape, send it to the background, set some color for a paragraph background, and notice that the background color is missing where the shape is behind the text. Change-Id: I9b1fffd9ac9a6e5a1c3d1f65371440047d125b38
2012-09-06read support for docx w:embedTrueTypeFonts/w:embedSystemFontsLuboš Luňák
No write support yet. Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
2012-09-04n#775270: clip pictures instead of scaling they don't fitCédric Bosdonnat
Word clips pictures that are bigger than a page instead of scaling them down. This patch introduces a new compatibility option to allow clipping a picture in Writer instead of scaling it down. Change-Id: I4defbee05be81e23ec28a2ed272eaf4e4cc6faf5
2012-08-23n#775899 sw: add FloattableNomargins compat flagMiklos Vajna
The DOCX filter imports floating tables as frames containing a table. Word ignores the margins of paragraphs next to such a table, Writer does not. Add a compatibility flag the import filter can set that triggers this weird behaviour. Change-Id: Iaaa1d2a2e2f9d0eaea17832b2e418f9a845efffd
2012-08-20fdo#53175: Don't load the default values of the styles in writerfilterCédric Bosdonnat
...or we may have some additional properties set on some styles. Change-Id: I5a5d307931a2a6c1f25bd2da93381d8de65c2480
2012-08-01Modifying comments to meet doxygen standardsAbdulmajeed Al-Abaulrazzaq
Change-Id: If7c4162a49a7c7b612b6f480f6fbba75727ae1df
2012-07-25delete svl/svstdarr.hxxMichael Stahl
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
2012-07-02SwDoc: kill copy&paste with CopyMasterHeader() and CopyMasterFooter()Miklos Vajna
Change-Id: I10480cc7977e7227a6abe84e7bf27f69a980f89a
2012-06-25Cleanup SwDoc::GetPageDesc(sal_uInt16) const-ness issuesNoel Grandin
The code was casting away the const-ness everywhere. Rather just declare 2 accessor methods, then the code becomes much cleaner. Change-Id: Id6b240536485cfebe044bcc427ba24843cf4c051
2012-06-20Convert SV_DECL_PTRARR_DEL of Sw*Fmts to std::vectorNoel Grandin
- I had to convert SwFrmFmts, SwSpzFrmFmts, SwCharFmts, SwSectionsFmts, SwTextFormatColl, SwGrfFmtColl all together because of the code that wants to work with any of them. - Introduce a pure virtual base class SwFmtsBase, since there are a handful of methods that want to work with any of the std::vector<Sw*Fmt> types. - the class SwSpzFrmFmts was dropped, and the code changed to use SwFrmFmts instead, since the 2 types are identical. Change-Id: I8c4056b5aedd574a33666e2d649a8b849958441c Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2012-05-28Fix German "adjust left margin" comment in multiple files in ↵Philipp Riemer
sw/{inc/,source/core}
2012-05-25Convert SV_DECL_PTRARR_DEL(SwPageDescs) to std::vectorNoel Grandin
Change-Id: I2301c1f237b1b08926c80942f459ba6062ed457d
2012-05-14Resolves: fdo#49897 add+use SwDoc::containsUpdatableFieldsCaolán McNamara
Change-Id: I03ab6367a40ddc5748a499c4e2c7f108a3ef8a08
2012-05-03fdo#31005 Table Autoformats do not save/apply all propertiesMuhammad Haggag
This change expands the number of properties supported by autoformats, mainly for Writer. Some improvements affect Calc as well (e.g. border styles are now preserved for Calc). Common: boxitem.hxx, frmitems.cxx * Added a new version for SvxBoxItem serialization that includes border styles. * Updated SvxBoxItem and SvxBorderLine serialization logic accordingly. Writer: fmtornt.hxx, attrfrm.cxx * Added serialization/deserialization logic for SwFmtVertOrient. Writer: tblafmt.hxx, tblafmt.cxx, ndtbl.cxx * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50. * Autoformats now record the text orientation and vertical alignment of table cells. * Autoformats now record the following table-level properties: - Break - Keep with next paragraph - Repeat heading - Allow table split across pages - Allow rows to break across pages - Merge adjacent line styles - Table shadow Calc: autoform.hxx, autoform.cxx * Added support for reading/writing writer-specific data as binary blobs. * Updated file version for autotbl.fmt to be SOFFICE_FILEFORMAT_50.
2012-03-08tidy up WW8FormulaControl, with knock on results elsewhereCaolán McNamara
2012-02-27Resolves: fdo#46038 don't copy page styles into temporary clipboard docCaolán McNamara
writer rtf export has a nasty pgdsctbl extension sd rtf import has nasty "if its got a table keyword in it its a table" logic Classically we never put our styles into the temporary clipboard, so fastest and safest fix is to simply skip putting the page styles into it.
2012-02-15sw: add doxygen comments for some document model / layout classesMiklos Vajna
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-13SvStringsDtor->boost::ptr_vectorAugust Sodora
2012-01-13SvStringsDtor->std::vectorAugust Sodora
2012-01-12SvStringsDtor->std::vectorAugust Sodora
2012-01-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora
2012-01-09simplify CharClassCaolán McNamara
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2011-12-22sw: Improved document comparison based on RSIDs.Tzvetelina Tzeneva
2011-12-14sw: build hidden debug features in all casesCédric Bosdonnat
To activate the layout and node dumping features in sw, set the SW_DEBUG environement variable to anything before running the office. F12 will then dump the layout as a layout.xml file in the working directory, and Shift+F12 will dump the nodes structure as nodes.xml at the same place.
2011-12-06Make merges of impress210 build.Thorsten Behrens
2011-12-06impress210: #i117133# put new drawing layer fill and stroke styles in pool ↵Christian Lippka ORACLE
only for newly created documents # HG changeset patch # User Christian Lippka ORACLE <christian.lippka@oracle.com> # Date 1299763312 -3600 # Node ID 6b1140cdac81a77836e5be80033f328a0956c94a # Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
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-11-18fdo#42534: SwRootFrm: clear SwLayouter in dtorCaolán McNamara
This crash is probably a regression introduced by CWS swlayoutrefactoring.
2011-11-12n#707157: Word doesn't break the numberings and prefers hiding themCédric Bosdonnat
Added a compatibility option to reproduce Word's behavior when importing Doc, docx and RTF files. The default behavior isn't changed.
2011-11-07Get rid of SvStringsSortDaisuke Nishino
2011-11-07callcatcher: remove some unused methodsCaolán McNamara
2011-11-02n#693238: fixed docx import of tabs set after the end marginCédric Bosdonnat
Added a new compatibility option to keep the previous behavior, but changed the default to avoid lines insertion for tabs when there are tab stops set beyond the end margin
2011-09-23debug support for dumping writer nodes structureLuboš Luňák
Similarly to the layout debug support. F12 -> layout, Shift+F12 -> nodes.
2011-09-12factor out code for copying compatability optionsCaolán McNamara
2011-09-12factor out code which sets the defaults for propertiesCaolán McNamara
2011-09-12SwDoc::ReplaceStyles can be constCaolán McNamara
2011-08-23Remove unecessary parameter to IDocumentStatistics::UpdateDocStatArnaud Versini
2011-07-22Replace SvUShorts with vector in UndoTable.hxx and cascade changes.Nigel Hawkins
LGPLv3+/MPL
2011-06-14Remove obsolete forward declarations of SvUShortsSort. LGPLv3+/MPL.Nigel Hawkins