Commit graph

192 commits

Author SHA1 Message Date
Caolán McNamara
6b44b03c13 coverity#737244 Uncaught exception
Change-Id: I9e34e14d1266310458bb491259e4bf9880e8a19f
2014-06-04 09:38:12 +01:00
Caolán McNamara
ae6b606f57 coverity#737243 Uncaught exception
Change-Id: I4bef14453d076f11066a695bc4a948cea5cfd40b
2014-06-04 09:38:12 +01:00
Zolnai Tamás
53c376d35b bnc#870237: wrong text position in grouped list
In grouped list text area does not cover the whole
shape but just a part of it at the top.
To get the same visual effect modify text distance
attribute.

Change-Id: I32f30d0afbc1975f940c4562ec65f46596e97060
2014-05-30 13:45:36 +02:00
Tor Lillqvist
38d7b82c27 OleObjectInfo is used from the scfilt library so must be public
Change-Id: Ib80278e52640b0c132bcc5b303d277a4e7ae2024
2014-05-23 12:17:50 +03:00
Tor Lillqvist
cf287f4e3f WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: I05aa9a5ad5d97a1ead3d30298f45e7aeb62d0652
2014-05-23 11:47:51 +03:00
Jacobo Aragunde Pérez
b5f6a5cfc5 ooxml: Do not repeat wdp files in artistic effects
When two pictures apply different effects to the same picture, it is
only saved once in the original document. Added a cache to DrawingML
to know if the picture has already been exported, and added a test
for it.

Change-Id: Ia25f3d8f2f46d61f18aefc22fdfdbcdc72f2d916
2014-05-23 10:04:00 +02:00
Jacobo Aragunde Pérez
2e68a1468c ooxml: Preserve the original picture in artistic effects
When Word applies an artistic effect, it creates two embedded files;
one contains the bitmap with the effect and the other one contains the
original bitmap to be able to undo the effect.

This patch reads the original bitmap, stores it in the shape grab bag
and saves it back to the docx file. Added unit tests too.

TODO: right now, if two effects point to the same original bitmap it
is stored twice, we should improve this.

Change-Id: Ia72034a257739abe4ffafa0f42b2a912e4bf9436
2014-05-23 10:04:00 +02:00
Jacobo Aragunde Pérez
642a252cf1 ooxml: preserve artistic effects on shapes.
Bitmaps can define artistic effects like in the following example:

  <a:blip r:embed="rId5">
    <a:extLst>
      <a:ext uri="{BEBA8EAE-BF5A-486C-A8C5-ECC9F3942E4B}">
        <a14:imgProps
         xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main">
          <a14:imgLayer r:embed="rId6">
            <a14:imgEffect>
              <a14:artisticMarker trans="14000" size="80" />
            </a14:imgEffect>
          </a14:imgLayer>
        </a14:imgProps>
      </a:ext>
    </a:extLst>
  </a:blip>

LO core doesn't support them, but I'm preserving them using the shape
grab bag. Bitmaps must not be transformed to a SwXTextGraphicObject
so the grab bag of the XShape is not discarded.

Added several Context and Properties objects on the import side to
traverse and save the relevant tags, and added the corresponding code
on the export side to extract the grab bag and output the effect back.

Also added a unit test for a selection of artistic effects.

TODO: Word saves the original bitmap as an embedded wdp file so the
effect can be undone. We must preserve it too and add the reference to
the a14:imgLayer tag.

Change-Id: I61d427f83e4c8f353eb073da0114cd73ba50ba4b
2014-05-23 10:03:59 +02:00
Jacobo Aragunde Pérez
be415a0f9a ooxml: Preserve shape effects when there's more than one
Transformed the preservation process of shape effects to be able to
store more than one effect. For that we:

* Created the Effect struct and added a vector member to the
  EffectProperties struct.
* Changed the shadow effect to use the new Effect struct,
  EffectShadowProperties struct is preserved because the direction
  field still has some use but we should remove it.
* Changed the structure of the grab bag to store more than one effect.
* Modified an existing unit test to check shapes with several effects.

