summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2013-11-19DOCX drawingML shape import: handle marginsMiklos Vajna
Change-Id: Ia89552658dc79568cc46b92e949fc1935434e43d
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-18DOCX drawingML shape import: handle positionMiklos Vajna
Change-Id: I9a0cb95d875328dab21950ead06d56c4dac8305d
2013-11-18cp#1000018 RTF export: avoid additional paragraph at footnote endMiklos Vajna
Change-Id: I430a7d705208f197050a7d521c9c20b267c33f26
2013-11-18CppunitTest_sw_ooxmlexport: disable two testcases on MacMiklos Vajna
I guess the crop export code needs some love even on Linux, so instead of trying to fix something blindly, better to just disable them there for now. Change-Id: Ie33fc0f95f01799dcb9002b95f7fb7a239d4ba12
2013-11-17The new default Writer templateAhmad H. Al Harthi
New headings, better paragraph and lines spacing.
2013-11-17Make the tiled rendering code compile for Android againTor Lillqvist
I just ifdeffed out iOS-specific code, no actual Android-specific code added. And if at some stage we have need and resources to really make the tiled rendering stuff saner and cross-platform, a lot will change of course. Change-Id: If45d98f301413e26372c611f8ffecf229061174d
2013-11-17missing translatable="yes" attributesAndras Timar
Change-Id: I138c8f245e4bfb2f23dd4cd8a629d8e5e3aac56b
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-17undefining inline is just confusingTakeshi Abe
Change-Id: I70b973a88944603077a06632c801e8211f9efbd9
2013-11-17sal_Bool to boolTakeshi Abe
Change-Id: I0b01f904f78ec1a3d1aebd2af2ae8f55588a504f
2013-11-15CppunitTest_sw_{odfexport,odfimport,ooxmlexport}: consistent macro namingMiklos Vajna
Change-Id: I4dfcdc851fce49de25b3bd21f733f819a3d02eb3
2013-11-15CppunitTest_sw_htmlexport: check for nullptrMiklos Vajna
I couldn't reproduce this one, but JBFaure says on IRC it helps in his case. Change-Id: Ib0a22996bdfc758326c4910b5b652f0772c08912
2013-11-15[docx] activeX reference files (.bin) saved in InteropGrabBag and exported.sushil_shinde
The XInputStream for activeX.bin files is stored as the PropertyValue "OOXActiveXBin" into the "InteropGraBag" Added mxActiveXBinList object which holds XInputStreams for each activeX.bin from activeX folder. Added .bin files entry to respective acivex.xml's .rels file. Added Unit Test to test all .bin files are stores properly. Reviewed on: https://gerrit.libreoffice.org/6679 Change-Id: I3a0e9462a6cc53d8cbb9c7d59ed24631d77d4d30
2013-11-15Fixed for spacing between lines in table is getting preserve.PriyankaGaikwad
Problem Description: In "w:spacing" value of "w:line" attribute value in table is not getting is preserved. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6678 Change-Id: I2b0284a22da3a828c81876960f488049be4f8681
2013-11-15Fixed for spacing between lines having lineRule "auto" is getting preservedPriyankaGaikwad
Problem Desciption: In "w:spacing" value of "w:lineRule" attribute value is not getting is preserved. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6675 Change-Id: Ie9c99864bd5a198af94c1d251666bcb3427d955a
2013-11-15LibreOffice Corrupts DOCX files containing Footnotes after RoundtripPallavi Jadhav
Issue : 1] Extra data was getting written into document.xml after </w:document> This includes : 1) <sectPr> tag 2) Paragraph tag of <w:footnote w:id="2"> from footnotes.xml 2] This is leading to document corruption Implementation : 1] Enabled a flag inside DocxAttributeOutput::FootnotesEndnotes 2] Check value of flag to decide whehter to write section properties or not Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx sw/source/filter/ww8/docxattributeoutput.cxx Reviewed on: https://gerrit.libreoffice.org/6644 Change-Id: Iae53fd6bf12bcbac84846bd36823bc08f21f9edf
2013-11-15Added Unit test for PNG Crop image in Export.Pallavi Jadhav
Reviewed on: https://gerrit.libreoffice.org/6677 Change-Id: I766460915775791388850691b3b940fe32190052
2013-11-15Save Image-Crop information for GIF in docxPallavi Jadhav
Issue:- 1] When MS Office docx file containing cropped image is round tripped with LibreOffice 4.2, image looses its cropping effect. Implementation:- 1] Converted MAP unit, MAP_PIXEL to MAP_100TH_MM using PixelToLogic function. As for calculating EMU values for XML, we need Original Height and Width of an image in 100thMM(HMM) format. 2] Written Export Unit Test (GIF) to verify cropping parameters. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6595 Change-Id: I54d7b08c96608a0cfca3c2f8833684c09848351c
2013-11-15DOCX export: fixes for para auto spacing roundtripMiklos Vajna
- m_bParaBeforeAutoSpacing / m_bParaBeforeAutoSpacing was never set to false - m_iParaBeforeSpacing / m_iParaAfterSpacing was uninitialized Change-Id: I5c8ebd8e4f4c151059916397bc45e0c0ebcf5040
2013-11-15Resolved: Preservation of para before and after auto spacing.Nikhil Walvekar
During import a flag and fixed value is stored in InteropGrabBag and during export we check for fixed value and value available in para spacing object. Write autospacing only if para spacing values are not modified during edit. Reviewed on: https://gerrit.libreoffice.org/6575 Change-Id: If34c5b61c3180b01e68dfe83862784c3d6f33981
2013-11-15Tiled rendering: Move the common code to the right place - PaintTile().Jan Holesovsky
Change-Id: Id0502c4e0dd48dce8d1a239b5d156ff290314954
2013-11-15Tiled rendering: Make the tiled rendering work together with normal render.Jan Holesovsky
Not an ideal solution, but cleaning up the amount of output devices we have around would take me quite some time, and would be not too safe just before the feature freeze, so let's live with mbTiledRendering flag for now. Change-Id: I93616df18c790d8ce1251194b0c8b09442f5a265
2013-11-15Update the code snippet for tile rendering to be like in touch_lo_draw_tile()Tor Lillqvist
Unfortunately the tiledrendering test program doesn't seem to work as expected any more, though. (Not before this commit, not after.) Obviously the common code needs to be factored out. Later. Change-Id: Ia33d065467eb5a287a06bf337e20b4a9a34ce561
2013-11-15release BitmapReadAccess after use to fix 1 mb per render mem leakPtyl Dragon
Change-Id: I4d9a580132eb9a8d618c1165f962b47be4e80695
2013-11-15removed use of envvars in touch_lo_draw_tilePtyl Dragon
Change-Id: Id9ee6e616fe417023d0ce011263659056e80a5a2
2013-11-15Do use scaling after allTor Lillqvist
It is needed because we want to be able to render different zoom levels of tiles of course. But invert the scale from how it was previously. Increasing what is here called "tile size" (i.e. the size in document coordinates of the rectangle to be rendered) should mean the rendered text gets smaller, not larger. Also, use the same units (twips) in numerator and denominator. Change-Id: I461f887461247777af1a9402de112d42c8423293
2013-11-15Call MakeVisible() to "scroll" the requested area into view if necessaryTor Lillqvist
Change-Id: I72673d0529261239600eaf9f480f62c3d3dc85fd
2013-11-15Make the use of tileWidth/Height in the call to PaintTile() optionalTor Lillqvist
It seems to work better to use contextWidth/Height here, too, converted to logical units. The code apparently will never render more than what has been passed earlier to SetOutputSizePixel() anyway. Or something. Change-Id: I69ff4f3c9a61391882e5d530140903786bb4a16b
2013-11-15Make the scaling with the "tile/context" ratio optional, tooTor Lillqvist
It just confuses things, for me at least... It's enough to keep the scaling from our "decitwips" to twips to pixels in your head. I am now finally starting to understand what is going on;) Change-Id: I0dca2722105914de41d1ce017410cb5a05cf32c4
2013-11-15Use SAL_INFO() instead of commented-out SAL_DEBUG() for nowTor Lillqvist
Less hassle when committing, as even a commented-out SAL_DEBUG() triggers the commit hook to complain. Change-Id: I8cab87f204622624602fde3543630f073a558069
2013-11-15It seems that calling SetSwVisArea() has no effectTor Lillqvist
Make it optional at run-time (for now while testing) with an environment variable. Change-Id: I2ba1673fc51e91d0943148a0bf41351c87f272e5
2013-11-15Pass tilePosX/Y also to PaintTile()Tor Lillqvist
Change-Id: I85360889bf723fa8b603dfbe7a6f99d99c70c72f
2013-11-15removed DPX RIP (0,0) coords shift. played with rendering parametersPtyl Dragon
Change-Id: Ib2a3b017aa59bc1a8408b42f101fd041270494aa
2013-11-15added units MLODpxes and MLORipsPtyl Dragon
Change-Id: Ica09fbd0f6a822f464df302dba4cf40d1d089697
2013-11-15ready for integration with CATiledLayerPtyl Dragon
Change-Id: I50f519a37036ed3d17f73c80b33f4a9c4c19cb52
2013-11-151st implementation of touch_lo_get_content_sizePtyl Dragon
Change-Id: I8b72c4366b502a71f2ed3bf917296c9553364d83
2013-11-15created a long long unit for MLOContentSizePtyl Dragon
Change-Id: I41910058088161119d3cae8ca625d456652d890f
2013-11-15Need to acquire SolarMutex while using a VirtualDeviceTor Lillqvist
Change-Id: I1f3b86a45bb26d07a0b738c7c2b264dc4a4013c8
2013-11-15changed to CGSizePtyl Dragon
Change-Id: Ic84fcadf4332210693586825cdd8e32ef0f2a727
2013-11-15added Size touch_lo_get_content_size()Ptyl Dragon
Change-Id: I0874f511e217713ba695e55d07133378a33fced9
2013-11-15for torPtyl Dragon
Change-Id: I1565450c763e4f0bf1a724978b5550163d627482
2013-11-15in progress tile renderingPtyl Dragon
Change-Id: Ie49fc47700287c3c21f234e3fece2b3afd272d24
2013-11-15iOS uses virtual device tooPtyl Dragon
Change-Id: I468b41268f97af444974e05bc38fa5ca975a9d31
2013-11-15Tiled rendering: This is wrong approach, kill it.Jan Holesovsky
Change-Id: Ie674d19ae95b9e3c58d739d8cde1543124d1bd1b
2013-11-15Tiled rendering: Use VirtualDevice, and set the MapMode correctly.Jan Holesovsky
Change-Id: I79394beff70e5f1db3ec2e6995c9a8fd666d00a5
2013-11-15Tiled rendering: Update the adjustments in the test app .ui.Jan Holesovsky
Change-Id: Ia791111bfeda1ba5c4044f75257e08ec4cce54b4
2013-11-15Tiled rendering: Better way to get the values in the test app.Jan Holesovsky
Change-Id: I8c4b1cc1d6db3b6572bcf6d80e07567f667e975e
2013-11-15now iOS draws something (upside down)Ptyl Dragon
Change-Id: Ibf04322d34605fce30b2fa477de98a3e2ff9c2d1