Age | Commit message (Collapse) | Author |
|
Fixed an error at ImplEESdrWriter::ImplFlipBoundingBox implementation.
I've also tried to simplify and explain the calculations done there.
Change-Id: I41c6c6e1a045803524479c92ef807913db38167a
Reviewed-on: https://gerrit.libreoffice.org/6433
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
|
|
For now, this checks for a trusted referer (if the BlockUntrustedRefererLinks
configuration prop is set) in utl::MediaDescriptor::impl_openStreamWithURL and
SvxBrushItem::GetGraphicObject. Checking in additional places will probably be
necessary to block /all/ unwanted communication. Also, some places marked
/*TODO?*/ currently pass in an empty referer (which is always considered
trusted) and will probably need to be adapted.
Ideally, Referer URIs would never be empty (and consistently use something like
<private:user> for cases where access is explicitly initiated by the user and
should never be blocked), but that's a very daunting task, so start small by
identifying the places that potentially need blocking and adding appropriate
Referer URIs there. Also, Referer information should always be computed as
freshly as possible from the context in which an access attempt is made, but,
again, always carrying the information from the context all the way to the
relevant functions is a very daunting task, so for now store the information
upon object instantiation in some cases (SvxBrushItem, SdrGrafObj, ...).
The Referer URI (css.document.MediaDescriptor property; SID_REFERER) was already
used to track macro execution, and there is one place in
SfxApplication::OpenDocExec_Impl where opening of hyperlinks (explicitly clicked
by the user) is done that needs the current document's URI as Referer to check
execution of macro URIs but needs an empty (or <private:user>, see above)
Referer to not block non-macro URIs. Special code has been added there to
handle that.
Change-Id: Iafbdc07a9fe925d9ee580d4f5778448f18f2ebd9
|
|
...so it will be able to use SvtSecurityOptions internally.
Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
|
|
writeTransformAttribute was unused since its inception in
90f5ce36231551e226d4b3e2fefaa8493af692ac "svg-import-filter.diff: SVG Import
Filter implementation in filter module."
Change-Id: Ifa7a13f9665d59fcc1cf8c9c3d48685bddc8bd59
|
|
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
|
|
Change-Id: Iefdaf7d7e7b1156e9f1d20e2552ca0bb84c2a357
|
|
add ui file
Change-Id: I42af9b8969a07b4d738c1fd30fc8917f24f784c6
Reviewed-on: https://gerrit.libreoffice.org/6592
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ia7b61f28555af5f3bbfa9a8e82d54b9a18de15df
|
|
In case of unamed file, creation of sPresentationName crash.
This patch forces creation of empty name
Change-Id: I1b5319eb945f1959f2ad3c703365539508521861
Reviewed-on: https://gerrit.libreoffice.org/6598
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ife7dbfedf876a9e59eb95a83c91b603cfa96bb32
Reviewed-on: https://gerrit.libreoffice.org/6650
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The type "application/macwrite" does not appear to exist, but
"application/macwriteii" is officially registered at IANA:
https://www.iana.org/assignments/media-types/application/macwriteii
For Freehand the "application/x-freehand" has just 6 hits on Google
whereas Adobe recommends "image/x-freehand" on
https://www.adobe.com/support/config.html
Change-Id: I36d498888601778b1359ff58ee60b25af436a74e
Reviewed-on: https://gerrit.libreoffice.org/6639
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
The other filter associated with the .dot extension is
writer_MS_Word_95_Vorlage, obviously the 97 one should be preferred.
With having one filter as preferred for this extension, plain
'--convert-to dot' starts to work.
Change-Id: I7207d0fcb3c55b8dcc7b6179ccfa33a7c85d2ce8
|
|
Change-Id: I26894edd3962c2b2856d2bfa4a4aa4e6f4e65c9e
|
|
Change-Id: I75b5a0e6739991b234819bd11ce901b90f68ffba
|
|
Change-Id: I05d96875b9d1deb87dadd63f446080a6fe3494a9
Reviewed-on: https://gerrit.libreoffice.org/6630
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
...and clean up call sites.
Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
|
|
Change-Id: Ied496ddbc4d5341a8e1e15d760df775eee19f850
|
|
Change-Id: I3590e6598371197a6c41977c46e05b9b5d30eb58
|
|
as shown by kde239121-4.doc
Change-Id: I60356e7d76cc271869079f2fffa00e149274a8cc
|
|
as demonstrated by abi6637-1.doc
Change-Id: Ieed0ca7ccf2d8587179a4530a1da29d7d8228363
|
|
convert various module-local functions
Change-Id: I89f3eb40b107e2617958e474ffe86bd73e01cf33
|
|
Happens on Windows with --enable-debug and --enable-dbgutil
C:/cygwin/libo/core/filter/source/config/tools/merge/pyAltFCFGMerge:574:
ResourceWarning: unclosed file <_io.BufferedReader
name='C:/cygwin/libo/core/filter/source/config/fragments/filters/..\\filters\\calc
aFragmentFile = codecs.open(sFragPath, "r", "utf-8")
C:/cygwin/libo/core/filter/source/config/tools/merge/pyAltFCFGMerge:293:
ResourceWarning: unclosed file <_io.BufferedWriter
name='C:/cygwin/libo/build/workdir/wntmsci14/XcuFilterFiltersTarget/fcfg_drawgraph
aMerger.merge()
Change-Id: I60981ad366e579748e3507c9f81c74b8b902867b
|
|
This change fixes two bugs:
1) In it's old location at PDFFilter::implExport, the pdf viewer is called
*before* the final file is actually written. It causes a problem under
Windows, because we use ShellExecute function which fails if the file
doesn't exist. Calling a function blocks execution, so we have no chance
to write the file before that function fails. (fdo#68099)
2) Being a part of the saving/filter code means that the pdf viewer will
open even when converting to a pdf in headless mode. It's definitely not
something that we want to happen.
Change-Id: I1a6f70ec76100ac9e008869aa57ad738ced3ab6c
Reviewed-on: https://gerrit.libreoffice.org/6565
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I8f830790935a05a0413187b6e21002e0f2563adf
|
|
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
|
|
Change-Id: I19cc5b13adf1c0d8cf26abbc9f4254ae89a970fc
|
|
Change-Id: I52ee0ec79ebcd5a32f0c328440ce46e0452b121e
|
|
Change-Id: Iae5521e34951559351103a9defce30dc50d823c8
|
|
unify svg:d handling, correct svg:d import for relative sub-polygons in svg
import; changed default for moveto writes for svg:d in ODF to absolute
(cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841)
Conflicts:
basegfx/inc/basegfx/polygon/b2dpolygontools.hxx
basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx
basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx
basegfx/source/polygon/b2dpolypolygontools.cxx
basegfx/source/polygon/b2dsvgpolypolygon.cxx
basegfx/source/polygon/b3dpolypolygontools.cxx
basegfx/source/tools/makefile.mk
basegfx/test/boxclipper.cxx
basegfx/test/clipstate.cxx
basegfx/test/genericclipper.cxx
canvas/source/tools/surfaceproxy.cxx
sdext/source/pdfimport/tree/drawtreevisiting.cxx
sdext/source/pdfimport/tree/writertreevisiting.cxx
xmloff/inc/xexptran.hxx
xmloff/source/draw/XMLImageMapContext.cxx
xmloff/source/draw/XMLImageMapExport.cxx
xmloff/source/draw/shapeexport2.cxx
xmloff/source/draw/shapeexport3.cxx
xmloff/source/draw/xexptran.cxx
xmloff/source/draw/ximp3dobject.cxx
xmloff/source/draw/ximpshap.cxx
xmloff/source/style/MarkerStyle.cxx
xmloff/source/text/XMLTextFrameContext.cxx
xmloff/source/text/txtparae.cxx
Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
|
|
Change-Id: I5b233343269b4107bbcfef5ea1c9b1fc7b735ed2
Reviewed-on: https://gerrit.libreoffice.org/6511
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
|
|
Change-Id: Icc36b761da9262a99af730cfe71f576bcaab3ee1
Reviewed-on: https://gerrit.libreoffice.org/6488
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
|
|
Change-Id: I14115542d7f0401f4fa8face9f255b4512fc0ac3
Reviewed-on: https://gerrit.libreoffice.org/6448
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
|
|
Change-Id: I145c08d17ccb36bfbf734306cd9d27e8423debdd
|
|
... found at http://msdn.microsoft.com/library/cc233965.aspx (the 5th or
6th place I'm aware of where MS defines LCIDs, all different ...)
* a bunch of new definitions up to Windows 8.1
* lots of cross-checks done with SIL, Ethnologue, ...
Change-Id: Ifae8e676558c6712fe752856acca600d05d0a63f
|
|
Change-Id: Ifdb49a0fd5f658056b14b7c2f4e323dd38b412e6
|
|
Change-Id: Ib8c7c8a560e2f567df9e4a0ba7dc6b05d9e9e66b
|
|
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
|
|
hammer silver nails into coffin and bury in concrete
Change-Id: I3fda2ff47738bb33793adab97faba2d439ac9a28
|
|
to cppu::supportsService
Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I91d29a81389e36ddf34d56760cea588c0a7c12f6
Reviewed-on: https://gerrit.libreoffice.org/6324
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: I83698b10c0c4fef1929d62be809ac7d77e9a3502
|
|
Change-Id: I065ce5f80f0c54443aca9378a653a9f25175feee
|
|
Change-Id: I47340d71b5f3af9c06556965f240fb084440ea27
|
|
Change-Id: If7937abf1ea51578187269a48af58bdede569ed6
|
|
Change-Id: I2223c22da5bee6d9f9741c96eafe4d65e15dcb55
|
|
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
|
|
Change-Id: Ia3e6da86b47099106c4be793a1477979d327a2b9
|
|
Change-Id: Ia54ecab9e08485ebffe98dc064f328360c17a120
|