Commit Graph

429 Commits

Author SHA1 Message Date
5f0ffa9fbd Fix some idl descriptions
Change-Id: I9fa98ac78463f91c442f5b23b04c44457436e91f
2013-06-29 07:26:13 +02:00
392706b5f7 *api: fix loads of badly documented parameters
Change-Id: Ifcfdcc1aee5f45745ab17d83f69c2cf293b58196
2013-06-04 12:01:08 +02:00
73d568408a *api: convert <listing> and @example
<listing> is called @code / @endcode in doxygen.
@example requires a file name in doxygen.
Also adapt various silly examples that use tools String in C++ or manual
syntax highlighting in Java etc.

Change-Id: I23cff1b688001f438526a6a1364cc5f754b504f7
2013-06-04 12:01:06 +02:00
b7ba598ced *api: clean up multi-line and mal-formed XML tags
It is amazing what some people believe autodoc supports.

Also, com::sun::uno::Any does not exist in IDL, that is part of
the C++ language binding.

Change-Id: I1f1f5cf5d27663ace6ff618ecbecb41fd2dfa1fc
2013-06-04 12:01:05 +02:00
56d158c38c *api: convert more <method>
sed -i "s,<method>\([^<]\+[^)]\)</method>,\1(),g"

Change-Id: Ie443efb5b283067bc5475810f6848061900d8401
2013-06-04 12:01:05 +02:00
928b8640c0 *api: convert <TRUE/> <FALSE/> <VOID/> <NULL/>
sed -i 's,<\(TRUE\|FALSE\|VOID\|NULL\)/>,`\1`,g'

Change-Id: Ia4df97ca809b00993530d67203bbe4ba7a072201
2013-06-04 12:01:05 +02:00
be7f280ea7 *api: convert <atom>
sed -i 's,<atom>\([^<]\+\)</atom>,`\1`,g'

Change-Id: I530fe998b0c422e83c4324807d42700126bc9883
2013-06-04 12:01:04 +02:00
a93783c42d *api: convert <arg>
... which does not seem to do anything anyway.

sed -i "s,<arg>\([^<]\+\)</arg>,\1,g"

Change-Id: I90bcf81ea046bc88297ed8eadc560ad31d19830b
2013-06-04 12:01:02 +02:00
24b331efed *api: convert rest of <member scope="foo">
sed -i 's,<member scope="\([^"]*\)">\([^<]\+\)</member>,\1::\2,g'

Change-Id: Idbe0adc5a88e430c99257d4d61e540bf0eeaea8f
2013-06-04 12:01:02 +02:00
bb6503dd08 *api: convert remaining <member>
sed -i "s,<member>\([^<]\+\)</member>,\1,g"

Change-Id: I74c80f5aa610477fab28faec52e55c3137984aec
2013-06-04 12:01:01 +02:00
4bb43e1612 *api: replace <member>Foo</member>
These member variables need a # prefix.

sed -i "s,<member>\([^<:]\+[^)]\)</member>,#\1,g"

Change-Id: I721b90f4edae32b5a362479bdbd60423f6427364
2013-06-04 12:01:01 +02:00
ea71a05840 *api: convert <member scope="foo">bar</member>
sed -i 's,<member scope="\([^"]*\)">\([^<]*::[a-z][^<:]\+[^)]\)</member>,\1::\2(),g'

Change-Id: I265ff28fee73a271f205294e59955b3a1c81d95a
2013-06-04 12:01:01 +02:00
3122600a5e *api: convert <member>Foo::bar</member>
Doxygen would probably recognize these without () too but add them for
consistency.

sed -i "s,<member>\([^<]*::[a-z][^<:]\+[^)]\)</member>,\1(),g"

Change-Id: I2615b99265b75633459e35164e54d9da7fe76b85
2013-06-04 12:01:00 +02:00
b352a8bf03 *api: convert <member>method</member> to method()
Doxygen will only recognize a un-qualified method name as such if it is
followed by "()".

sed -i "s,<member>\([a-z][^<]\+[^)]\)</member>,\1(),g"

Change-Id: I69bc17849e76f3a3d91c6daf0f1be8168a83cfc5
2013-06-04 12:01:00 +02:00
9f12a9da8d *api: convert <type scope="bar">Foo</type>
This looks much better now.

sed -i 's,<type scope="\([^"]*\)">\([^<]\+\)</type>,\1::\2,g'

