No need for a separate <vcl/graph.h>

Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
This commit is contained in:
Tor Lillqvist
2015-12-11 16:17:06 +02:00
parent e67a834c5d
commit a643222794
29 changed files with 39 additions and 97 deletions

View File

@@ -124,7 +124,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -141,7 +141,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -129,7 +129,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -108,7 +108,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/impdel.hxx>

View File

@@ -138,7 +138,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/help.hxx>

View File

@@ -116,7 +116,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/keycod.hxx>

View File

@@ -109,7 +109,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/impdel.hxx>

View File

@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -24,7 +24,6 @@
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/window.hxx>
#include <vcl/graph.hxx>
#include <vcl/metaact.hxx>

View File

@@ -113,7 +113,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -94,7 +94,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/keycodes.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/region.hxx>

View File

@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -128,7 +128,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/i18nhelp.hxx>

View File

@@ -1,61 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_VCL_GRAPH_H
#define INCLUDED_VCL_GRAPH_H
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
enum GraphicType
{
GRAPHIC_NONE,
GRAPHIC_BITMAP,
GRAPHIC_GDIMETAFILE,
GRAPHIC_DEFAULT
};
class ReaderData;
class VCL_DLLPUBLIC GraphicReader
{
protected:
OUString maUpperName;
ReaderData* mpReaderData;
GraphicReader() :
mpReaderData( NULL ) {}
public:
virtual ~GraphicReader();
const OUString& GetUpperFilterName() const { return maUpperName; }
// TODO: when incompatible changes are possible again
// the preview size hint should be redone
void DisablePreviewMode();
void SetPreviewSize( const Size& );
Size GetPreviewSize() const;
};
#endif // INCLUDED_VCL_GRAPH_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -23,25 +23,54 @@
#include <tools/stream.hxx>
#include <vcl/dllapi.h>
#include <tools/solar.h>
#include <rtl/ustring.hxx>
#include <vcl/bitmap.hxx>
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/gfxlink.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <vcl/svgdata.hxx>
enum GraphicType
{
GRAPHIC_NONE,
GRAPHIC_BITMAP,
GRAPHIC_GDIMETAFILE,
GRAPHIC_DEFAULT
};
namespace com { namespace sun { namespace star { namespace graphic { class XGraphic;} } } }
// - Graphic -
class ImpGraphic;
class OutputDevice;
namespace vcl { class Font; }
class GfxLink;
class GfxLink;
class ImpGraphic;
class OutputDevice;
class ReaderData;
class VCL_DLLPUBLIC GraphicReader
{
protected:
OUString maUpperName;
ReaderData* mpReaderData;
GraphicReader() :
mpReaderData( NULL ) {}
public:
virtual ~GraphicReader();
const OUString& GetUpperFilterName() const { return maUpperName; }
// TODO: when incompatible changes are possible again
// the preview size hint should be redone
void DisablePreviewMode();
void SetPreviewSize( const Size& );
Size GetPreviewSize() const;
};
class VCL_DLLPUBLIC GraphicConversionParameters
{

View File

@@ -86,7 +86,6 @@
#include <vcl/dllapi.h>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/svgdata.hxx>

View File

@@ -132,7 +132,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -141,7 +141,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -144,7 +144,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/idle.hxx>
#include <vcl/image.hxx>

View File

@@ -94,7 +94,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/outdev.hxx>

View File

@@ -137,7 +137,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>

View File

@@ -125,7 +125,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/impdel.hxx>
#include <vcl/inputctx.hxx>

View File

@@ -126,7 +126,6 @@
#include <vcl/font.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/idle.hxx>

View File

@@ -139,7 +139,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/hatch.hxx>

View File

@@ -140,7 +140,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/group.hxx>
#include <vcl/hatch.hxx>

View File

@@ -134,7 +134,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/image.hxx>

View File

@@ -116,7 +116,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/image.hxx>

View File

@@ -24,7 +24,7 @@
#include <vcl/bitmapex.hxx>
#include <vcl/animate.hxx>
#include <vcl/gdimtf.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/svgdata.hxx>
// - ImpSwapInfo -

View File

@@ -127,7 +127,6 @@
#include <vcl/gdimtf.hxx>
#include <vcl/gfxlink.hxx>
#include <vcl/gradient.hxx>
#include <vcl/graph.h>
#include <vcl/graph.hxx>
#include <vcl/hatch.hxx>
#include <vcl/idle.hxx>