summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)AuthorFilesLines
2012-09-08always use multiline balloons for footnote popup quickhelp windowsAndras Timar1-0/+1
Change-Id: I8536c451af9df89277f8698929c5a596a87863ae
2012-09-07Resolves: fdo#53590 you can trust no one to tell you the truthCaolán McNamara2-6/+0
Change-Id: I6850d2060c1c7490c15c8eff7e0338433e8dab32
2012-09-07move the code for adding temporary fonts to a separate classLuboš Luňák1-2/+2
I'm a bit confused on how this stuff is separated between platforms, so better do it this way. Change-Id: I2dbd9baef587c81ee37b509bde272ef970f5b118
2012-09-07MSVC: Conversion loses qualifiersStephan Bergmann2-2/+2
Change-Id: Iaf6678660f3d6b9c8a7ef018013311f8af553dc2
2012-09-07fdo#54620 do not use vector iterator after insertDavid Tardon1-6/+7
Change-Id: I5e809f38a500ab818e9acef80b419dfece7a29fa
2012-09-06sw: tweak comment translationsMichael Stahl3-31/+33
c589da46 d71b97c1 b4aa7d03 414848b2 561c30b3 Change-Id: I364af06741f0400e25901bb7a4faccf674f991b7
2012-09-06++bloody_sal_Int32_die_die_dieLuboš Luňák1-2/+2
Change-Id: Ie10748357aa25fc15c05fc1a55434bfa0af9712f
2012-09-06basic .docx write support for embedded fontsLuboš Luňák5-4/+104
Docx embedded fonts now should be usable for practical use, although there is still a number of small todos: - fonts are embedded when saving only if the document had embedded fonts when it was opened (this means the document needed to be saved in MSO first with the option enabled), there's no UI to enable it and it's a question if it makes sense on Linux - w:embedSystemFonts is similarly questionable, given that the spec is very vague on what system fonts are supposed to be - font subsetting is ignored, when reading a document, the font is simply used and it is hoped it will work (that should mean the document should not be modified, otherwise glyphs may be missing for the new text), write has no support for subsetting; also, since fonts are global for LO, opening several documents with the same but differently subset font probably will not work Change-Id: I470a9f2857738a10e82546223412bd9320841e65
2012-09-06make sure a font from SvxFontItem is written to fontTable.xmlLuboš Luňák1-0/+1
Change-Id: Ie1cd6aeded226da49e8ff10c262a00d7f95228f6
2012-09-06read support for docx w:embedTrueTypeFonts/w:embedSystemFontsLuboš Luňák5-2/+42
No write support yet. Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin5-27/+0
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06guess.cxx tweak bad translationMichael Stahl1-1/+1
Change-Id: Ib93f1a08686826d75ad96f0c21590b0baad3b150
2012-09-06Avoid assertion failure when rendering thumbnails of some pagesTor Lillqvist1-0/+9
Change-Id: I5331ae27d8e492a8094e1904ba3af143c7c1a0e5
2012-09-06offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:Michael Stahl1-2/+5
The service implementation used "com.sun.star.frame.UICommandDescription" since forever, so the IDL file was essentially wrong documentation. But since 7a464263cc5c2ca2b7128734ff4860e02d662818 converted the service to new-style, it cannot be instantated any more and e.g. clicking on Tools->Customize crashes. (Adapting the implementation instead would be an incompatible change.) Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5
2012-09-04Some clean up of previous commitStephan Bergmann1-1/+1
Change-Id: I75a4b2be2fbaf47a2ddb3498dd4e46b1169d47cc
2012-09-04fdo#46808, Adapt drawing::ShapeCollection UNO service to new styleNoel Grandin1-2/+2
No client code is using the XComponent interface, so drop it. Change-Id: Id8f6da1248da641dcc0a3cb6d0a70e3bf29e5c99
2012-09-04n#777699: Clip the objects to the pagewe are paintingCédric Bosdonnat2-4/+4
Change-Id: I78ac7de5346a2adea9a2c6cf3cbb0321e05d79dc
2012-09-04n#775270: clip pictures instead of scaling they don't fitCédric Bosdonnat10-2/+59
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-09-03Improve tracking of auto-complete states.Tomaž Vajngerl1-45/+76
Change-Id: I4fc1af070b684ffbd0a85e18caa600bb42449f1b
2012-09-03More places that require a prefixed "system"Stephan Bergmann1-2/+2
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03fdo#46808, Adapt util::NumberFormatter UNO service to new styleNoel Grandin2-15/+8
Create a merged XNumberFormatter2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin1-4/+3
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03fdo#46808, Adapt UICommandDescription UNO service to new styleNoel Grandin1-17/+15
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin1-3/+3
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-09-02Improved usage of the auto-complete tree structure.Nico Weyand3-26/+160
Auto-complete lookup structure remembers as-you-type the character position in a word. Currently the whole word was always looked up which was not necessary. This patch improves this. Change-Id: I7dced25707979377ae3f696a5987956d2308aeec
2012-09-02expand ACT_KONTEXT and MV_KONTEXT macros, rename kontext to contextIvan Timofeev9-55/+46
Change-Id: I7783e60cc048dfbd99976881afca317ad1326d66
2012-09-02Modifying comments to meet doxygen standardsAbdulmajeed Al-Abaulrazzaq36-717/+716
Change-Id: I4c82b7e543ec74cec3d4eb2985a3e4ec68c16b11 Change-Id: Iaf83b7119767cf0b953cab62d5555141e8e154bb Reviewed-on: https://gerrit.libreoffice.org/496 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-01Remove SwEditWin::ShowHeaderFooterSeparatorJulien Nabet2-16/+0
Change-Id: Ibbe784ee205bae0854dabe8844c53c9d72382884
2012-08-30n#777337 SwEditWin::UpdatePointer: fix mouse pointer wrt. background imagesMiklos Vajna3-1/+23
When the image is in the background, just show the normal text cursor, since we're able to select text as well in that situation. Change-Id: I4b4303834245e402d40567cff4a2bf53a0a13e5e
2012-08-30n#777337 testcaseMiklos Vajna2-2/+18
Also remove the #if 0 I forgot to remove previously. Change-Id: I2cc5e1407c509414c8395d0fd63ab3b379bef04f
2012-08-29WaE: this decimal constant is unsigned only in ISO C90Tor Lillqvist1-1/+1
Change-Id: Ica3bf96289d142be2ef19d3a0bb3a4006ef5317d
2012-08-29Resolves: fdo#38983 allow extra word boundary charactersCaolán McNamara7-28/+219
i.e. word overrides emdash and endash to be word boundary characters for the purposes of counting words. And there are some who want to treat =,- etc similarly. Default to a configuration that gives the same results as Word for word counting. Change-Id: Ia8ce6ac12011a1d6e547f11644c76163c4c993c5
2012-08-29n#777345 testcaseMiklos Vajna3-0/+21
Change-Id: I4dce0dfaf6f1c94024dd60df51d70a259689d6d9
2012-08-28fdo#52052 fix RTF import of page breaks on landscape pagesMiklos Vajna2-0/+32
The problem was that we tried to insert a page break before reaching the first section break, where section properties are sent. Additionally, the continuous section break at the end of the doc caused trouble, so ignore it explicitly. Change-Id: I22bc355994991beeadb41d26b44ce3e2beedbdb2
2012-08-28SwModelTestBase: support extracting node contents from a layout dumpMiklos Vajna1-3/+12
This way tests like "there is a textbox containing foo on the 3rd page" are possible. Also, make sure the XPath expression always matches a single node. Change-Id: Iac82b389e1910db2257240a3764ec3c7ebaa5a02
2012-08-28fdo#36681: fixed view window after redoing a frame deleteCédric Bosdonnat1-0/+7
Change-Id: I2b9f618ba6869fabf7c5ae2339421688aab127c7
2012-08-27Headers/Footers: don't create temporary parts of document (perf problems)Cédric Bosdonnat3-55/+33
Clicking on an empty header/footer only displays the separator as creating empty header/footer could cause important layout recomputing on long documents. Change-Id: I800c5dd27744772833dee0da4269e7591bd0a10b
2012-08-27Related: fdo#51908 reuse the status bar word counts for the dialogCaolán McNamara7-0/+24
Set the counts directly on the word count dialog when we have them precalculated from updating the status bar Change-Id: Idd64f20097af661dd4938af7fcc8506eca076e9c
2012-08-27Resolves: fdo#51908 count empty paragraphs if they're numberedCaolán McNamara1-36/+45
we want to count the numbering/bullet of otherwise empty paragraphs Change-Id: I6cdf5348bcbb97081afc743d24e6c4ffb355d085
2012-08-27n#775899 testcaseMiklos Vajna2-0/+29
Change-Id: I68e477464139b183b802cc3200a3b980d1ee72f3
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin1-5/+3
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27fdo#46808, Use factory methods for frame::DispatchHelper instancesNoel Grandin1-45/+40
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-27sw, FIRSTSHARE flag wasn't set in defaults and copied in SetUseOnCédric Bosdonnat2-1/+3
Change-Id: Ib0fd2097af4f45ec838b96e8214dfe913a3b47df
2012-08-27sw: fixed STL conversion from 1015cd4ff73ee25e55b4da8c8bc55a41e652da87Cédric Bosdonnat1-1/+1
Bad integer cast made reserve throw an std::length_error exception Change-Id: Iafdf859dd13e8b44ad61ee7e02eb11370f8260fb
2012-08-27WaE: unused variable ´nHtmlMode´Tor Lillqvist1-1/+0
Change-Id: I3c949e9f536b81bf405cf03992e2a9bbe0a2b0d4
2012-08-27Remove remaining checks for HTMLMODE_SOME_ABS_POSHarri Pitkänen7-32/+12
This HTML mode is never disabled for any HTML export options. Thus it is not necessary to check for it. Completes the cleanup started in commit feeb57e0a63cdcd81898050d059e7933f62c5292 Change-Id: I3ea27ea52cdc355f19d0d2fb33ac92262df5d13f Reviewed-on: https://gerrit.libreoffice.org/488 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-08-26String -> OUStringIvan Timofeev2-12/+11
Change-Id: I5bdcad692678b9debb77db4ec08223d38e5c01c5
2012-08-26SwPagePreView: initialize sPageStrIvan Timofeev1-0/+1
this adds "Page " to the page number info in the statusbar and to the scrollbar's tooltip in the page preview mode. Change-Id: Ia1dda0e98777465ef87364f12437449ca7787510
2012-08-25use dynamic_cast, prevent crash when opening Options-Writer-AutoCaptionIvan Timofeev1-2/+2
SwCaptionOptPage can be added either to SwCaptionOptDlg or OfaTreeOptionsDialog Change-Id: I0cedfc27f8d1f1bbf5e19dce2f438fc782cd5832
2012-08-25Revert "cast to wrong type, can cause crash when opening Options-Writer-AutoCaIvan Timofeev1-0/+5
Wrong fix: GetParent can return pointer to SwCaptionOptDlg which is derived from SfxSingleTabDialog. This reverts commit a5546942ec70fca551401ae61eee00b66a92f81d.