Change-Id: I94cd0f93afa89855b62dadeb229d2b2e1775cd80
2013-06-04 12:01:00 +02:00
944eb99027 *api: convert <type>Foo</type>
Doxygen does not know type element and will recognize strings that
contain capital letter (all API types do) automatically as type.
This patch removes 15k doxygen warnings.

git ls-files | grep \\.idl | xargs sed -i "s,<type>\([^<]\+\)</type>,\1,"

Change-Id: I45c07cf0b115d5fb5353f4aa9719839615ea1150
2013-06-04 12:00:59 +02:00
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
db7a441342 Typo fix: informations -> information and a few other adjacent typos.
FDO:60724

Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b
Reviewed-on: https://gerrit.libreoffice.org/2479
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-02 02:45:55 +00:00
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
f1204419af fdo#46808, Adapt document::XMLOasisBasicImporter UNO service to new style
Change-Id: Ic494847cf56c7661474d2a096dccc675780c9ce1
2013-02-12 10:14:43 +02:00
e5fdaec54a fdo#46808, Adapt document::XML*BasicExporter UNO services to new style
The services are
   document::XMLBasicExporter
   document::XMLOasisBasicExporter

Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11 08:02:11 +02:00
765aca651a API CHANGE: unpublish com.sun.star.document.MediaDescriptor.
This is a service that basically describes the properties passed to
loadComponentFromURL and possibly other load/save related APIs.  As
some properties get deprecated (some already have), new ones added as
the loading processs gets re-worked (including the type detection
process), we need the flexibility to change its property set.

Since all properties described here are optional, leaving it published
would make little sense.

Change-Id: I59384e62c7b6ab5c599141c8fc73a37c8bfe56e7
2013-02-06 09:38:33 -05:00
77856e81ce fdo#46808, Adapt document::*PropertyValues UNO service to new style
The services are:
   document::NamedPropertyValues
   document::IndexedPropertyValues
The services already existed, they just did not have IDL files

Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28 08:25:24 +02:00
b772eb0c72 fdo#46808, Adapt document::FilterConfigRefresh UNO service to new style
The service already existed, it just did not have an IDL file

Change-Id: I6894a3435159d9f529f2036354e70ee6358fc778
2013-01-28 08:25:23 +02:00
49cf14a3ca fdo#46808, Adapt document::GraphicObjectResolver UNO service to new style
The services already existed, it just did not have an IDL file

Change-Id: I245f78c165dbfde11a981efd7033c5c282f4e8ad
2013-01-28 08:22:53 +02:00
2a1b850b78 clean up all the UNO IDL module header guards
.. so I don't keep tripping over the bad ones during my UNO cleanup work.

(1) make them all use a similar syntax, makes it easier to run my automatic checker
(2) some of them were just cut'n'paste accidents waiting to happen
(3) remove unnecessary header guards in the __including__ file. That is very brittle.

Change-Id: I4e679c15161483ad93aeb316a25d6db6d97e9d4e
2012-12-21 09:12:07 +02:00
90eac3e697 API CHANGE remove [oneway] method attributes
Remove non-functional and broken [oneway] attributes from all idl
files. Change idl compiler to no longer digest such idl.

Change-Id: Ie14c5012beccb6242d7cd592d434a88091b695d1
2012-11-30 14:36:35 +01:00
e6f81b1898 API CHANGE: remove com.sun.star.document.XDocumentInfo
The following badly designed interfaces and services were deprecated
in OpenOffice.org 3.0 and are now remove from the API:

com.sun.star.document.DocumentInfo
com.sun.star.document.StandaloneDocumentInfo
com.sun.star.document.XDocumentInfo
com.sun.star.document.XDocumentInfoSupplier
com.sun.star.document.XStandaloneDocumentInfo

The supported replacements for these have been introduced in OOo 3.0:

com.sun.star.document.XDocumentProperties
com.sun.star.document.XDocumentPropertiesSupplier
com.sun.star.document.DocumentProperties

http://www.mail-archive.com/interface-announce@openoffice.org/msg00432.html

Remove the implementation of these interfaces and services in sfx2
(SfxBaseModel, objuno.cxx)

Also remove unit tests for these services in qadevOOo and sfx2.

Conflicts:
	offapi/type_reference/types.rdb

