diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-11 16:17:06 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-12-11 19:11:01 +0200 |
commit | a643222794fa0d0e76d18fc59cf9ef3c5ea5188f (patch) | |
tree | 055e8a5bcf82d2c8d00a3c791ad2a37cc5cef4f8 /include/vcl/graph.hxx | |
parent | e67a834c5d1a14889ab97b79df5b579934f27c30 (diff) |
No need for a separate <vcl/graph.h>
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
Diffstat (limited to 'include/vcl/graph.hxx')
-rw-r--r-- | include/vcl/graph.hxx | 41 |
1 files changed, 35 insertions, 6 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index d102d4f30d7a..81df1a4508f6 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -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;} } } } +namespace vcl { class Font; } +class GfxLink; +class ImpGraphic; +class OutputDevice; +class ReaderData; -// - Graphic - +class VCL_DLLPUBLIC GraphicReader +{ +protected: + OUString maUpperName; + ReaderData* mpReaderData; -class ImpGraphic; -class OutputDevice; -namespace vcl { class Font; } -class GfxLink; + 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 { |