summaryrefslogtreecommitdiff
path: root/officecfg/registry/cppheader.xsl
AgeCommit message (Collapse)Author
2015-12-04Wingdi RGB macro handling improvedAshod Nakashian
Improved the isolation of windows headers. Specifically, RGB macro is better handled now. Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f Reviewed-on: https://gerrit.libreoffice.org/20039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-12Windows header sanitizationAshod Nakashian
Isolation of windows headers using prewin.h and postwin.h headers and making headers dependent on them more self contained. Conversion of TCHAR to WCHAR and LPCTSTR to LPCWSTR etc. and cleanup of unnecessary casts. Change-Id: I7eff5c477d9223a064bfb4d962ff6d61960ee69c Reviewed-on: https://gerrit.libreoffice.org/19901 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-02-13cleanup generated config includes to make them more readable.Michael Meeks
2012-09-19Fold ImpressSdRemote.xcs back into Impress.xcsStephan Bergmann
This effectively reverts 8c5cd962353dd9ce8234211a66547eb057202eb5 "config split for sdremote" (what was the rationale for that, anyway? having the two little additions in Impress.xcs always should not be a big deal), 63a73c119c188e6a4b22fb99fc2571f200073bde "Hopefully fix the remote config access to work with the new schema.", ee5403b98bf0e89693a14f7a1ae5658d9e5eb730 "officecfg: generate header for Impress-sdremote, handle "-" in xcs name", and 4cce7027a6e700a6a7392b806c3d059172268f6d "Rename Impress-sdremote.xcs to ImpressSdRemote.xcs + add to postprocess." Change-Id: Iba6162a3c1d9e688960c794265bd04128f58cc0c
2012-09-18officecfg: generate header for Impress-sdremote, handle "-" in xcs nameMichael Stahl
Change-Id: I3f965a293cb6cbd5cafe42e1a05565282f2e10c7
2012-01-31Move unotools/configuration.hxx to comphelperStephan Bergmann
...so that other code in comphelper can use it.
2012-01-30Fixed cppheader.xsl nillable treatment.Stephan Bergmann
* cppheader.xsl had initially been written under the false assumption that a missing oor:nillable attribute defaults to "false" instead of "true". That has been fixed. * As a result, many places that use the new simplified officecfg/*.hxx headers broke as they did not expect value types to be wrapped boost::optional. To keep the code simple, I decided to change all occurrences in officecfg/registry/schema/ of properties that specify a default <value> and do not explicitly specify oor:nillable="true" to oor:nillable="false". Strictly speaking, this is an incompatible change, but in many cases it should be what was intended, anyway. * Some places that use the new simplified officecfg/*.hxx headers still had to be adapted to boost::optional wrapping. * This showed that unotools/configuration.hxx did not yet work for those wrapped properties and needed fixing, too.
2012-01-25Add configuration wrappers for groups, too (to add listeners etc.).Stephan Bergmann
2011-12-15Correctly handle <set> directly within <component>.Stephan Bergmann
2011-12-13Also escape dots in entity names used as C++ identifiers.Stephan Bergmann
2011-12-13Simplified, type-safe C++ configuration access.Stephan Bergmann
* New offapi com.sun.star.configuration entities to access the complete configuration read-only or read/write... * ...configmgr adapted to support those new services/singletons... * ...new unotools/configuration.hxx is the type-safe C++ plumbing on top of that... * ...officecfg now generates C++ headers to access all the properties and sets given in the .xcs files... * ...and svl's asiancfg.cxx exemplarily makes use of the new officecfg/Office/Common.hxx to access the configuration. * There is still TODOs: For one, see those listed in officecfg/registry/cppheader.xsl. For another, at least a notification mechanism for the new read-only configuration access and the C++ wrapper is missing.