Change-Id: Ib0b48a4e53a8079c82fac3bb49a829812f8e5256
2012-11-26 23:14:33 +01:00
117fdb9898 convert users of XDocumentInfo to XDocumentProperties
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-22 12:10:30 +01:00
079485a648 sal, cppuhelper, udkapi, offapi: s/@since 3.7/@since 4.0/
Change-Id: Iefbe31af8d6ec421c6006423b6ee3a6375e3d453
2012-11-20 21:44:16 +01:00
1a9261124e CMIS: added cancelCheckOut and checkIn implementations and menu items
Although the implementation is here, the dialogs to show when clicking
on the menu items aren't there yet.

Change-Id: I14886ec8ea8b97a35ca6c8474bc33e30da1a86d3
2012-10-31 12:03:30 +01:00
793ea6fe90 CMIS: don't show up checkout info bar if the document is not versionable
Change-Id: I7761e0b06e151822a63a7273a4e61d5cdc648311
2012-10-31 12:03:29 +01:00
c767f82403 CMIS: Implemented the CheckOut button of the InfoBar
Implementing it needed:
 + Adding XCmisDocument::checkOut method and implement it in SfxBaseModel
 + Moving the CMIS properties loading into a SfxBaseModel private method to
factorize code.
 + Adding the SfxInfoBarContainerChild registration in all modules

Change-Id: I35bcb53cd2feff354aa5d9245897d0631cc924a0
2012-10-11 17:31:18 +02:00
f5a84d8c1a CMIS: Provide the CMIS properties in the UNO API of documents
Change-Id: Ieb48f615a80e1fa2d49b4efada1f8f9fc4349c29
2012-10-11 17:31:17 +02:00
c73745117d re-base on ALv2 code. Includes:
linecap: Reintegrating finished LineCap feature
    Work contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    i118815 - Deprecate service due to removed implementation
    Patch contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1233320

    i118814 - Allow set timeout in Mail API
    Patch contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1235679

    included in the Apache baseline:
    dr80: #i117511# remove some assertions in xlsx/xlsb import filters
    Patch contributed by Daniel Rentz
2012-09-27 11:35:06 +01:00
7a045f48ba read support for docx w:embedTrueTypeFonts/w:embedSystemFonts
No write support yet.

Change-Id: Ia10239acc77cf9ebc4f511e30c007da36abf43cb
2012-09-06 17:35:48 +02:00
fc29987385 Remove comment art from offapi and udkapi
I used this "one-liner" to detect comment lines containing
only spaces and '=' or '-'

$ find . -name "*.*" -exec sed -i '/^\s*\/\/\s*[-=]*\s*$/d' {} \;

Change-Id: Iac589765c8c2e7c3ad9c487d57e48b4fd4439f07
2012-08-12 19:29:16 +02:00
85e94e11bc remove empty ascii boxes and stuff II
Change-Id: I7fc113f8d59f7c82bae6acace7bf4230b4c2bbea
2012-08-07 18:08:29 +02:00
63607e9e07 re-base on ALv2 code. 2012-06-12 14:56:28 +01:00
3893b00efb fdo#46808, Adapt UNO services to new style
Update selected IDL files to use new syntax.
Update the makefiles to generate the necessary new include files.

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-04-02 20:44:39 +02:00
78cca63070 Revert publishing of lots of UNO types.
See issue i#117329

This reverts commit fb2b2be1bf566b5ef4d308332dbbdfe7012f6f1c.
This reverts commit 0b494e0cb9eb6652d00397fb6ca8d9b6709e4cb5.
This reverts commit 3e396922c2926165d680e8051c3d9247ea4aaf78.
This reverts commit 0461d179dddc2caab6315e6f7ec7bb3804dd017a.
This reverts commit 0f79c68194206864c993cd0fb01a485d2db2664f.
This reverts commit 65162840e329afee6f401f5a91273c2dbd1bbdf8.

Conflicts:
	offapi/com/sun/star/drawing/XSlidePreviewCache.idl
	offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl
	offapi/com/sun/star/rendering/FontInfo.idl
	offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XColorSpace.idl
	offapi/com/sun/star/report/XFixedLine.idl
	offapi/com/sun/star/report/XFixedText.idl
	offapi/com/sun/star/report/XFormattedField.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XImageControl.idl
	offapi/com/sun/star/report/XReportControlFormat.idl
	offapi/com/sun/star/report/XReportDefinition.idl
	offapi/com/sun/star/xml/crypto/SEInitializer.idl