Change-Id: I0dd908fa1d9578827c02ef6272fc9e2b914391be
2014-05-16 14:11:22 +02:00
Noel Grandin
248145f99e Find places where uno::Sequence is passed by value.
Implement a clang plugin to find them, and clean up existing code
to pass them by reference.

Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8
Reviewed-on: https://gerrit.libreoffice.org/9351
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14 08:10:22 +00:00
Jacobo Aragunde Pérez
fe88fac28a oox: Use references to prevent unnecessary object copies
Change-Id: I5113bc581a8ac98b97c6598a5355e050c7ad7860
2014-05-13 10:28:55 +02:00
Jacobo Aragunde Pérez
4b4f7e17ad ooxml: Preserve shape 3d effects: extrusion and contour colors
Shapes 3D effects can specify colors for extrusion and contours like
in the following example:

  <a:sp3d extrusionH="25400" prstMaterial="metal">
    <a:extrusionClr>
      <a:schemeClr val="accent5">
        <a:lumMod val="40000"/>
        <a:lumOff val="60000"/>
      </a:schemeClr>
    </a:extrusionClr>
    <a:contourClr>
      <a:srgbClr val="3333FF"/>
    </a:contourClr>
  </a:sp3d>

Colors can be theme-defined or set in RGB and can contain
transformations.

This patch preserves all the color information using the shape grab
bag and modifies an existing unit test to add this check.

Change-Id: Ida168affd4ca2135d0bd8f97135dc1cd1e74165a
2014-05-13 10:28:55 +02:00
Jacobo Aragunde Pérez
e8679367c9 ooxml: Preserve shape 3d effects: material
Shapes 3D effects can specify a material like in the following example:

  <a:sp3d prstMaterial="metal" z="488950" />

This patch preserves the prstMaterial attribute in the sp3d tag using
the shape grab bag and modifies an existing unit test to add this
check.

Change-Id: I7be2dbbcc7e599d5f0fb8fa53ec1d180c18d8ebd
2014-05-13 10:28:54 +02:00
Caolán McNamara
92da838efc coverity#1079343 Uninitialized pointer field
Change-Id: I05ec88144273c15181e9afa8f616b0ab11695f04
2014-05-10 21:13:02 +01:00
Jacobo Aragunde Pérez
f6422b3dfc ooxml: Preserve shape 3d effects: top and bottom bevel
Shapes 3D effects can specify top and bottom bevels like in the
following example:

  <a:sp3d z="488950" extrusionH="63500" contourW="50800">
    <a:bevelT w="139700" h="88900" prst="cross"/>
    <a:bevelB h="88900" prst="relaxedInset"/>
  </a:sp3d>

This patch preserves the a:bevel* tags and their attributes using the
shape grab bag and modifies an existing unit test to add this check.

Change-Id: I4762111e4d2f75ba2fd3721a126aa324a28a853c
2014-05-09 14:11:38 +02:00
Jacobo Aragunde Pérez
6566c218af ooxml: Preserve shape 3d effects: z, contour and extrusion
Shapes can contain 3D effects like in the following example:

  <a:sp3d z="488950" extrusionH="63500" contourW="50800"/>

This patch preserves the a:sp3d tag and its attributes using the shape
grab bag and modifies an existing unit test to add this check.

Change-Id: Ice3cae39c71784be0f6c7f2700b07c21a5e1fb6e
2014-05-09 14:10:46 +02:00
Jacobo Aragunde Pérez
0df9ec782e oox: preserve scene3d/lightRig effects on shapes.
Shapes can contain 3D effects like in the following example:

  <a:scene3d>
    <a:camera prst="isometricLeftDown" zoom="150000"/>
    <a:lightRig rig="threePt" dir="t">
      <a:rot lat="0" lon="0" rev="4800000"/>
    </a:lightRig>
  </a:scene3d>

This patch preserves the a:lightRig tag, its attributes and the child
element a:rot using the shape grab bag. It also adds a unit test for
this case.

Change-Id: I66b6de3c2b5ef89223b10da54006e28113b8ba5f
2014-05-09 14:10:46 +02:00
Miklos Vajna
c39f66023a oox: unused CustomShapeProvider
Change-Id: Ia8b23df9a78385f9129d5cea1195a8ba210113d2
2014-05-06 21:58:47 +02:00
Miklos Vajna
f0d6137c4e oox: prepare for importing a TextBox property on shapes
Writer's SwXShape doesn't have that property yet, though.

Change-Id: I997eb188574fab93d35595972fdc2eaebabc015b
2014-05-06 17:11:44 +02:00
Jacobo Aragunde Pérez
36e22e83a1 oox: preserve camera rotation on shape 3D effects.
Camera options in shape 3D effects can have rotation settings like in
the following example:

  <a:camera prst="perspectiveRelaxedModerately" zoom="150000">
     <a:rot lat="19490639" lon="0" rev="12900001"/>
  </a:camera>

