LCOV - code coverage report
Current view: top level - sw/source/filter/inc - fltini.hxx (source / functions) Hit Total Coverage
Test: commit e02a6cb2c3e2b23b203b422e4e0680877f232636 Lines: 0 3 0.0 %
Date: 2014-04-14 Functions: 0 7 0.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 INCLUDED_SW_SOURCE_FILTER_INC_FLTINI_HXX
      20             : #define INCLUDED_SW_SOURCE_FILTER_INC_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           0 : class HTMLReader: public Reader
      33             : {
      34             :     // wir wollen die Streams / Storages nicht geoeffnet haben
      35             :     virtual int SetStrmStgPtr() SAL_OVERRIDE;
      36             :     virtual sal_uLong Read(SwDoc &, const OUString& rBaseURL, SwPaM &, const OUString &) SAL_OVERRIDE;
      37             :     virtual OUString GetTemplateName() const SAL_OVERRIDE;
      38             : public:
      39             :     HTMLReader();
      40             : };
      41             : 
      42           0 : class WW1Reader : public Reader
      43             : {
      44             :     virtual sal_uLong Read(SwDoc &, const OUString& rBaseURL, SwPaM &, const OUString &) SAL_OVERRIDE;
      45             : };
      46             : 
      47           0 : class XMLReader : public Reader
      48             : {
      49             :     virtual sal_uLong Read(SwDoc &, const OUString& rBaseURL, SwPaM &, const OUString &) SAL_OVERRIDE;
      50             : public:
      51             :     virtual int GetReaderType() SAL_OVERRIDE;
      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<OUString*>& rStrings ) const SAL_OVERRIDE;
      59             : };
      60             : 
      61             : // die speziellen Writer
      62             : 
      63             : void GetWW8Writer( const OUString&, const OUString&, WriterRef& );
      64             : 
      65             : // Umsetzen der LRSpaces im aktuell importierten Doc. Die Fremd-Filter
      66             : // liefern immer absolute Werte fuer die Ebenen einer NumRule. Wir
      67             : // verarbeiten jetzt aber relative Werte bezogen auf das LR-Space-Item.
      68             : // Das hat zur Folge, das bei allen Absaetzen die EInzuege der NumRule vom
      69             : // Absatz-Einzug abgezogen werden muss.
      70             : class SW_DLLPUBLIC SwRelNumRuleSpaces
      71             : {
      72             :     SwNumRuleTbl* pNumRuleTbl;  // Liste aller benannten NumRules
      73             : 
      74             : public:
      75             :     SwRelNumRuleSpaces( SwDoc& rDoc, sal_Bool bNewDoc );
      76             :     ~SwRelNumRuleSpaces();
      77             : };
      78             : 
      79             : #define SW_SV_BRUSH_25          0
      80             : #define SW_SV_BRUSH_50          1
      81             : #define SW_SV_BRUSH_75          2
      82             : #define SW_SV_BRUSH_NULL        3
      83             : #define SW_SV_BRUSH_SOLID       4
      84             : #define SW_SV_BRUSH_INVALID     5
      85             : 
      86             : // Get size of fly (if 'automatic' in WW) and check if not too small
      87             : SW_DLLPUBLIC void CalculateFlySize(SfxItemSet& rFlySet, const SwNodeIndex& rAnchor,
      88             :     SwTwips nPageWidth);
      89             : 
      90             : #endif
      91             : 
      92             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10