2012-01-26 22:11:48 +01:00
91894d52b6 add mode-lines to .idl files 2012-01-05 09:18:17 +00:00
577943dc7b offapi: kill dmakefiles 2011-11-21 22:45:58 +01:00
c8f40655ea Keep the container and object separate methods.
ScVbaControl doesn't have any container instance to pass to the
old method.
2011-08-16 21:22:44 -04:00
d2e538a635 Slightly changed the API. 2011-08-16 21:22:42 -04:00
39b2de7545 Code page should be the same for the same drawing page.
This removes O(n^2) from the process of querying the code pages for
form elements.
2011-08-16 21:22:41 -04:00
4430b3f234 Merge remote-tracking branch 'origin/integration/dev300_m106'
Conflicts:
	offapi/com/sun/star/awt/XCallback.idl
	offapi/com/sun/star/awt/XContainerWindowEventHandler.idl
	offapi/com/sun/star/awt/XContainerWindowProvider.idl
	offapi/com/sun/star/awt/XDialogEventHandler.idl
	offapi/com/sun/star/awt/XDialogProvider.idl
	offapi/com/sun/star/awt/XRequestCallback.idl
	offapi/com/sun/star/awt/XUnitConversion.idl
	offapi/com/sun/star/awt/grid/GridColumnEvent.idl
	offapi/com/sun/star/awt/tab/TabPageActivatedEvent.idl
	offapi/com/sun/star/awt/tree/ExpandVetoException.idl
	offapi/com/sun/star/awt/tree/TreeDataModelEvent.idl
	offapi/com/sun/star/awt/tree/TreeExpansionEvent.idl
	offapi/com/sun/star/awt/tree/XMutableTreeDataModel.idl
	offapi/com/sun/star/awt/tree/XMutableTreeNode.idl
	offapi/com/sun/star/awt/tree/XTreeControl.idl
	offapi/com/sun/star/awt/tree/XTreeDataModel.idl
	offapi/com/sun/star/awt/tree/XTreeDataModelListener.idl
	offapi/com/sun/star/awt/tree/XTreeEditListener.idl
	offapi/com/sun/star/awt/tree/XTreeExpansionListener.idl
	offapi/com/sun/star/awt/tree/XTreeNode.idl
	offapi/com/sun/star/document/DocumentEvent.idl
	offapi/com/sun/star/document/XDocumentEventListener.idl
	offapi/com/sun/star/frame/XLayoutManagerListener.idl
	offapi/com/sun/star/geometry/XMapping2D.idl
	offapi/com/sun/star/inspection/XObjectInspectorUI.idl
	offapi/com/sun/star/inspection/XPropertyControl.idl
	offapi/com/sun/star/inspection/XPropertyControlFactory.idl
	offapi/com/sun/star/inspection/XPropertyControlObserver.idl
	offapi/com/sun/star/inspection/XPropertyHandler.idl
	offapi/com/sun/star/inspection/XStringRepresentation.idl
	offapi/com/sun/star/logging/LogRecord.idl
	offapi/com/sun/star/logging/XLogFormatter.idl
	offapi/com/sun/star/logging/XLogHandler.idl
	offapi/com/sun/star/logging/XLogger.idl
	offapi/com/sun/star/presentation/XSlideShowListener.idl
	offapi/com/sun/star/presentation/XSlideShowView.idl
	offapi/com/sun/star/rendering/FontInfo.idl
	offapi/com/sun/star/rendering/StrokeAttributes.idl
	offapi/com/sun/star/rendering/VolatileContentDestroyedException.idl
	offapi/com/sun/star/rendering/XAnimatedSprite.idl
	offapi/com/sun/star/rendering/XAnimation.idl
	offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XBitmapCanvas.idl
	offapi/com/sun/star/rendering/XBufferController.idl
	offapi/com/sun/star/rendering/XCachedPrimitive.idl
	offapi/com/sun/star/rendering/XCanvas.idl
	offapi/com/sun/star/rendering/XCanvasFont.idl
	offapi/com/sun/star/rendering/XColorSpace.idl
	offapi/com/sun/star/rendering/XCustomSprite.idl
	offapi/com/sun/star/rendering/XGraphicDevice.idl
	offapi/com/sun/star/rendering/XLinePolyPolygon2D.idl
	offapi/com/sun/star/rendering/XParametricPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XSprite.idl
	offapi/com/sun/star/rendering/XSpriteCanvas.idl
	offapi/com/sun/star/rendering/XTextLayout.idl
	offapi/com/sun/star/report/XFixedLine.idl
	offapi/com/sun/star/report/XFixedText.idl
	offapi/com/sun/star/report/XFormatCondition.idl
	offapi/com/sun/star/report/XFormattedField.idl
	offapi/com/sun/star/report/XFunction.idl
	offapi/com/sun/star/report/XFunctions.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XGroup.idl
	offapi/com/sun/star/report/XGroups.idl
	offapi/com/sun/star/report/XImageControl.idl
	offapi/com/sun/star/report/XReportComponent.idl
	offapi/com/sun/star/report/XReportControlModel.idl
	offapi/com/sun/star/report/XReportDefinition.idl
	offapi/com/sun/star/report/XSection.idl
	offapi/com/sun/star/report/XShape.idl
	offapi/com/sun/star/report/inspection/DefaultComponentInspectorModel.idl
	offapi/com/sun/star/resource/XStringResourceResolver.idl
	offapi/com/sun/star/resource/XStringResourceWithLocation.idl
	offapi/com/sun/star/sdb/XDocumentDataSource.idl
	offapi/com/sun/star/sdb/XFormDocumentsSupplier.idl
	offapi/com/sun/star/sdb/XOfficeDatabaseDocument.idl
	offapi/com/sun/star/sdb/XReportDocumentsSupplier.idl
	offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl
	offapi/com/sun/star/sdb/tools/XConnectionTools.idl
	offapi/com/sun/star/security/SecurityInfrastructureException.idl
	offapi/com/sun/star/ui/XUIConfigurationManager.idl
	offapi/com/sun/star/ui/XUIElement.idl
	offapi/com/sun/star/ui/XUIElementSettings.idl
	offapi/com/sun/star/util/XModifiable2.idl
	offapi/com/sun/star/view/XMultiSelectionSupplier.idl
	offapi/com/sun/star/xml/crypto/SEInitializer.idl
	offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