This patch preserves the a:rot tag and its attributes using the
shape grab bag. We created the class Scene3DRotationPropertiesContext
to be piled on top of a Scene3DPropertiesContext and process the
contents of the child item. It also adds a unit test for this case.

Change-Id: Id6bf58ad05fe5b49061619b6750ed0658badc9af
2014-05-06 16:32:28 +02:00
Jacobo Aragunde Pérez
1b7773cb07 oox: preserve scene3d/camera effects on shapes.
Shapes can contain 3D effects like in the following example:

  <a:scene3d>
    <a:camera prst="isometricLeftDown" zoom="150000"/>
    <a:lightRig rig="threePt" dir="t"/>
  </a:scene3d>

This patch preserves the a:camera tag and its attributes using the
shape grab bag. It also adds a unit test for this case.

Change-Id: Ic6a78031d2e1fb84a2bacd97b5cc9c55d9dbaa95
2014-05-06 16:32:28 +02:00
Jacobo Aragunde Pérez
8d2a5c16c7 oox: Integrate Shape3DProperties and Scene3DPropertiesContext
Code for these two classes was already present but it was commented
out or left outside of the build system because it didn't even
compile. I've brought it back and made it compile, but it has no use
yet. The goal is using it to preserve 3D transformations.

At scene3dcontext.cxx I removed the text chunks found in the middle
of the source and corrected some mistakes; I also modified the
conversion of "fov" attribute.

At shape3dproperties.hxx I removed all the struct members because
they seemed to have been copied&pasted from another file, and added
only those members that made sense. Removed useless function
definitions.

Change-Id: I2c00ea638e1a4fb1a3820bc4c322488296d3e6d7
2014-05-06 16:32:27 +02:00
Pedro Giffuni
19c4d8d2fb Many spelling fixes: directories h* - p*.
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done  before.

(cherry picked from commit 11a1ff6144521aeabb0c6db25c89a2ac31bedee0)

