summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2011-11-03utf-16, not utf-8Caolán McNamara1-1/+1
2011-11-03add missing testsCaolán McNamara2-0/+1
2011-11-03Follow UAX-29 and present user-perceived character countsCaolán McNamara4-13/+57
Not a count of code-units, nor a count of code-points, but try and follow http://unicode.org/reports/tr29/ and present the grapheme count. Add a few representative tests to try and avoid gotchas.
2011-11-03ByteString->rtl::OStringCaolán McNamara7-90/+84
2011-11-02Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/coreMichael Stahl1-80/+15
2011-11-02simplify determination of pages to printIvan Timofeev1-80/+15
2011-11-02Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/coreMichael Stahl73-525/+796
2011-11-02update word count dialog when selection is completed or invalidatedCaolán McNamara1-7/+16
2011-11-02n#693238: fixed parentheses warningCédric Bosdonnat1-1/+1
2011-11-02fix this to buildCaolán McNamara5-2/+7
2011-11-02Resolves: #i46785# Word count dialog modelessMatt Pratt17-96/+280
2011-11-02n#715115: WW8 numbering levels: use the WW6 indent if legacy flag is setCédric Bosdonnat1-1/+4
2011-11-02n#693238: fixed docx import of tabs set after the end marginCédric Bosdonnat12-12/+63
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-11-02Page Break: fix crash when changing from break before to break afterCédric Bosdonnat4-15/+45
Keeping a temporary copy of the shared_ptr to avoid the object to be deleted during the Select method.
2011-11-02make this buildCaolán McNamara3-7/+7
2011-11-02ByteString->rtl::OStringCaolán McNamara8-38/+43
2011-11-02rename TEXTDIRECTION variables to TEXTORIENTATION to represent the previous ↵Lior Kaplan3-15/+15
string change
2011-11-02Change strings to reflect text orientation not text directionlityLior Kaplan1-3/+3
2011-11-01eliminate SvUShorts typeDaniel Di Marco16-97/+93
2011-11-01ByteString->rtl::OStringCaolán McNamara1-1/+1
2011-11-01ByteString->rtl::OStringCaolán McNamara9-23/+22
2011-10-31rhbz#657394: crash closing document while printingMichael Stahl1-3/+12
- XRenderable implementation in SwXTextDocument and ScModelObj throw DisposedExceptions instead of RuntimeExceptions - SfxPrinterController catches DisposedException and aborts printing - vcl::PrinterController checks that the printing was not aborted
2011-10-31Translate German commentsPhilipp Weissenbacher1-210/+199
2011-10-28SwRenderData: fix regression:Michael Stahl3-9/+8
It turns out that the SwDoc member of SwRenderData was not actually leaked, but was deleted via the ViewShell member.
2011-10-28SwRenderData: more cleanupMichael Stahl3-27/+18
2011-10-28SwRenderData: fix assertion:Michael Stahl4-19/+16
apparently SwXTextDocument::getRenderCount() may be called more than once, so make SwRenderData::CreatePostItData() stop complanining and leaking memory.
2011-10-28rhbz#680365: SwRenderData: do not store SwPageFrm*Michael Stahl4-123/+58
Currently when printing via SwXTextDocument::getRendererCount() two STL containers in class SwRenderData are filled with bare pointers to page frames from the layout. These pointers are then used by SwXTextDocument::render(), which takes one page out of the map and prints it via this non-ref-counted pointer. This bizarre design will not be tolerated; instead, when printing a page, iterate over SwRootFrm::GetLower() until the requested page is found. This is slower, i.e. O(n^2), but at least it does not crash.
2011-10-28remove pointless SfxBaseModel::setDocumentProperties()Michael Stahl1-3/+0
2011-10-28check for invalidated item with IsInvalidItemCaolán McNamara1-18/+21
2011-10-28ditch some ByteStringsCaolán McNamara2-5/+5
2011-10-28Export blinking text attribute to HTML in all HTML export modesHarri Pitkänen3-11/+8
Previously blinking was not exported in IE mode. IE still does not support blinking (neither does Chrome or Safari) but the extra tag does not make things any worse and allows importing the HTML back to LibreOffice without loss of formatting. Code is also simplified by removing conditionals for options that no longer need to be disabled.
2011-10-27Translate German commentsPhilipp Weissenbacher1-18/+14
2011-10-27ByteString->rtl::OStringCaolán McNamara5-34/+29
2011-10-26Added clarifying comment.Stephan Bergmann1-0/+1
2011-10-26Revert "Build dbaccess and connectivity only for DESKTOP platforms for now"Tor Lillqvist1-1/+1
Nah, breaks the build for non-DESKTOP platforms anyway, as headers delivered there are needed elsewhere. So just keep building that stuff even if it presumably will not be needed on either of the non-DESKTOP platforms. This reverts commit 9b4212f14b11993222f933f59a93359ebc44c708.
2011-10-26Make OSL_ENSURE explanation text match the testTor Lillqvist1-1/+1
2011-10-26WaE: '%' : unrecognized character escape sequenceTor Lillqvist1-1/+1
2011-10-26WaE: default constructor could not be generatedTor Lillqvist1-1/+1
MSVC warning C4510: 'TokenType' : default constructor could not be generated and warning C4610: struct 'TokenType' can never be instantiated - user defined constructor required. The default constructor could not be generated because of the const member eTokenType, so unconstipate that. The g_TokenTypes array is const itself anyway.
2011-10-26WaE: reinterpret_cast used between related classesTor Lillqvist1-1/+4
MSVC warning C4946: reinterpret_cast used between related classes: 'sw::mark::IMark' and 'sw::mark::ICheckboxFieldmark'. This time changing the reinterpret_cast to static_cast didn't work, that caused compilation errors: cannot convert a 'sw::mark::IMark*' to a 'sw::mark::ICheckboxFieldmark*'; conversion from a virtual base class is implied 'const_cast' : cannot convert from 'const sw::mark::IMark *' to 'sw::mark::ICheckboxFieldmark *' Conversion from pointer to base class to pointer to derived class requires an explicit cast (other than const_cast) dynamic_cast is what we want here. Also added an OSL_ASSERT sanity check. Thanks to sberg and hub for discussing this on IRC.
2011-10-25Fix fdo#41995 fallout - recognize .svg in odf containersThorsten Behrens1-5/+5
More code paths that needed fixing - Writer sports its own Graphic loading implementation, so that had the need for the stream name fwd-ing, too. The svg deep type detection was necessary for e.g. the flat odf - which has inline svg without any filename.
2011-10-25WaE: truncation of constant valueTor Lillqvist1-2/+2
2011-10-25WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operationTor Lillqvist1-4/+4
2011-10-25WaE: unsafe mix of type 'bool' and type 'sal_Bool' in operationTor Lillqvist1-1/+1
2011-10-25WaE: unreachable codeTor Lillqvist1-3/+6
2011-10-25Fix for fdo41997 continuation of VCL cleanupOlivier Hallot2-6/+6
2011-10-25Build dbaccess and connectivity only for DESKTOP platforms for nowTor Lillqvist1-1/+1
2011-10-24always explicitly handle empty string of rangesIvan Timofeev1-2/+4
2011-10-22execute filters-test in headless modeMarkus Mohrhard1-0/+1
2011-10-21Fix for bug fdo#41997, cleanup vcl enumerationOlivier Hallot3-3/+3
2011-10-20Added a scanbutton to the scan-dialogRob Snelders5-13/+15