aboutsummaryrefslogtreecommitdiff
path: root/source/sl/svl
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-09-01 13:16:17 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-10-16 11:22:44 -0500
commit2a531c1cdded4ca03e7ca5b96fb356883edfa370 (patch)
treeadc1e32d89b8a6835144ce352945ee7321539350 /source/sl/svl
parent90b5d08e5f9e727693085c56684b6009ad945392 (diff)
move translations structure one directory up
Diffstat (limited to 'source/sl/svl')
-rw-r--r--source/sl/svl/source/items.po19
-rw-r--r--source/sl/svl/source/misc.po328
2 files changed, 347 insertions, 0 deletions
diff --git a/source/sl/svl/source/items.po b/source/sl/svl/source/items.po
new file mode 100644
index 00000000000..e24941826b1
--- /dev/null
+++ b/source/sl/svl/source/items.po
@@ -0,0 +1,19 @@
+#. extracted from svl/source/items.oo
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://qa.openoffice.org/issues/enter_bug.cgi?comment=&component=l10n&form_name=enter_issue&short_desc=Localization+issue+in+file%3A+svl%2Fsource%2Fitems.oo&subcomponent=ui\n"
+"POT-Creation-Date: 2012-08-17 20:19+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 1.9.0\n"
+"X-Accelerator-Marker: ~\n"
+
+#: cstitem.src#STR_COLUM_DT_AUTO.string.text
+msgid "automatic"
+msgstr "samodejno"
diff --git a/source/sl/svl/source/misc.po b/source/sl/svl/source/misc.po
new file mode 100644
index 00000000000..1976bd32c81
--- /dev/null
+++ b/source/sl/svl/source/misc.po
@@ -0,0 +1,328 @@
+#. extracted from svl/source/misc.oo
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: http://qa.openoffice.org/issues/enter_bug.cgi?comment=&component=l10n&form_name=enter_issue&short_desc=Localization+issue+in+file%3A+svl%2Fsource%2Fmisc.oo&subcomponent=ui\n"
+"POT-Creation-Date: 2012-08-17 20:19+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: sl\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Translate Toolkit 1.9.0\n"
+"X-Accelerator-Marker: ~\n"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_OCTSTREAM.string.text
+msgid "Binary file"
+msgstr "Dvojiška datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_PDF.string.text
+msgid "PDF file"
+msgstr "Datoteka PDF"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_RTF.string.text
+msgid "RTF File"
+msgstr "Datoteka RTF"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_MSWORD.string.text
+msgid "MS-Word document"
+msgstr "Dokument programa MS Word"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARCALC.string.text
+msgid "%PRODUCTNAME Spreadsheet"
+msgstr "Preglednica programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARCHART.string.text
+msgid "%PRODUCTNAME Chart"
+msgstr "%PRODUCTNAME Chart"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARDRAW.string.text
+msgid "%PRODUCTNAME Drawing"
+msgstr "Risba programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARIMAGE.string.text
+msgid "%PRODUCTNAME Image"
+msgstr "Slika programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARMATH.string.text
+msgid "%PRODUCTNAME Formula"
+msgstr "Formula programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARWRITER.string.text
+msgid "%PRODUCTNAME Text"
+msgstr "Besedilo programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_ZIP.string.text
+msgid "ZIP file"
+msgstr "Datoteka ZIP"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_JAR.string.text
+msgid "JAR file"
+msgstr "Datoteka JAR"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_AIFF.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_AIFF.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_BASIC.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_BASIC.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_MIDI.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_MIDI.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_VORBIS.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_VORBIS.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_WAV.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_WAV.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_AUDIO_WEBM.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_AUDIO_WEBM.string.text"
+msgid "Audio file"
+msgstr "Zvočna datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_IMAGE_GIF.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_IMAGE_GIF.string.text"
+msgid "Graphics"
+msgstr "Grafika"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_IMAGE_JPEG.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_IMAGE_JPEG.string.text"
+msgid "Graphics"
+msgstr "Grafika"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_IMAGE_PCX.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_IMAGE_PCX.string.text"
+msgid "Graphics"
+msgstr "Grafika"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_IMAGE_BMP.string.text
+msgid "Bitmap"
+msgstr "Bitna slika"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_HTML.string.text
+msgid "HTML document"
+msgstr "Dokument HTML"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_PLAIN.string.text
+msgid "Text file"
+msgstr "Datoteka z besedilom"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_URL.string.text
+msgid "Bookmark"
+msgstr "Zaznamek"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_VCARD.string.text
+msgid "vCard file"
+msgstr "Datoteka vCard"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_VIDEO_MSVIDEO.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_VIDEO_MSVIDEO.string.text"
+msgid "Video file"
+msgstr "Video datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_VIDEO_THEORA.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_VIDEO_THEORA.string.text"
+msgid "Video file"
+msgstr "Video datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_VIDEO_VDO.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_VIDEO_VDO.string.text"
+msgid "Video file"
+msgstr "Video datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_VIDEO_WEBM.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_VIDEO_WEBM.string.text"
+msgid "Video file"
+msgstr "Video datoteka"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_X_STARMAIL.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_X_STARMAIL.string.text"
+msgid "Message"
+msgstr "Sporočilo"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_X_VRML.string.text
+msgid "VRML file"
+msgstr "Datoteka VRML"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARIMPRESS.string.text
+msgid "%PRODUCTNAME Presentation"
+msgstr "Predstavitev programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_IMPRESSPACKED.string.text
+msgid "%PRODUCTNAME Presentation (packed)"
+msgstr "Predstavitev programa %PRODUCTNAME (stisnjena)"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARHELP.string.text
+msgid "%PRODUCTNAME Help"
+msgstr "Pomoč za %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_CNT_FSYSBOX.string.text
+msgid "Workplace"
+msgstr "Delovno mesto"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_CNT_FSYSFLD.string.text
+msgid "Folder"
+msgstr "Mapa"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_GAL.string.text
+msgid "Gallery"
+msgstr "Galerija"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_GAL_THEME.string.text
+msgid "Gallery theme"
+msgstr "Tema galerije"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARW_GLOB.string.text
+msgid "%PRODUCTNAME Master Document"
+msgstr "Glavni dokument programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SDM.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_APP_SDM.string.text"
+msgid "Message"
+msgstr "Sporočilo"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SMD.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_APP_SMD.string.text"
+msgid "Message"
+msgstr "Sporočilo"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_STARW_WEB.string.text
+msgid "%PRODUCTNAME Writer/Web"
+msgstr "%PRODUCTNAME Writer/Web"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_SCHEDULE.string.text
+msgid "Tasks & Events"
+msgstr "Opravki in dogodki"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_SCHEDULE_EVT.string.text
+msgid "%PRODUCTNAME Events View"
+msgstr "Pogled dogodkov programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_SCHEDULE_TASK.string.text
+msgid "%PRODUCTNAME Task View"
+msgstr "Pogled opravkov %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_SCHEDULE_FEVT.string.text
+msgid "%PRODUCTNAME Event"
+msgstr "Dogodek programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_SCHEDULE_FTASK.string.text
+msgid "%PRODUCTNAME Task"
+msgstr "Opravek %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_FRAMESET.string.text
+msgid "Frameset Document"
+msgstr "Dokument skupine okvirov"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_MACRO.string.text
+msgid "Macro file"
+msgstr "Datoteka z makrom"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_CNT_SFSYSFOLDER.string.text
+msgid "System folder"
+msgstr "Sistemska mapa"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_TEMPLATE.string.text
+msgid "%PRODUCTNAME Template"
+msgstr "Predloga programa %PRODUCTNAME"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_IMAGE_GENERIC.string.text
+msgctxt "mediatyp.src#STR_SVT_MIMETYPE_IMAGE_GENERIC.string.text"
+msgid "Graphics"
+msgstr "Grafika"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_MSEXCEL.string.text
+msgid "MS Excel document"
+msgstr "Dokument programa MS Excel"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_MSEXCEL_TEMPL.string.text
+msgid "MS Excel Template"
+msgstr "Predloga programa MS Excel"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_MSPPOINT.string.text
+msgid "MS PowerPoint document"
+msgstr "Dokument programa MS PowerPoint"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_VCALENDAR.string.text
+msgid "vCalendar-file"
+msgstr "Datoteka vCalendar"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_ICALENDAR.string.text
+msgid "iCalendar-File"
+msgstr "Datoteka iCalendar"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_XMLICALENDAR.string.text
+msgid "XML-iCalendar-File"
+msgstr "Datoteka XML-iCalendar"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_TEXT_CDE_CALENDAR_APP.string.text
+msgid "CDE-Calendar-File"
+msgstr "Datoteka CDE-Calendar"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MSG_RFC822.string.text
+msgid "message/rfc822"
+msgstr "message/rfc822"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MULTI_ALTERNATIVE.string.text
+msgid "multipart/alternative"
+msgstr "multipart/alternative"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MULTI_DIGEST.string.text
+msgid "multipart/digest"
+msgstr "multipart/digest"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MULTI_PARALLEL.string.text
+msgid "multipart/parallel"
+msgstr "multipart/parallel"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MULTI_RELATED.string.text
+msgid "multipart/related"
+msgstr "multipart/related"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_INET_MULTI_MIXED.string.text
+msgid "multipart/mixed"
+msgstr "multipart/mixed"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXCALC.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Spreadsheet"
+msgstr "Preglednica programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXCHART.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Chart"
+msgstr "Grafikon programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXDRAW.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Drawing"
+msgstr "Risba programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXMATH.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Formula"
+msgstr "Formula programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXWRITER.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Text Document"
+msgstr "Dokument z besedilom %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXIMPRESS.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Presentation"
+msgstr "Predstavitev programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXGLOBAL.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Master Document"
+msgstr "Glavni dokument %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION"
+
+#: mediatyp.src#STR_SVT_MIMETYPE_APP_SXIPACKED.string.text
+msgid "%PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION Presentation (packed)"
+msgstr "Predstavitev programa %PRODUCTNAME %PRODUCTXMLFILEFORMATVERSION (stisnjena)"
setest LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/svx/lathe3d.hxx
AgeCommit message (Collapse)Author
2024-02-19hide more symbolsNoel Grandin
using the bin/find-can-be-private-symbols.py script to find classes with large numbers of exported symbols that can hidden. before exported = 58104 imported = 30810 unused_exports = 35433 after exported = 55094 imported = 31073 unused_exports = 32423 Change-Id: Idd0a70ee3740afd5ca1a86771e0e2ff8090d102d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163456 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-08-29ref-count SdrObjectNoel Grandin
Which means we can get rid of the majestic hack of ScCaptionPtr Previously, SdrObject was manually managed, and the ownership passed around in very complicated fashion. Notes: (*) SvxShape has a strong reference to SdrObject, where previously it had a weak reference. It is now strong since otherwise the SdrObject will go away very eagerly. (*) SdrObject still has a weak reference to SvxShape (*) In the existing places that an SdrObject is being deleted, we now just clear the reference (*) instead of SwVirtFlyDrawObj removing itself from the page that contains inside it's destructor, make the call site do the removing from the page. (*) Needed to take the SolarMutex in UndoManagerHelper_Impl::impl_clear because this can be called from UNO (e.g. sfx2_complex JUnit test) and the SdrObjects need the SolarMutex when destructing. (*) handle a tricky situation with SwDrawVirtObj in the SwDrawModel destructor because the existing code wants mpDrawObj in SwAnchoredObject to be sometimes owning, sometimes not, which results in a cycle with the new code. Change-Id: I4d79df1660e386388e5d51030653755bca02a163 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138837 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-07-21clang-tidy modernize-pass-by-value in svxNoel Grandin
Change-Id: Iedd87d321f4d161574df87629fdd6c7714ff31c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137248 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-02-10clean up SdrObject cloningNoel
using operator= implies that overwriting an SdrObject is a useful operation, but that is not at all true - they are typically linked into and referred to by many other things. So rather use a copy-constructor. Also clean up a couple of weird "do some stuff after the clone" code into the main copy constructor. Change-Id: Iefc1481b527602748b5f3abed06e7cca66c0581c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110633 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-11-06make SdrObject Identifiers SdrObjKind enum membersCaolán McNamara
with unique values so that, e.g. if (pObj->GetObjIdentifier() == OBJ_LINE) is only true if pObj is a SdrPathObj and not a E3dScene Change-Id: I30c91e57eb27141390c644dec42e2a4bee96edf0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105374 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-02tdf#128302: Split SVXCORE_DLLPUBLIC from SVX_DLLPUBLICStephan Bergmann
Using SVX_DLLPUBLIC for both Library_svxcore and Library_svx had started to cause failures with clang-cl on Windows now, presumably due to devirtualization: > linectrl.o : error LNK2001: unresolved external symbol "protected: virtual void __cdecl SvxMetricField::DataChanged(class DataChangedEvent const &)" (?DataChanged@SvxMetricField@@MEAAXAEBVDataChangedEvent@@@Z) > linectrl.o : error LNK2001: unresolved external symbol "protected: virtual bool __cdecl SvxMetricField::PreNotify(class NotifyEvent &)" (?PreNotify@SvxMetricField@@MEAA_NAEAVNotifyEvent@@@Z) > linectrl.o : error LNK2001: unresolved external symbol "protected: virtual bool __cdecl SvxMetricField::EventNotify(class NotifyEvent &)" (?EventNotify@SvxMetricField@@MEAA_NAEAVNotifyEvent@@@Z) > linectrl.o : error LNK2001: unresolved external symbol "protected: virtual void __cdecl SvxMetricField::Modify(void)" (?Modify@SvxMetricField@@MEAAXXZ) > linectrl.o : error LNK2001: unresolved external symbol "private: virtual bool __cdecl SvxFillAttrBox::PreNotify(class NotifyEvent &)" (?PreNotify@SvxFillAttrBox@@EEAA_NAEAVNotifyEvent@@@Z) > linectrl.o : error LNK2001: unresolved external symbol "private: virtual bool __cdecl SvxFillAttrBox::EventNotify(class NotifyEvent &)" (?EventNotify@SvxFillAttrBox@@EEAA_NAEAVNotifyEvent@@@Z) > C:\lo-clang\core\instdir\program\svxcorelo.dll : fatal error LNK1120: 6 unresolved externals Replacing certain uses of SVX_DLLPUBLIC with the newly introduced SVXCORE_DLLPUBLIC (include/svx/svxdllapi.h) has been done on Linux as follows: > git grep -w --line-number -e SVX_DLLPUBLIC --and --not -e '#define SVX_DLLPUBLIC' >LINES to produce a file LINES containing all 640 uses. (Conveniently, all uses happen to be on different lines.) Manually create a file TOKENS with 640 corresponding lines, each containing the (class or function) name that is made SVX_DLLPUBLIC by in the corresponding line in LINES. Then > nm -D --def instdir/program/libsvxcorelo.so | grep -ivw '[vw]' | c++filt >SVXCORESYMS > nm -D --def instdir/program/libsvxlo.so | grep -ivw '[vw]' | c++filt >SVXSYMS > n=$(cat TOKENS | wc -l) > for ((i=1;i<="$n";++i)); do > tok=$(head -n "$i" TOKENS | tail -1) > printf @ > grep -Fw "$tok" SVXCORESYMS >/dev/null && printf svxcore > printf @ > grep -Fw "$tok" SVXSYMS >/dev/null && printf svx > printf '@ ' > head -n "$i" LINES | tail -1 > done to generate 640 output lines detailing for each SVX_DLLPUBLIC name occurrene whether it is mentioned in exports from neither (@@@), only from svx (@@svx@), only from svxcore (@svxcore@@), or from both libraries (@svxcore@svx@). The numbers that gives is 10 @@@ 180 @@svx@ 424 @svxcore@@ 26 @svxcore@svx@ The 10 @@@ ask for follow-up clean up, but most of them are just left as SVX_DLLPUBLIC for now. The exceptions are sxv::ITextProvider (include/svx/itextprovider.hxx) and SdrCustomShapeGeometryItem::PropertyPairHash (include/svx/sdasitm.hxx, where PropertyPairHash is a member struct of SVXCORE_DLLPUBLIC SdrCustomShapeGeometryItem). Keeping them as SVX_DLLPUBLIC would cause "unresolved externals" errors when linking Library_svxcore on Windows. The 180 @@svx@ are fine to keep as-is, and the 424 @svxcore@@ need rewriting. The 26 @svxcore@svx@ needed manual inspection to decide (in some cases, the chosen name in TOKENS was a too generic function name like Fill, in other cases it was the name of a class exported from one library but also mentioned in the arguments of a function exported from the other). And for sdr::table::SdrTableObj the class itself is defined in svxcore while the static member functions ExportAsRTF and ImportAsRTF are defined in svx. But MSVC does not allow to mark the class as SVXCORE_DLLPUBLIC and the two static member functions as SVX_DLLPLUBIC, so move the two functions out of the class. (There appears to be no real necessity that they were static member functions in the first place; they don't even need to be friends of the class. Nevertheless, this mixture of functionality from svxcore and svx in include/svx/svdotable.hxx may ask for follow-up clean up, one way or another.) All the output lines that need rewriting (all the @svxcore@@ ones, and the manually picked subset of @@@ and @svxcore@svx@ ones) are copied into a new file CHANGE (containing 451 lines). Then > sed -E -e 's|^@.*@.*@ ([^:]+):([0-9]+):.*$|sed -i -e "\2 s/SVX_DLLPUBLIC/SVXCORE_DLLPUBLIC/" \1|' <CHANGE >COMMANDS > . COMMANDS to do the changes. Change-Id: If9b6dd1c9e9ba2eb883dbdac4385d28c6fc8a203 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87794 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-06use unique_ptr in DoConvertToPolyObjNoel Grandin
Change-Id: Ia7f9ff4d8f7b9834b6634e5c126bd65014dacf19 Reviewed-on: https://gerrit.libreoffice.org/78684 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-05-22tdf#42949 Fix IWYU warnings in include/svx/[h-r]*Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib7e1d0f7483aa8b5cab320278714f2d5f36fdbd9 Reviewed-on: https://gerrit.libreoffice.org/72534 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-10-08return by unique_ptr from E3dObject::GetBreakObjNoel Grandin
Change-Id: Id983695650b13b2cb7881ce17a186e35fbb480ef Reviewed-on: https://gerrit.libreoffice.org/61441 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-07use std::unique_ptr fo CreateObjectSpecificPropertiesNoel Grandin
Change-Id: Ica82eca48719f12535757c81e95d788fe0aaa48e Reviewed-on: https://gerrit.libreoffice.org/57110 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-07-03use std::unique_ptr for CreateObjectSpecificViewContactNoel Grandin
Change-Id: I0fed54d345a43fe0bc21ebbe424e6fdc7eac9523 Reviewed-on: https://gerrit.libreoffice.org/56823 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-05-08tdf#116977 secured ::Clone methodsArmin Le Grand
Renamed SdrPage::Clone -> SdrPage::CloneSdrPage Renamed SdrObject::Clone -> SdrObject::CloneSdrObject Giving SdrModel is no longer an option, but a must (as reference). This makes future changes more safe by force usage to think about it. Also equals the constructors which already require a target SdrModel. Done the same for ::CloneSdrPage. Change-Id: I06f0129e15140bd8693db27a445037d7e2f7f652 Reviewed-on: https://gerrit.libreoffice.org/53933 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-04-07SOSAW080: Added first bunch of basic changes to helpersArmin Le Grand
SOSAW080: Make SdrModel& prerequisite to SdrObjects Added need for SdrModel& in constructors of SdrModel, SdrPage, SdrView and SdrObjList. Builds, not finished. SOSAW080: removed and replaced old SdrModel Removed and replaced GetModel()/SetModel() in all using classes (SdrObject, SdrPage, SdrView), added accessors to new referenced SdrModel, adapted all accessing places. Refactored/Extended ::Clone and ::operator== for these classes to allow cloning objects to a target SdrModel. Adapted places where this is done AFAP. Added quite some comments (tagged with 'TTTT') where possible further work is needed. Builds completely, thus checking in. This does not mean that this change is done yet. SOSAW080: Adapted SdrPage/SdrModel relationship Also needed to work on copy-construction of SdrPage and hierarchy, quite some stuff removed, no copy-constructor anymore, no MigrateItemPool stuff. Builds well, test stuck, will need some cleanup/finetunung SOSAW080: Smaller corrections/includes adapted SOSAW080: Smaller corrections/includes adapted SOSAW080: Debugging/Stabilizing/MakeUnitTestWork SOSAW080: Stabilized for UnitTests, cleanups SOSAW080: Adapted GetObjGraphic to just take a const SdrObject& SOSAW080: Removed ChangeModel from classes Classes SvxTextEditSource and SvxDrawPage (including TextEditSource stuff) do not need change of SdrModel anymore. SOSAW080: Adapted some comments to make more readable SOSAW080: Corrected constructor SOSAW080: getSdrModelFromUnoModel added override marks SOSAW080: Added missing includes SOSAW080: Corrected SdrPage constructor SOSAW080: Corrected some SdrObject::Clone scenarios Especially when cloning to another SdrModel and taking the sdr::properties into account. SOSAW080: Added include for Mac-Build SOSAW080: Added Scale to DefaultProperties If a SdrModel change happens in DefaultProperties copy constructor (used from Clone()), potentially a Scale for the SfxItems has to be done. SOSAW080: Added missing include for MacBuild SOSAW080: Corrected CppunitTest_sc_anchor_test An adaption of a SdrPathObj instantiation was missing, added that. Seems as if that test is no tpart of the usual 'make' scenario, but used/executed in gerrit builds SOSAW080: Reworked SvxShape to use SdrObject's SdrModel SOSAW080: Reworked SvxShape to use SdrObject's SdrModel SOSAW080: Free SdrObjects when SdrModel goes down In an UNO API test problem is that SvxShapes reference SdrShapes, but these are not added to a SdrPage and not 'owned' by the SvxShape. Thus these do not get deleted at all (same in master, memory leak). I extended SvxShape::Notify the case for ModelCleared to also Free the SdrObject when not owner and it's not added to a SdrPage (in that case it gets deleted with deleting the SdrModel) SOSAW080: Solve UNO API calls that move SvxShapes to other Model Due to UNO API tests I got a call to insert an xShape to a xDrawPage which was constructed in another Model, this has now to be done by Cloning the SdrObject to the new SdrModel, getting rid of the old one and getting all the UNO implementation stuff right (referemces SdrObject <-> xShape). 1cb7d573d323e98a89761fe662c10c4a654fdec0 24617494a0ef79f6e33dfcb02782a833a81c6434 763f39094b6a48b529a6952d01468f8776c97679 242b9e228a9a042c3a5bdd38b1ea6600144276d5 242b9e228a9a042c3a5bdd38b1ea6600144276d5 33a6f3f306b70c223171aef796dd5ee041ad14df 6878b33f8b05738a44c0910e40a60a0f0d1d58ed 0a636caf3cb36c2f9c6cd11aa22cb9bc435dc8f2 8c4626274a5cc531dad27f27c0c45d4c528fb2fb 446685a49a6d67aedd01cfbbd5e87b07f97a4d7b c1b5ed3c99bc7219a0061e4ece24ea42afd2889a 22de9a1c8af7c25be5c108671ddc548ba323ed47 4caf6b6fbbe6e8130741d793dffb560fd01d4ed5 488b9601735ec1822433f82f633990063951fe08 c366d60299f239e3df856ddffedb19e743e4be0c c5137ba8c597c7b5f90318df50e87b93a39a28dc f9e646242cf89f6fde1315046952252a2c429779 f830fbc5fadd89d04be5edd2a5abf9b0d4bf0410 1694b54903df784385abaa8452e1201e12344238 17bcb44d2e29920c0c74430c2d9c703b36cfa0ad 17bcb44d2e29920c0c74430c2d9c703b36cfa0ad 7b5c241faec7488924e5935ae8b19f785846b5e4 bf097ee7467895823fbd158a2a9543da3b5a5078 Change-Id: Iaf53535de0502a481466be74a1768bbb39f0e78c Reviewed-on: https://gerrit.libreoffice.org/52526 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2018-04-06Revert "SOSAW080: Added first bunch of basic changes to helpers"Armin Le Grand
This reverts commit 6c14c27c75a03e2363f2b363ddf0a6f2f46cfa91.
2018-04-06SOSAW080: Added first bunch of basic changes to helpersArmin Le Grand
SOSAW080: Make SdrModel& prerequisite to SdrObjects Added need for SdrModel& in constructors of SdrModel, SdrPage, SdrView and SdrObjList. Builds, not finished. SOSAW080: removed and replaced old SdrModel Removed and replaced GetModel()/SetModel() in all using classes (SdrObject, SdrPage, SdrView), added accessors to new referenced SdrModel, adapted all accessing places. Refactored/Extended ::Clone and ::operator== for these classes to allow cloning objects to a target SdrModel. Adapted places where this is done AFAP. Added quite some comments (tagged with 'TTTT') where possible further work is needed. Builds completely, thus checking in. This does not mean that this change is done yet. SOSAW080: Adapted SdrPage/SdrModel relationship Also needed to work on copy-construction of SdrPage and hierarchy, quite some stuff removed, no copy-constructor anymore, no MigrateItemPool stuff. Builds well, test stuck, will need some cleanup/finetunung SOSAW080: Smaller corrections/includes adapted SOSAW080: Smaller corrections/includes adapted SOSAW080: Debugging/Stabilizing/MakeUnitTestWork SOSAW080: Stabilized for UnitTests, cleanups SOSAW080: Adapted GetObjGraphic to just take a const SdrObject& SOSAW080: Removed ChangeModel from classes Classes SvxTextEditSource and SvxDrawPage (including TextEditSource stuff) do not need change of SdrModel anymore. SOSAW080: Adapted some comments to make more readable SOSAW080: Corrected constructor SOSAW080: getSdrModelFromUnoModel added override marks SOSAW080: Added missing includes SOSAW080: Corrected SdrPage constructor SOSAW080: Corrected some SdrObject::Clone scenarios Especially when cloning to another SdrModel and taking the sdr::properties into account. SOSAW080: Added include for Mac-Build SOSAW080: Added Scale to DefaultProperties If a SdrModel change happens in DefaultProperties copy constructor (used from Clone()), potentially a Scale for the SfxItems has to be done. SOSAW080: Added missing include for MacBuild SOSAW080: Corrected CppunitTest_sc_anchor_test An adaption of a SdrPathObj instantiation was missing, added that. Seems as if that test is no tpart of the usual 'make' scenario, but used/executed in gerrit builds SOSAW080: Reworked SvxShape to use SdrObject's SdrModel SOSAW080: Reworked SvxShape to use SdrObject's SdrModel SOSAW080: Free SdrObjects when SdrModel goes down In an UNO API test problem is that SvxShapes reference SdrShapes, but these are not added to a SdrPage and not 'owned' by the SvxShape. Thus these do not get deleted at all (same in master, memory leak). I extended SvxShape::Notify the case for ModelCleared to also Free the SdrObject when not owner and it's not added to a SdrPage (in that case it gets deleted with deleting the SdrModel) SOSAW080: Solve UNO API calls that move SvxShapes to other Model Due to UNO API tests I got a call to insert an xShape to a xDrawPage which was constructed in another Model, this has now to be done by Cloning the SdrObject to the new SdrModel, getting rid of the old one and getting all the UNO implementation stuff right (referemces SdrObject <-> xShape). Change-Id: Iaf53535de0502a481466be74a1768bbb39f0e78c 1cb7d573d323e98a89761fe662c10c4a654fdec0 24617494a0ef79f6e33dfcb02782a833a81c6434 763f39094b6a48b529a6952d01468f8776c97679 242b9e228a9a042c3a5bdd38b1ea6600144276d5 242b9e228a9a042c3a5bdd38b1ea6600144276d5 33a6f3f306b70c223171aef796dd5ee041ad14df 6878b33f8b05738a44c0910e40a60a0f0d1d58ed 0a636caf3cb36c2f9c6cd11aa22cb9bc435dc8f2 8c4626274a5cc531dad27f27c0c45d4c528fb2fb 446685a49a6d67aedd01cfbbd5e87b07f97a4d7b c1b5ed3c99bc7219a0061e4ece24ea42afd2889a 22de9a1c8af7c25be5c108671ddc548ba323ed47 4caf6b6fbbe6e8130741d793dffb560fd01d4ed5 488b9601735ec1822433f82f633990063951fe08 c366d60299f239e3df856ddffedb19e743e4be0c c5137ba8c597c7b5f90318df50e87b93a39a28dc f9e646242cf89f6fde1315046952252a2c429779 f830fbc5fadd89d04be5edd2a5abf9b0d4bf0410 1694b54903df784385abaa8452e1201e12344238 17bcb44d2e29920c0c74430c2d9c703b36cfa0ad 17bcb44d2e29920c0c74430c2d9c703b36cfa0ad 7b5c241faec7488924e5935ae8b19f785846b5e4 bf097ee7467895823fbd158a2a9543da3b5a5078
2018-01-24loplugin:constparamsNoel Grandin
Change-Id: I7c695073d9a9d3b7a641d6eb9fe01a47d8c3a504 Reviewed-on: https://gerrit.libreoffice.org/48392 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-22TypedWhichId for SDRATTR* constants (3)Noel Grandin
Change-Id: Iea72cb3a4bbf693096de46269f58259b5952eedb Reviewed-on: https://gerrit.libreoffice.org/45024 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-24loplugin:finalclasses in svxNoel Grandin
Change-Id: I74296e2185902498cd569ecde83905f718a41e84 Reviewed-on: https://gerrit.libreoffice.org/43715 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-27loplugin:constparams in svxNoel Grandin
and fix a bug in the plugin itself when calling operator's like the one on std::function<> Change-Id: I1617607107eeff06785c1841f69e13ad2926218e Reviewed-on: https://gerrit.libreoffice.org/40446 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>