Conflicts:
	external/libxmlsec/xmlsec1-customkeymanage.patch
	hwpfilter/source/hwpeq.cxx
	icc/README
	icu/createmak.pl
	idl/source/objects/object.cxx
	idlc/inc/idlc/errorhandler.hxx
	include/jvmfwk/framework.h
	include/oox/helper/propertyset.hxx
	instsetoo_native/inc_ure/windows/msi_templates/_Validat.idt
	javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/LinuxInstaller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Installer/SolarisInstaller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/InstallerHelper/LinuxHelper.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/SetupData/ProductDescription.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Util/Controller.java
	javainstaller2/src/JavaSetup/org/openoffice/setup/Util/ExecuteProcess.java
	javaunohelper/com/sun/star/comp/helper/SharedLibraryLoader.java
	javaunohelper/com/sun/star/lib/uno/helper/MultiTypeInterfaceContainer.java
	jurt/com/sun/star/comp/servicemanager/ServiceManager.java
	jvmfwk/plugins/sunmajor/pluginlib/sunversion.cxx
	jvmfwk/source/elements.cxx
	jvmfwk/source/elements.hxx
	l10ntools/inc/wtranode.hxx
	l10ntools/inc/wtratree.hxx
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/Convert.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/ConverterException.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/FileMaker.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIWriter.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/GSIandSDFMerger.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/SDFReader.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/SDFWriter.java
	l10ntools/java/l10nconv/java/com/sun/star/tooling/converter/XLIFFWriter.java
	l10ntools/scripts/localize.pl
	l10ntools/scripts/localize_old.pl
	l10ntools/source/cfgmerge.cxx
	l10ntools/source/export.cxx
	l10ntools/source/filter/merge/FCFGMerge.java
	l10ntools/source/filter/merge/Merger.java
	l10ntools/source/filter/utils/Cache.java
	l10ntools/source/filter/utils/ConfigHelper.java
	l10ntools/source/filter/utils/FileHelper.java
	l10ntools/source/filter/utils/XMLHelper.java
	l10ntools/source/merge.cxx
	l10ntools/source/tagtest.cxx
	l10ntools/source/xmlparse.cxx
	l10ntools/source/xrmmerge.cxx
	libtextcat/libtextcat-2.2.patch
	libxml2/libxml2-long-path.patch
	linguistic/inc/linguistic/misc.hxx
	linguistic/source/lngsvcmgr.cxx
	migrationanalysis/src/driver_docs/allstrings.ulf
	migrationanalysis/src/driver_docs/sources/AnalysisDriver.bas
	migrationanalysis/src/driver_docs/sources/CommonMigrationAnalyser.bas
	migrationanalysis/src/driver_docs/sources/word/MigrationAnalyser.cls
	migrationanalysis/src/msokill/msokill.cpp
	migrationanalysis/src/wizard/Wizard.frm
	odk/examples/DevelopersGuide/Accessibility/EventHandler.java
	odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java
	odk/examples/DevelopersGuide/Accessibility/GraphicalDisplay.java
	odk/examples/DevelopersGuide/Forms/DataAwareness.java
	odk/examples/DevelopersGuide/Forms/KeyGenerator.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/DocumentView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/FunctionHelper.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/Interceptor.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/NativeView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/OnewayExecutor.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusListener.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/StatusView.java
	odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ViewContainer.java
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
	odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java
	odk/examples/cpp/complextoolbarcontrols/Makefile
	odk/setsdkenv_windows.template
	offapi/com/sun/star/accessibility/AccessibleEventId.idl
	offapi/com/sun/star/accessibility/AccessibleEventObject.idl
	offapi/com/sun/star/accessibility/AccessibleRelationType.idl
	offapi/com/sun/star/accessibility/XAccessible.idl
	offapi/com/sun/star/accessibility/XAccessibleRelationSet.idl
	offapi/com/sun/star/accessibility/XAccessibleStateSet.idl
	offapi/com/sun/star/animations/Event.idl
	offapi/com/sun/star/animations/XAnimationNode.idl
	offapi/com/sun/star/awt/AccessibleListBoxList.idl
	offapi/com/sun/star/awt/XLayoutFlow.idl
	offapi/com/sun/star/awt/XMessageBoxFactory.idl
	offapi/com/sun/star/awt/XPopupMenu.idl
	offapi/com/sun/star/awt/grid/XGridColumn.idl
	offapi/com/sun/star/chart/ChartAxis.idl
	offapi/com/sun/star/chart2/data/TabularDataProviderArguments.idl
	offapi/com/sun/star/chart2/data/XDatabaseDataProvider.idl
	offapi/com/sun/star/configuration/AdministrationProvider.idl
	offapi/com/sun/star/configuration/ConfigurationRegistry.idl
	offapi/com/sun/star/configuration/backend/XBackendChangesNotifier.idl
	offapi/com/sun/star/datatransfer/XDataFormatTranslator.idl
	offapi/com/sun/star/datatransfer/clipboard/RenderingCapabilities.idl
	offapi/com/sun/star/deployment/InvalidRemovedParameterException.idl
	offapi/com/sun/star/document/DocumentInfo.idl
	offapi/com/sun/star/document/EmptyUndoStackException.idl
	offapi/com/sun/star/document/EventObject.idl
	offapi/com/sun/star/document/ExtendedTypeDetection.idl
	offapi/com/sun/star/document/ExtendedTypeDetectionFactory.idl
	offapi/com/sun/star/document/FilterFactory.idl
	offapi/com/sun/star/document/MediaDescriptor.idl
	offapi/com/sun/star/document/NoSuchFilterRequest.idl
	offapi/com/sun/star/document/OfficeDocument.idl
	offapi/com/sun/star/document/TypeDetection.idl
	offapi/com/sun/star/document/UndoContextNotClosedException.idl
	offapi/com/sun/star/document/XExtendedFilterDetection.idl
	offapi/com/sun/star/document/XFilter.idl
	offapi/com/sun/star/document/XInteractionFilterSelect.idl
	offapi/com/sun/star/document/XTypeDetection.idl
	offapi/com/sun/star/drawing/Hatch.idl
	offapi/com/sun/star/drawing/XDrawPages.idl
	offapi/com/sun/star/drawing/XShapeBinder.idl
	offapi/com/sun/star/drawing/framework/XConfigurationControllerRequestQueue.idl
	offapi/com/sun/star/drawing/framework/XRelocatableResource.idl
	offapi/com/sun/star/embed/ElementModes.idl
	offapi/com/sun/star/embed/EntryInitModes.idl
	offapi/com/sun/star/embed/Storage.idl
	offapi/com/sun/star/embed/StorageFactory.idl
	offapi/com/sun/star/embed/StorageStream.idl
	offapi/com/sun/star/embed/XCommonEmbedPersist.idl
	offapi/com/sun/star/embed/XEmbedObjectClipboardCreator.idl
	offapi/com/sun/star/embed/XEmbeddedClient.idl
	offapi/com/sun/star/embed/XInplaceClient.idl
	offapi/com/sun/star/embed/XInplaceObject.idl
	offapi/com/sun/star/embed/XInsertObjectDialog.idl
	offapi/com/sun/star/embed/XPersistanceHolder.idl
	offapi/com/sun/star/embed/XStorage.idl
	offapi/com/sun/star/embed/XTransactionBroadcaster.idl
	offapi/com/sun/star/embed/XTransactionListener.idl
	offapi/com/sun/star/form/FormComponents.idl
	offapi/com/sun/star/form/XSubmitListener.idl
	offapi/com/sun/star/form/binding/BindableDataAwareControlModel.idl
	offapi/com/sun/star/form/binding/BindableDatabaseListBox.idl
	offapi/com/sun/star/form/component/DatabaseComboBox.idl
	offapi/com/sun/star/form/component/DatabaseFormattedField.idl
	offapi/com/sun/star/form/component/DatabasePatternField.idl
	offapi/com/sun/star/form/component/DatabaseTextField.idl
	offapi/com/sun/star/form/component/GridControl.idl
	offapi/com/sun/star/frame/Components.idl
	offapi/com/sun/star/frame/ContentHandler.idl
	offapi/com/sun/star/frame/ContentHandlerFactory.idl
	offapi/com/sun/star/frame/Desktop.idl
	offapi/com/sun/star/frame/DispatchDescriptor.idl
	offapi/com/sun/star/frame/DispatchProvider.idl
	offapi/com/sun/star/frame/DispatchRecorder.idl
	offapi/com/sun/star/frame/Frame.idl
	offapi/com/sun/star/frame/FrameActionEvent.idl
	offapi/com/sun/star/frame/FrameLoaderFactory.idl
	offapi/com/sun/star/frame/ProtocolHandler.idl
	offapi/com/sun/star/frame/XControlNotificationListener.idl
	offapi/com/sun/star/frame/XDesktop.idl
	offapi/com/sun/star/frame/XDispatchRecorderSupplier.idl
	offapi/com/sun/star/frame/XDocumentTemplates.idl
	offapi/com/sun/star/frame/XFrame.idl
	offapi/com/sun/star/frame/XFrameLoader.idl
	offapi/com/sun/star/frame/XInterceptorInfo.idl
	offapi/com/sun/star/frame/XRecordableDispatch.idl
	offapi/com/sun/star/frame/XStatusbarController.idl
	offapi/com/sun/star/frame/XStorable2.idl
	offapi/com/sun/star/frame/XSynchronousDispatch.idl
	offapi/com/sun/star/frame/XTerminateListener2.idl
	offapi/com/sun/star/graphic/GraphicObject.idl
	offapi/com/sun/star/graphic/XGraphicObject.idl
	offapi/com/sun/star/inspection/XNumericControl.idl
	offapi/com/sun/star/inspection/XObjectInspectorModel.idl
	offapi/com/sun/star/inspection/XPropertyHandler.idl
	offapi/com/sun/star/installation/XProtocolHandlerCheck.idl
	offapi/com/sun/star/installation/protocols.idl
	offapi/com/sun/star/linguistic2/SpellFailure.idl
	offapi/com/sun/star/linguistic2/XLinguServiceManager.idl
	offapi/com/sun/star/mail/XMailServer.idl
	offapi/com/sun/star/mozilla/XPluginInstance.idl
	offapi/com/sun/star/mozilla/XPluginInstanceSyncPeer.idl
	offapi/com/sun/star/packages/zip/ZipIOException.idl
	offapi/com/sun/star/presentation/OutlineView.idl
	offapi/com/sun/star/presentation/XPresentation2.idl
	offapi/com/sun/star/presentation/XSlideShow.idl
	offapi/com/sun/star/presentation/XSlideShowController.idl
	offapi/com/sun/star/report/XFunction.idl
	offapi/com/sun/star/report/XFunctionsSupplier.idl
	offapi/com/sun/star/report/XReportComponent.idl
	offapi/com/sun/star/report/XReportDefinition.idl
	offapi/com/sun/star/report/meta/XFunctionManager.idl
	offapi/com/sun/star/resource/XStringResourcePersistence.idl
	offapi/com/sun/star/resource/XStringResourceWithLocation.idl
	offapi/com/sun/star/resource/XStringResourceWithStorage.idl
	offapi/com/sun/star/sdb/DataSettings.idl
	offapi/com/sun/star/sdb/ErrorCondition.idl
	offapi/com/sun/star/sdb/SQLContext.idl
	offapi/com/sun/star/sdb/Table.idl
	offapi/com/sun/star/sdb/XRowSetApproveListener.idl
	offapi/com/sun/star/sdb/application/XDatabaseDocumentUI.idl
	offapi/com/sun/star/sdb/tools/XConnectionTools.idl
	offapi/com/sun/star/sdbc/DataType.idl
	offapi/com/sun/star/sdbc/XDatabaseMetaData.idl
	offapi/com/sun/star/sdbcx/Descriptor.idl
	offapi/com/sun/star/security/DocumentSignatureInformation.idl
	offapi/com/sun/star/sheet/AccessibleSpreadsheetDocumentView.idl
	offapi/com/sun/star/sheet/AccessibleSpreadsheetPageView.idl
	offapi/com/sun/star/sheet/DatabaseRange.idl
	offapi/com/sun/star/smarttags/XSmartTagAction.idl
	offapi/com/sun/star/table/AccessibleTableView.idl
	offapi/com/sun/star/table/CellProperties.idl
	offapi/com/sun/star/table/CellRangeListSource.idl
	offapi/com/sun/star/table/CellValueBinding.idl
	offapi/com/sun/star/table/XMergeableCellRange.idl
	offapi/com/sun/star/task/DocumentPasswordRequest.idl
	offapi/com/sun/star/task/JobExecutor.idl
	offapi/com/sun/star/task/MasterPasswordRequest.idl
	offapi/com/sun/star/task/PasswordRequest.idl
	offapi/com/sun/star/task/XJob.idl
	offapi/com/sun/star/text/AccessiblePageView.idl
	offapi/com/sun/star/text/AccessibleTextDocumentView.idl
	offapi/com/sun/star/text/LineNumberingProperties.idl
	offapi/com/sun/star/text/NumberingRules.idl
	offapi/com/sun/star/text/XRelativeTextContentRemove.idl
	offapi/com/sun/star/text/textfield/Database.idl
	offapi/com/sun/star/text/textfield/SetExpression.idl
	offapi/com/sun/star/text/textfield/docinfo/Description.idl
	offapi/com/sun/star/text/textfield/docinfo/Info0.idl
	offapi/com/sun/star/text/textfield/docinfo/Info1.idl
	offapi/com/sun/star/text/textfield/docinfo/Info2.idl
	offapi/com/sun/star/text/textfield/docinfo/Info3.idl
	offapi/com/sun/star/text/textfield/docinfo/Keywords.idl
	offapi/com/sun/star/text/textfield/docinfo/Revision.idl
	offapi/com/sun/star/text/textfield/docinfo/Subject.idl
	offapi/com/sun/star/text/textfield/docinfo/Title.idl
	offapi/com/sun/star/ucb/CommandFailedException.idl
	offapi/com/sun/star/ucb/Content.idl
	offapi/com/sun/star/ucb/ContentAction.idl
	offapi/com/sun/star/ucb/FetchError.idl
	offapi/com/sun/star/ucb/FetchResult.idl
	offapi/com/sun/star/ucb/HierarchyDataSource.idl
	offapi/com/sun/star/ucb/InteractiveFileIOException.idl
	offapi/com/sun/star/ucb/SearchRecursion.idl
	offapi/com/sun/star/ucb/UniversalContentBroker.idl
	offapi/com/sun/star/ucb/XAnyCompare.idl
	offapi/com/sun/star/ucb/XCachedContentResultSetFactory.idl
	offapi/com/sun/star/ucb/XCachedDynamicResultSetFactory.idl
	offapi/com/sun/star/ucb/XContentIdentifierMapping.idl
	offapi/com/sun/star/ui/UIElementType.idl
	offapi/com/sun/star/ui/dialogs/FilePicker.idl
	offapi/com/sun/star/ui/dialogs/FolderPicker.idl
	offapi/com/sun/star/util/PathSubstitution.idl
	offapi/com/sun/star/util/XChangesNotifier.idl
	offapi/com/sun/star/util/XCloseBroadcaster.idl
	offapi/com/sun/star/util/XCloseListener.idl
	offapi/com/sun/star/util/XCloseable.idl
	offapi/com/sun/star/util/XStringSubstitution.idl
	offapi/com/sun/star/util/XTextSearch.idl
	offapi/com/sun/star/util/XURLTransformer.idl
	offapi/com/sun/star/xforms/XModel.idl
	offapi/com/sun/star/xml/sax/XFastAttributeList.idl
	offapi/com/sun/star/xml/sax/XFastParser.idl
	officecfg/registry/data/org/openoffice/Office/Labels.xcu
	officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
	officecfg/registry/schema/org/openoffice/Office/Common.xcs
	officecfg/registry/schema/org/openoffice/Office/Embedding.xcs
	officecfg/registry/schema/org/openoffice/Office/ExtensionDependencies.xcs
	officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs
	officecfg/registry/schema/org/openoffice/Office/Histories.xcs
	officecfg/registry/schema/org/openoffice/Office/OptionsDialog.xcs
	officecfg/registry/schema/org/openoffice/Office/Paths.xcs
	officecfg/registry/schema/org/openoffice/Office/PresenterScreen.xcs
	officecfg/registry/schema/org/openoffice/Office/TabBrowse.xcs
	officecfg/registry/schema/org/openoffice/Office/UI.xcs
	officecfg/registry/schema/org/openoffice/Office/UI/Sidebar.xcs
	officecfg/registry/schema/org/openoffice/Office/UI/WindowState.xcs
	officecfg/registry/schema/org/openoffice/Office/WebWizard.xcs
	officecfg/registry/schema/org/openoffice/Office/Writer.xcs
	officecfg/registry/schema/org/openoffice/Setup.xcs
	officecfg/registry/schema/org/openoffice/TypeDetection/Types.xcs
	oox/source/xls/sheetdatabuffer.cxx
	package/source/xstor/xstorage.cxx
	padmin/source/padialog.src
	postprocess/signing/signing.pl
	pyuno/source/module/pyuno_module.cxx

