LCOV - code coverage report
Current view: top level - libreoffice/sw/source/filter/inc - fltini.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 3 3 100.0 %
Date: 2012-12-27 Functions: 7 7 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2             : /*
       3             :  * This file is part of the LibreOffice project.
       4             :  *
       5             :  * This Source Code Form is subject to the terms of the Mozilla Public
       6             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       7             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       8             :  *
       9             :  * This file incorporates work covered by the following license notice:
      10             :  *
      11             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12             :  *   contributor license agreements. See the NOTICE file distributed
      13             :  *   with this work for additional information regarding copyright
      14             :  *   ownership. The ASF licenses this file to you under the Apache
      15             :  *   License, Version 2.0 (the "License"); you may not use this file
      16             :  *   except in compliance with the License. You may obtain a copy of
      17             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18             :  */
      19             : #ifndef _FLTINI_HXX
      20             : #define _FLTINI_HXX
      21             : 
      22             : #include <shellio.hxx>
      23             : 
      24             : class SwNumRuleTbl;
      25             : class SwDoc;
      26             : class SwTxtNode;
      27             : class SwNumRule;
      28             : class SwNodeIndex;
      29             : 
      30             : // die speziellen Reader
      31             : 
      32          20 : class HTMLReader: public Reader
      33             : {
      34             :     // wir wollen die Streams / Storages nicht geoeffnet haben
      35             :     virtual int SetStrmStgPtr();
      36             :     virtual sal_uLong Read(SwDoc &, const String& rBaseURL, SwPaM &,const String &);
      37             :     virtual String GetTemplateName() const;
      38             : public:
      39             :     HTMLReader();
      40             : };
      41             : 
      42          30 : class WW1Reader : public Reader
      43             : {
      44             :     virtual sal_uLong Read(SwDoc &, const String& rBaseURL, SwPaM &,const String &);
      45             : };
      46             : 
      47          20 : class XMLReader : public Reader
      48             : {
      49             :     virtual sal_uLong Read(SwDoc &, const String& rBaseURL, SwPaM &,const String &);
      50             : public:
      51             :     virtual int GetReaderType();
      52             : 
      53             :     XMLReader();
      54             : 
      55             :     // read the sections of the document, which is equal to the medium.
      56             :     // returns the count of it
      57             :     virtual size_t GetSectionList( SfxMedium& rMedium,
      58             :                                    std::vector<String*>& rStrings ) const;
      59             : };
      60             : 
      61             : // die speziellen Writer
      62             : 
      63             : void GetWW8Writer( const String&, const String&, WriterRef& );
      64             : 
      65             : 
      66             : // Umsetzen der LRSpaces im aktuell importierten Doc. Die Fremd-Filter
      67             : // liefern immer absolute Werte fuer die Ebenen einer NumRule. Wir
      68             : // verarbeiten jetzt aber relative Werte bezogen auf das LR-Space-Item.
      69             : // Das hat zur Folge, das bei allen Absaetzen die EInzuege der NumRule vom
      70             : // Absatz-Einzug abgezogen werden muss.
      71             : class SW_DLLPUBLIC SwRelNumRuleSpaces
      72             : {
      73             :     SwNumRuleTbl* pNumRuleTbl;  // Liste aller benannten NumRules
      74             : 
      75             : public:
      76             :     SwRelNumRuleSpaces( SwDoc& rDoc, sal_Bool bNewDoc );
      77             :     ~SwRelNumRuleSpaces();
      78             : };
      79             : 
      80             : #define SW_SV_BRUSH_25          0
      81             : #define SW_SV_BRUSH_50          1
      82             : #define SW_SV_BRUSH_75          2
      83             : #define SW_SV_BRUSH_NULL        3
      84             : #define SW_SV_BRUSH_SOLID       4
      85             : #define SW_SV_BRUSH_INVALID     5
      86             : 
      87             : // Get size of fly (if 'automatic' in WW) and check if not too small
      88             : SW_DLLPUBLIC void CalculateFlySize(SfxItemSet& rFlySet, const SwNodeIndex& rAnchor,
      89             :     SwTwips nPageWidth);
      90             : 
      91             : #endif
      92             : 
      93             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10