tdf#42949 Fix some more Include What You Use warnings
Change-Id: I2040315707674dc99a37aedb96ac61dca274c13a Reviewed-on: https://gerrit.libreoffice.org/47348 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
This commit is contained in:
parent
f042128907
commit
67e1e2ee40
@ -20,5 +20,6 @@
|
||||
#define OOX_TOKEN_NAMESPACES_HXX
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <oox/token/tokens.hxx>
|
||||
|
||||
namespace oox {
|
||||
|
@ -60,6 +60,7 @@ inline sal_Int32 getNamespace( sal_Int32 nToken ) { return nToken & NMSP_MASK; }
|
||||
#define WPG_TOKEN( token ) OOX_TOKEN( wpg, token )
|
||||
#define W_TOKEN( token ) OOX_TOKEN( doc, token )
|
||||
#define LOEXT_TOKEN( token ) OOX_TOKEN( loext, token )
|
||||
#define M_TOKEN(token) OOX_TOKEN(officeMath, token)
|
||||
|
||||
|
||||
|
||||
|
@ -24,7 +24,6 @@ The primary internal data structure for the formula is the text representation
|
||||
(the SmNode tree is built from it), so read data must be converted into this format.
|
||||
*/
|
||||
|
||||
#define M_TOKEN( token ) OOX_TOKEN( officeMath, token )
|
||||
#define OPENING( token ) XML_STREAM_OPENING( token )
|
||||
#define CLOSING( token ) XML_STREAM_CLOSING( token )
|
||||
|
||||
|
@ -30,8 +30,6 @@
|
||||
#include <com/sun/star/text/XTextColumns.hpp>
|
||||
#include <com/sun/star/text/HoriOrientation.hpp>
|
||||
|
||||
#include <vcl/svapp.hxx>
|
||||
|
||||
class Test : public SwModelTestBase
|
||||
{
|
||||
public:
|
||||
|
@ -42,8 +42,6 @@
|
||||
#include <com/sun/star/text/XFormField.hpp>
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <vcl/outdev.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
|
@ -83,6 +83,7 @@
|
||||
#include <com/sun/star/i18n/ScriptType.hpp>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
#include <svl/grabbagitem.hxx>
|
||||
#include "rtfexport.hxx"
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace sw::util;
|
||||
|
@ -24,17 +24,16 @@
|
||||
#include <com/sun/star/drawing/FillStyle.hpp>
|
||||
|
||||
#include "attributeoutputbase.hxx"
|
||||
#include "rtfexport.hxx"
|
||||
#include "rtfstringbuffer.hxx"
|
||||
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <svx/xenum.hxx>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
class SwGrfNode;
|
||||
class SwOLENode;
|
||||
class SwFlyFrameFormat;
|
||||
class RtfExport;
|
||||
|
||||
/// The class that has handlers for various resource types when exporting as RTF
|
||||
class RtfAttributeOutput : public AttributeOutputBase
|
||||
|
@ -17,6 +17,8 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "rtfexport.hxx"
|
||||
|
||||
#include "rtfexportfilter.hxx"
|
||||
#include "rtfsdrexport.hxx"
|
||||
#include "rtfattributeoutput.hxx"
|
||||
@ -36,7 +38,6 @@
|
||||
#include <swmodule.hxx>
|
||||
#include <IDocumentLayoutAccess.hxx>
|
||||
#include <IDocumentStylePoolAccess.hxx>
|
||||
#include "ww8par.hxx"
|
||||
#include <comphelper/string.hxx>
|
||||
#include <svtools/rtfkeywd.hxx>
|
||||
#include <filter/msfilter/rtfutil.hxx>
|
||||
@ -49,6 +50,8 @@
|
||||
#include <fmtmeta.hxx>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
#include <IDocumentSettingAccess.hxx>
|
||||
#include <fmtfsize.hxx>
|
||||
#include <ndtxt.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
#include <docsh.hxx>
|
||||
#include <IDocumentLayoutAccess.hxx>
|
||||
#include <editsh.hxx>
|
||||
#include <unotxdoc.hxx>
|
||||
#include <viewsh.hxx>
|
||||
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include <textboxhelper.hxx>
|
||||
#include <dcontact.hxx>
|
||||
#include <algorithm>
|
||||
#include "rtfexport.hxx"
|
||||
|
||||
using namespace css;
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
|
||||
#include "wrtww8.hxx"
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
||||
|
||||
#include "rtfstringbuffer.hxx"
|
||||
#include "rtfattributeoutput.hxx"
|
||||
#include "rtfexport.hxx"
|
||||
|
||||
RtfStringBufferValue::RtfStringBufferValue() = default;
|
||||
|
||||
|
@ -13,9 +13,6 @@
|
||||
#include <com/sun/star/io/WrongFormatException.hpp>
|
||||
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
|
||||
|
||||
#include <osl/file.hxx>
|
||||
#include <osl/process.h>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
/**
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <osl/file.hxx>
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
|
@ -7,9 +7,8 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "rtflistener.hxx"
|
||||
#include "rtfcontrolwords.hxx"
|
||||
#include <oox/token/namespaces.hxx>
|
||||
#include <oox/token/tokens.hxx>
|
||||
#include <cstring>
|
||||
|
||||
namespace writerfilter
|
||||
|
@ -2013,8 +2013,6 @@ struct RTFMathSymbol
|
||||
bool operator<(const RTFMathSymbol& rOther) const;
|
||||
};
|
||||
|
||||
#define M_TOKEN(token) OOX_TOKEN(officeMath, token)
|
||||
|
||||
extern RTFMathSymbol aRTFMathControlWords[];
|
||||
extern int nRTFMathControlWords;
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "rtfreferenceproperties.hxx"
|
||||
#include "rtfsdrimport.hxx"
|
||||
#include "rtfskipdestination.hxx"
|
||||
#include "rtftokenizer.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -7,24 +7,17 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "rtfdocumentimpl.hxx"
|
||||
#include <memory>
|
||||
#include <com/sun/star/beans/PropertyAttribute.hpp>
|
||||
#include <com/sun/star/document/DocumentProperties.hpp>
|
||||
#include <com/sun/star/drawing/XEnhancedCustomShapeDefaulter.hpp>
|
||||
#include <com/sun/star/graphic/GraphicProvider.hpp>
|
||||
#include <com/sun/star/io/WrongFormatException.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/text/HoriOrientation.hpp>
|
||||
#include <com/sun/star/text/VertOrientation.hpp>
|
||||
#include <com/sun/star/text/RelOrientation.hpp>
|
||||
#include <com/sun/star/text/WrapTextMode.hpp>
|
||||
#include <com/sun/star/text/TextContentAnchorType.hpp>
|
||||
#include <svl/lngmisc.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
#include <com/sun/star/drawing/XDrawPageSupplier.hpp>
|
||||
#include <vcl/wmf.hxx>
|
||||
#include <vcl/layout.hxx>
|
||||
#include <filter/msfilter/util.hxx>
|
||||
#include <comphelper/string.hxx>
|
||||
#include <svtools/grfmgr.hxx>
|
||||
@ -32,23 +25,19 @@
|
||||
#include <tools/datetimeutils.hxx>
|
||||
#include <comphelper/classids.hxx>
|
||||
#include <comphelper/embeddedobjectcontainer.hxx>
|
||||
#include <comphelper/sequenceashashmap.hxx>
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <sfx2/sfxbasemodel.hxx>
|
||||
#include <sfx2/classificationhelper.hxx>
|
||||
#include <sfx2/sfxresid.hxx>
|
||||
#include <oox/mathml/import.hxx>
|
||||
#include <ooxml/resourceids.hxx>
|
||||
#include <oox/token/namespaces.hxx>
|
||||
#include <oox/drawingml/drawingmltypes.hxx>
|
||||
#include <rtl/uri.hxx>
|
||||
#include <dmapper/DomainMapperFactory.hxx>
|
||||
#include <rtl/tencinfo.h>
|
||||
#include <oox/helper/graphichelper.hxx>
|
||||
#include "rtfsdrimport.hxx"
|
||||
#include "rtflookahead.hxx"
|
||||
#include "rtfcharsets.hxx"
|
||||
#include "rtfreferenceproperties.hxx"
|
||||
#include "rtfskipdestination.hxx"
|
||||
#include "rtffly.hxx"
|
||||
#include "rtftokenizer.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFDOCUMENTIMPL_HXX
|
||||
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFDOCUMENTIMPL_HXX
|
||||
|
||||
#include <stack>
|
||||
#include <queue>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
@ -20,9 +19,9 @@
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/document/XDocumentProperties.hpp>
|
||||
#include <com/sun/star/text/WrapTextMode.hpp>
|
||||
#include <oox/helper/graphichelper.hxx>
|
||||
#include <oox/mathml/importutils.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
#include <rtftok/RTFDocument.hxx>
|
||||
#include "rtfreferencetable.hxx"
|
||||
@ -30,6 +29,10 @@
|
||||
#include "rtflistener.hxx"
|
||||
|
||||
class SvStream;
|
||||
namespace oox
|
||||
{
|
||||
class GraphicHelper;
|
||||
}
|
||||
|
||||
namespace writerfilter
|
||||
{
|
||||
|
@ -14,6 +14,8 @@
|
||||
#include <com/sun/star/text/RelOrientation.hpp>
|
||||
#include <com/sun/star/text/VertOrientation.hpp>
|
||||
|
||||
#include <osl/endian.h>
|
||||
|
||||
namespace writerfilter
|
||||
{
|
||||
namespace rtftok
|
||||
|
@ -8,7 +8,9 @@
|
||||
*/
|
||||
|
||||
#include "rtflookahead.hxx"
|
||||
#include <com/sun/star/task/XStatusIndicator.hpp>
|
||||
#include <tools/stream.hxx>
|
||||
#include "rtftokenizer.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -11,8 +11,8 @@
|
||||
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFLOOKAHEAD_HXX
|
||||
|
||||
#include <memory>
|
||||
#include <sal/types.h>
|
||||
#include "rtflistener.hxx"
|
||||
#include "rtftokenizer.hxx"
|
||||
|
||||
class SvStream;
|
||||
|
||||
@ -20,6 +20,7 @@ namespace writerfilter
|
||||
{
|
||||
namespace rtftok
|
||||
{
|
||||
class RTFTokenizer;
|
||||
/**
|
||||
* This acts like an importer, but used for looking ahead, e.g. to
|
||||
* determine if the current group contains a table, etc.
|
||||
|
@ -43,6 +43,8 @@
|
||||
#include <boost/logic/tribool.hpp>
|
||||
#include <basegfx/matrix/b2dhommatrix.hxx>
|
||||
#include <android/compatibility.hxx>
|
||||
#include <dmapper/GraphicZOrderHelper.hxx>
|
||||
#include "rtfdocumentimpl.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -11,16 +11,21 @@
|
||||
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSDRIMPORT_HXX
|
||||
|
||||
#include <stack>
|
||||
|
||||
#include <com/sun/star/drawing/XShapes.hpp>
|
||||
#include <vector>
|
||||
|
||||
#include <dmapper/GraphicZOrderHelper.hxx>
|
||||
#include "rtfdocumentimpl.hxx"
|
||||
#include <com/sun/star/drawing/XShapes.hpp>
|
||||
#include <com/sun/star/lang/XComponent.hpp>
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
|
||||
namespace writerfilter
|
||||
{
|
||||
namespace rtftok
|
||||
{
|
||||
class RTFDocumentImpl;
|
||||
class RTFShape;
|
||||
|
||||
/// Handles the import of drawings using RTF markup.
|
||||
class RTFSdrImport final
|
||||
{
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include "rtfskipdestination.hxx"
|
||||
#include <osl/diagnose.h>
|
||||
#include <sal/log.hxx>
|
||||
#include "rtflistener.hxx"
|
||||
|
||||
namespace writerfilter
|
||||
{
|
||||
|
@ -10,12 +10,12 @@
|
||||
#ifndef INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
|
||||
#define INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
|
||||
|
||||
#include "rtflistener.hxx"
|
||||
|
||||
namespace writerfilter
|
||||
{
|
||||
namespace rtftok
|
||||
{
|
||||
class RTFListener;
|
||||
|
||||
/// Skips a destination after a not parsed control word if it was prefixed with \*
|
||||
class RTFSkipDestination final
|
||||
{
|
||||
|
@ -9,15 +9,14 @@
|
||||
|
||||
#include "rtftokenizer.hxx"
|
||||
#include <tools/stream.hxx>
|
||||
#include <unotools/resmgr.hxx>
|
||||
#include <vcl/settings.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <svx/dialmgr.hxx>
|
||||
#include <svx/strings.hrc>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include "rtfskipdestination.hxx"
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/character.hxx>
|
||||
#include "rtfskipdestination.hxx"
|
||||
#include <com/sun/star/io/BufferSizeExceededException.hpp>
|
||||
#include <osl/diagnose.h>
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <com/sun/star/task/XStatusIndicator.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
|
||||
class SvStream;
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <comphelper/propertysequence.hxx>
|
||||
#include <comphelper/string.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <test/bootstrapfixture.hxx>
|
||||
#include <test/xmltesttools.hxx>
|
||||
#include <unotest/macros_test.hxx>
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
|
||||
#include <com/sun/star/ui/dialogs/FolderPicker.hpp>
|
||||
#include <comphelper/sequenceashashmap.hxx>
|
||||
#include <sfx2/opengrf.hxx>
|
||||
|
||||
#include "EPUBExportFilter.hxx"
|
||||
|
@ -10,12 +10,16 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTDIALOG_HXX
|
||||
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTDIALOG_HXX
|
||||
|
||||
#include <comphelper/sequenceashashmap.hxx>
|
||||
#include <vcl/button.hxx>
|
||||
#include <vcl/dialog.hxx>
|
||||
#include <vcl/edit.hxx>
|
||||
#include <vcl/lstbox.hxx>
|
||||
|
||||
namespace comphelper
|
||||
{
|
||||
class SequenceAsHashMap;
|
||||
}
|
||||
|
||||
namespace writerperfect
|
||||
{
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#include <com/sun/star/text/XPageCursor.hpp>
|
||||
#include <com/sun/star/text/XTextViewCursorSupplier.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/view/XRenderable.hpp>
|
||||
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
|
||||
|
||||
#include <comphelper/genericpropertyset.hxx>
|
||||
|
@ -18,7 +18,8 @@
|
||||
#include <com/sun/star/document/XExporter.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <tools/gen.hxx>
|
||||
|
||||
class Size;
|
||||
|
||||
namespace writerperfect
|
||||
{
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
|
||||
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/vclptr.hxx>
|
||||
|
@ -10,8 +10,6 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX
|
||||
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <com/sun/star/beans/XPropertyAccess.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <com/sun/star/uno/Sequence.h>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/xml/sax/XWriter.hpp>
|
||||
|
||||
|
@ -10,6 +10,8 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLFOOTNOTEIMPORTCONTEXT_HXX
|
||||
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLFOOTNOTEIMPORTCONTEXT_HXX
|
||||
|
||||
#include <librevenge/librevenge.h>
|
||||
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
#include "xmlictxt.hxx"
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include "XMLTextListContext.hxx"
|
||||
#include "txtparai.hxx"
|
||||
#include "xmlimp.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
#include <librevenge/librevenge.h>
|
||||
|
||||
#include "xmlictxt.hxx"
|
||||
|
||||
namespace writerperfect
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "txtstyli.hxx"
|
||||
|
||||
#include "xmlfmt.hxx"
|
||||
#include "xmlimp.hxx"
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -12,10 +12,13 @@
|
||||
|
||||
#include <map>
|
||||
|
||||
#include <librevenge/librevenge.h>
|
||||
|
||||
#include "xmlictxt.hxx"
|
||||
|
||||
namespace librevenge
|
||||
{
|
||||
class RVNGPropertyList;
|
||||
}
|
||||
|
||||
namespace writerperfect
|
||||
{
|
||||
namespace exp
|
||||
|
@ -10,8 +10,6 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX
|
||||
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX
|
||||
|
||||
#include <librevenge/librevenge.h>
|
||||
|
||||
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include <com/sun/star/xml/sax/Writer.hpp>
|
||||
#include <comphelper/propertyvalue.hxx>
|
||||
#include <rtl/uri.hxx>
|
||||
#include <tools/gen.hxx>
|
||||
#include <tools/stream.hxx>
|
||||
#include <tools/urlobj.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
|
@ -23,7 +23,8 @@
|
||||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <tools/gen.hxx>
|
||||
|
||||
class Size;
|
||||
|
||||
namespace writerperfect
|
||||
{
|
||||
|
@ -10,6 +10,8 @@
|
||||
#ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX
|
||||
#define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX
|
||||
|
||||
#include <librevenge/librevenge.h>
|
||||
|
||||
#include "xmlictxt.hxx"
|
||||
|
||||
namespace writerperfect
|
||||
|
@ -26,12 +26,13 @@
|
||||
|
||||
#include <svl/sigstruct.hxx>
|
||||
#include "xmlsignaturehelper.hxx"
|
||||
#include "pdfsignaturehelper.hxx"
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/embed/XStorage.hpp>
|
||||
#include "documentsignaturehelper.hxx"
|
||||
#include <com/sun/star/beans/PropertyValue.hpp>
|
||||
|
||||
class PDFSignatureHelper;
|
||||
|
||||
/// Manages signatures (addition, removal), used by DigitalSignaturesDialog.
|
||||
class XMLSECURITY_DLLPUBLIC DocumentSignatureManager
|
||||
{
|
||||
|
@ -11,13 +11,17 @@
|
||||
#ifndef INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
|
||||
#define INCLUDED_XMLSECURITY_INC_PDFIO_PDFDOCUMENT_HXX
|
||||
|
||||
#include <vcl/filter/pdfdocument.hxx>
|
||||
|
||||
#include <tools/stream.hxx>
|
||||
|
||||
#include <xmlsecuritydllapi.h>
|
||||
|
||||
namespace vcl
|
||||
{
|
||||
namespace filter
|
||||
{
|
||||
class PDFObjectElement;
|
||||
}
|
||||
}
|
||||
struct SignatureInformation;
|
||||
class SvStream;
|
||||
|
||||
namespace xmlsecurity
|
||||
{
|
||||
|
@ -15,9 +15,7 @@
|
||||
|
||||
#include <com/sun/star/io/XInputStream.hpp>
|
||||
#include <com/sun/star/security/DocumentSignatureInformation.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
|
||||
#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
|
||||
#include <com/sun/star/xml/crypto/XSecurityEnvironment.hpp>
|
||||
|
||||
#include <svl/sigstruct.hxx>
|
||||
|
||||
|
@ -15,9 +15,11 @@
|
||||
#include <tools/datetime.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <vcl/filter/pdfdocument.hxx>
|
||||
|
||||
#include <documentsignaturemanager.hxx>
|
||||
#include <pdfio/pdfdocument.hxx>
|
||||
#include <pdfsignaturehelper.hxx>
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
@ -18,27 +18,20 @@
|
||||
#include <unotest/macros_test.hxx>
|
||||
#include <test/xmltesttools.hxx>
|
||||
|
||||
#include <com/sun/star/document/XStorageBasedDocument.hpp>
|
||||
#include <com/sun/star/embed/XStorage.hpp>
|
||||
#include <com/sun/star/embed/XTransactedObject.hpp>
|
||||
#include <com/sun/star/frame/Desktop.hpp>
|
||||
#include <com/sun/star/frame/XStorable.hpp>
|
||||
#include <com/sun/star/xml/crypto/SEInitializer.hpp>
|
||||
#include <com/sun/star/io/TempFile.hpp>
|
||||
#include <com/sun/star/packages/manifest/ManifestReader.hpp>
|
||||
#include <com/sun/star/security/DocumentDigitalSignatures.hpp>
|
||||
#include <com/sun/star/security/XDocumentDigitalSignatures.hpp>
|
||||
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <comphelper/propertysequence.hxx>
|
||||
#include <sax/tools/converter.hxx>
|
||||
#include <unotools/mediadescriptor.hxx>
|
||||
#include <unotools/tempfile.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
#include <comphelper/storagehelper.hxx>
|
||||
#include <tools/date.hxx>
|
||||
#include <tools/time.hxx>
|
||||
#include <sfx2/sfxbasemodel.hxx>
|
||||
#include <sfx2/objsh.hxx>
|
||||
#include <osl/file.hxx>
|
||||
|
@ -42,6 +42,8 @@
|
||||
|
||||
#include <xmlsec/xmlsec_init.hxx>
|
||||
|
||||
#include <pdfsignaturehelper.hxx>
|
||||
|
||||
using namespace css;
|
||||
|
||||
DocumentSignatureManager::DocumentSignatureManager(
|
||||
|
@ -16,7 +16,6 @@
|
||||
#include <com/sun/star/beans/StringPair.hpp>
|
||||
|
||||
#include <comphelper/ofopxmlhelper.hxx>
|
||||
#include <config_global.h>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <unotools/datetime.hxx>
|
||||
|
@ -14,11 +14,10 @@
|
||||
#include <com/sun/star/io/XTruncate.hpp>
|
||||
#include <com/sun/star/security/CertificateValidity.hpp>
|
||||
#include <com/sun/star/uno/SecurityException.hpp>
|
||||
#include <com/sun/star/xml/crypto/SEInitializer.hpp>
|
||||
|
||||
#include <comphelper/sequence.hxx>
|
||||
#include <tools/stream.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <vcl/filter/pdfdocument.hxx>
|
||||
|
||||
#include <pdfio/pdfdocument.hxx>
|
||||
|
||||
|
@ -9,46 +9,17 @@
|
||||
|
||||
#include <pdfio/pdfdocument.hxx>
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <comphelper/scopeguard.hxx>
|
||||
#include <comphelper/string.hxx>
|
||||
#include <filter/msfilter/mscodec.hxx>
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/strbuf.hxx>
|
||||
#include <rtl/string.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <sal/log.hxx>
|
||||
#include <sal/types.h>
|
||||
#include <sax/tools/converter.hxx>
|
||||
#include <tools/zcodec.hxx>
|
||||
#include <unotools/calendarwrapper.hxx>
|
||||
#include <unotools/datetime.hxx>
|
||||
#include <vcl/pdfwriter.hxx>
|
||||
#include <xmloff/xmluconv.hxx>
|
||||
#include <o3tl/make_unique.hxx>
|
||||
|
||||
#include <svl/sigstruct.hxx>
|
||||
#include <svl/cryptosign.hxx>
|
||||
|
||||
#ifdef XMLSEC_CRYPTO_NSS
|
||||
#include <cert.h>
|
||||
#include <cms.h>
|
||||
#include <nss.h>
|
||||
#include <secerr.h>
|
||||
#include <sechash.h>
|
||||
#endif
|
||||
|
||||
#ifdef XMLSEC_CRYPTO_MSCRYPTO
|
||||
#include <prewin.h>
|
||||
#include <wincrypt.h>
|
||||
#include <postwin.h>
|
||||
#include <comphelper/windowserrorstring.hxx>
|
||||
#endif
|
||||
#include <vcl/filter/pdfdocument.hxx>
|
||||
|
||||
using namespace com::sun::star;
|
||||
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include <vcl/pngwrite.hxx>
|
||||
#include <vcl/svapp.hxx>
|
||||
#include <vcl/graphicfilter.hxx>
|
||||
#include <vcl/filter/pdfdocument.hxx>
|
||||
|
||||
#include <pdfio/pdfdocument.hxx>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user