Change-Id: I60c7b6d661ff803b5e9214ac7fefb32772ef19a7
2014-04-30 17:11:30 +01:00
Miklos Vajna
8c128ceebb oox: remove now unused helper methods (generated code used them in the past)
Change-Id: I532dc4ec24c635b9889d77c37113a8ece2c9b88b
2014-04-29 11:08:38 +02:00
Tomaž Vajngerl
c2d5b59fc6 fdo#77089 pass shape dimensions to graphicfilter for WMF
Change-Id: I673a76ef85038b1f304ea85faeed5b4a462cb144
2014-04-24 22:51:15 +02:00
Jacobo Aragunde Pérez
211637d575 ooxml: Preserve inner shadow effect on shapes.
Reused most of the code of outerShdw effect. Modified an existing
unit test to add a check for innerShdw.

Change-Id: Ifdd77850bfd3b5fa250594469455b1b66c338611
2014-04-23 17:42:20 +02:00
Jacobo Aragunde Pérez
71b4af858e ooxml: Preserve outer shadow effect on shapes.
The goal is preserving the shadow effect with all its attributes using
the shape grab bag. This is the relevant piece of XML in the document:

    <a:effectLst>
      <a:outerShdw blurRad="50800" dist="38100"
      dir="2700000" algn="tl" rotWithShape="0">
        <a:schemeClr val="accent1">
          <a:alpha val="40000" />
        </a:schemeClr>
      </a:outerShdw>
    </a:effectLst>