2011-05-27 20:47:59 +02:00
bef8909ce1 Merge commit 'ooo/DEV300_m106' into libreoffice-3-4
Conflicts:
	offapi/com/sun/star/animations/XAnimationNode.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/drawing/framework/XPaneBorderPainter.idl
	offapi/com/sun/star/frame/ModuleManager.idl
	offapi/com/sun/star/frame/XLayoutManager.idl
	offapi/com/sun/star/frame/XLayoutManagerListener.idl
	offapi/com/sun/star/rendering/FontInfo.idl
	offapi/com/sun/star/rendering/XBezierPolyPolygon2D.idl
	offapi/com/sun/star/rendering/XCanvas.idl
	offapi/com/sun/star/rendering/XSprite.idl
	offapi/com/sun/star/report/ForceNewPage.idl
	offapi/com/sun/star/report/ReportPrintOption.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XReportControlFormat.idl
	offapi/com/sun/star/resource/StringResourceWithLocation.idl
	offapi/com/sun/star/resource/XStringResourceResolver.idl
	offapi/com/sun/star/resource/XStringResourceWithLocation.idl
	offapi/com/sun/star/sdb/XSingleSelectQueryComposer.idl
	offapi/com/sun/star/security/XCertificateContainer.idl
	offapi/com/sun/star/ui/UIElementFactory.idl
	offapi/com/sun/star/ui/XImageManager.idl
	offapi/com/sun/star/ui/XUIConfigurationManager.idl
	offapi/com/sun/star/ui/XUIElementFactory.idl
	offapi/com/sun/star/ui/XUIElementSettings.idl
	offapi/com/sun/star/xml/crypto/SEInitializer.idl
	offapi/com/sun/star/xml/crypto/XSEInitializer.idl
	offapi/com/sun/star/xml/crypto/XSecurityEnvironment.idl
	offapi/com/sun/star/xml/crypto/XXMLSecurityContext.idl
	sal/rtl/source/alloc_arena.c
	udkapi/com/sun/star/task/XInteractionHandler2.idl
2011-04-22 15:10:13 +02:00
45e7a5b78c Strip include guards in idl files 2011-04-02 00:08:53 +02:00
0d730cba6f drop bogus executable flag from idl/build/src and config files 2011-03-29 21:47:37 +01:00