In first place, we added members to the structure EffectProperties to
store the effect name and attributes. Later, when we create the shape,
we add them to the shape grab bag together with the shadow color (if
it is a theme color we store its name and transformations like in
other cases). Finally, we read back all these data from the shape grab
bag and write them back to the document.

I added a unit test for this shape property.

Change-Id: Idda2d5e2970cb8563e2ed13a84b2fa2d4b99aa70
2014-04-23 14:50:59 +02:00
Noel Grandin
e32da77836 oox: sal_Bool->bool
Change-Id: Icddec34e91305cfc3f9d852472bb86eab4d8cb26
2014-04-23 11:11:51 +02:00
umeshkadam
255194801e fod#77122 DOCX filter: link between textboxes is not being preserved
Added support for linked textboxes for docx interoperability.

Reviewed on:
	https://gerrit.libreoffice.org/9092

Change-Id: I7db4f5a1783afff53c64908d182788b262f5e863
2014-04-22 12:09:40 +02:00
Thomas Arnhold
56de7aafcb fixincludeguards.sh: include/oox
Change-Id: Ie0aca6c4fdfa4b7e4a902983c751a6d13d85f230
2014-04-19 11:10:12 +02:00
Miklos Vajna
3168756d6e Remove now unused oox::drawingml::CustomShapeProperties::PresetsMap
Change-Id: I25a713094089f4d6df9fbb3ce9e5015ea66eb34a
2014-04-18 08:30:12 +02:00
Miklos Vajna
d28b9e8fef oox: initial customshape preset data loader
CustomShapeProperties::pushToPropSet() still uses the old generated
code, though.

Change-Id: I02550bdf4ac57ef54992facd7ccd144e798be1e8
2014-04-17 15:10:36 +02:00
Miklos Vajna
142d63d015 oox: add a method to dump a PropertyMap as data
It was already possible to dump a PropertyMap as code, but not as data.
The plan here is that if we dump the customshape preset definitions as
data, then once there is a parser for it, we can get rid of the ugly
generated code.

Change-Id: If596941fedf71693e5d0bff436446ac0855c4c84
2014-04-16 18:36:41 +02:00
Thomas Arnhold
07a43d8db4 SvxMSConvertOCXControlsRemoved never defined 2014-04-14 12:31:46 +02:00
Sourav
69eebf8735 fdo76591:-Textbox property (order-> send behind text) is not preserved.
Z-Index was not handledin LO for vml.
I have made the changes to handle that using aGrabBag.

Change-Id: I2af3b2974c8eb699bc6a7b743dc438584d6517ac
Reviewed-on: https://gerrit.libreoffice.org/8833
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-08 03:20:50 -05:00
Markus Mohrhard
3f50246f6a import data point symbol color
Change-Id: I27ebd67a535f8617a6f535414ee8426fae6614b9
2014-04-06 01:45:31 +02:00
Markus Mohrhard
08906623da remove whitespace
Change-Id: I69454c3d9bddfe01da2622117a16bbb37797062a
2014-04-06 01:45:31 +02:00
Markus Mohrhard
4074f6f92d improve chart series symbol export
Using the chart2 service allows us to export series symbols instead of
the diagram settings.

Change-Id: Ic46f067b60c972af35c0628b3ec4f7851580d725
2014-04-06 01:45:31 +02:00
Noel Grandin
f3802139ac oox: sal_Bool->bool
Change-Id: Ia05b3210314c39db5110eded731f2be4b7405e87
2014-04-03 09:17:51 +02:00
Noel Grandin
e8f4a2541b oox: sal_Bool->bool
Change-Id: I50788585dbcc489325dc9536a8e4d974a710e30d
2014-04-03 09:17:51 +02:00
Noel Grandin
22472e093d oox: sal_Bool->bool
Change-Id: I2ad60bd64cabb29a9e909f31e7d5bd92989120f7
2014-04-03 09:17:50 +02:00
Noel Grandin
8ee4af289f oox: sal_Bool->bool
Change-Id: If611cf344d82640b284c159e2e6394074b30e2db
2014-04-03 09:17:50 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
Muthu Subramanian
cfc76de83e n#870234: Import gradfill for text colors.
Uses the first color from the gradfill list.
(Which is better than plain black!)

Change-Id: I4c1c0c4b031f3681c95b75b3c0683eb4de95bffb
2014-03-28 17:40:48 +05:30
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Muthu Subramanian
c17eb67460 n#862510: anchorCtr controls the anchoring as well.
Change-Id: Ib244d89a9f7d400b3891d477314cd5f0193552e0
2014-03-27 13:27:28 +05:30
Tomaž Vajngerl
15b3e29808 fdo#76222 oox: add support for MSO 2007 SP2 encrypted documents
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
2014-03-24 18:22:42 +01:00
Tomaž Vajngerl
970517af3e oox: add Digest class which uses NSS or OpenSSL for digest calc.
Document encryption and decryption uses either NSS or OpenSSL to
calculate digest. Digest class hides the implementation details
between the two implementations. Previously, functions sha1 and
sha512 were used for this, but were less generic.

Change-Id: I60119e2ab9c5c1f4a2b02bc417c3c89c53a63fda
2014-03-23 18:36:59 +01:00
Caolán McNamara
ae97d0c4f3 covertity#707954 Uninitialized scalar field
Change-Id: I837a2065e0f604ca53b5ebb7464bff9db0cbaf6b
2014-03-22 20:40:50 +00:00
Stephan Bergmann
afe84a3dbb loplugin:passstringbyref
Change-Id: I4de62139cc479ee1f96988b7f2c2f5f2bfae44a6
2014-03-18 15:27:08 +01:00