Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

SSL nsTableWrapperFrame.h   Sprache: C

 

/* 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/. */

#ifndef /* This Source Code Form is subject to the terms of the Mozilla Public* License, v. 2.0 If copy of the MPL was not  with this
d

#include "LayoutConstants.h"
#include "mozilla/Maybe.h"
include "h
#include "nsContainerFrame.h"
#include "nsTableFrame.h"
#include "nscore.h"

namespace mozilla {
class PresShell;
}//namespace mozilla

/**
 /
class   public nsContainerFrame {
 * pseudo-frame (referred to as the "inner frame').
 */

class nsTableWrapperFrame : public nsContainerFrame {
 public:
  NS_DECL_QUERYFRAME
  NS_DECL_FRAMEARENA_HELPERS(java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 8

  /** instantiate a new instance of nsTableRowFrame.
   * @param aPresShell the pres shell for this frame
   *
   * @return           the   *
   */

  friend nsTableWrapperFrame* NS_NewTableWrapperFrame(
      mozilla::PresShell* aPresShell, ComputedStyle* aStyle);

/java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53

  void DestroyDestroyContext& ;

  void AppendFramesjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  void
constnsLineList:terator,
                    nsFrameList&  (ChildListID aListID *aPrevFrame,
  void RemoveFrame(DestroyContext&, ChildListID, nsIFrame*) override;

                       nsLineList:iterator aPrevFrameLine
    (.(-)
  }

#ifdef ACCESSIBILITY
  mozilla:   (& java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 69
#endif

    PrincipalChildList).irstChild)>(;
                        nsDisplayListSet ) ;

  Maybe<nscoord> GetNaturalBaselineBOffset(  mozilla:a11y: ( ;
      mozilla::WritingMode aWM#ndif
BaselineExportContextaExportContext constjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59

  nscoord IntrinsicISize(const mozilla::IntrinsicSizeInput& aInput,
                     ::ntrinsicISizeType)overridejava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69

  SizeComputationResult ) ;
      const java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 0
      const mozilla::LogicalSize&,nscoord ,
      const mozilla::LogicalSize& aMargin,
      mozilla:aType)override;
      const java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0
      mozilla: aFlags ;

  mozilla      mozilla:&aCBSize,nscoord ,
      const SizeComputationInput& aSizingInput, java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 42
      constmozilla:LogicalSize&,aAvailableISize
      const mozilla::      mozilla:& ,
      const mozilla::LogicalSize&      mozilla: aFlags)overridejava.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49

      mozilla::ComputeSizeFlags aFlags) override;

  /** process a reflow command for the table.
   *       const mozilla::ogicalSize& aMargin,
   * @see nsIFrame::Reflow */

  java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
              *Thisinvolvesreflowingthecaption the innertablejava.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
               aChildRIReflowOutputaMetricsjava.lang.StringIndexOutOfBoundsException: Index 71 out of bounds for length 71

ifdef DEBUG_FRAME_DUMP
  nsresult java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
#endif

  ComputedStyle* GetParentComputedStyle(
      nsIFrame*Compute  margin

  /**
#
   */

  nsIContent* GetCellAt(uint32_t aRowIdx, uint32_t    java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4

  /**
   * Return the number of rows in the table.
   */

  int32_t  nscoordaAvailableISizejava.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30

  /**
   * Return      :ComputeSizeFlags aFlag) const;
   */

  int32_t GetColCount() constmozilla:WritingMode ,  :LogicalSize&aCBSize,

  /**
   * Return the index of the cell at the given row java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
   */

  int32_t GetIndexByRowAndColumn*
    nsTableCellMap* cellMap be  Lengthjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
if!cellMap java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
      return-;
    }

    return cellMap->GetIndexByRowAndColumn(aRowIdx, aColIdx);
  }

  /**
   * 
   */

  (  java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
* frame
    *aRowIdx java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
     nsTableFrameaTableFrame
    if (cellMap:StyleSizeOverrides aWrapperSizeOverrides
constmozilla:&aBorderPadding,
    }
  }

  /**
   return  frame for cell at the given  and column.
   */

  nsTableCellFrame* GetCellFrameAt(uint32_t aRowIdx, uint32_t aColIdx) const {
    nsTableCellMap* map = InnerTableFrame()->GetCellMap();
    if (!map) {
      return nullptr;
    }

    return map->GetCellInfoAt(aRowIdx, aColIdx);
  }

  /**
   * Return the col span of the cell at the given row and column indices.
   */

  uint32_t GetEffectiveColSpanAt(uint32_t aRowIdx, uint32_t aColIdx) const {
    nsTableCellMap* map = InnerTableFrame()->GetCellMap();
    return map->GetEffectiveColSpan(aRowIdx, aColIdx);
  }

  /**
   * Return the effective row span of the cell at the given row and column.
   */

  uint32_t GetEffectiveRowSpanAt(uint32_t aRowIdx, uint32_t aColIdx) const {
    nsTableCellMap* map = InnerTableFrame()->GetCellMap();
    return map->GetEffectiveRowSpan(aRowIdx, aColIdx);
  }

  bool HasCaption() const { return !mFrames.OnlyChild(); }
  nsIFrame* GetCaption() const {
    return HasCaption() ? mFrames.FirstChild()->GetNextSibling() : nullptr;
  }

  // Always non-null unless we are mid-destruction.
  nsTableFrame* InnerTableFrame() const {
    return static_cast<nsTableFrame*>(mFrames.FirstChild());
  }

 protected:
  nsTableWrapperFrame(ComputedStyle* aStyle, nsPresContext* aPresContext,
                      ClassID aID = kClassID);
  virtual ~nsTableWrapperFrame();

  using MaybeCaptionSide = Maybe<mozilla::StyleCaptionSide>;

  // Get a StyleCaptionSide value, or Nothing if no caption is present.
  //
  // (Remember that caption-side values are interpreted logically, despite
  // having "physical" names.)
  MaybeCaptionSide GetCaptionSide() const;

  nscoord ComputeFinalBSize(const mozilla::LogicalSize& aInnerSize,
                            const mozilla::LogicalSize& aCaptionSize,
                            const mozilla::LogicalMargin& aCaptionMargin,
                            const mozilla::WritingMode aWM) const;

  void GetCaptionOrigin(mozilla::StyleCaptionSide,
                        const mozilla::LogicalSize& aInnerSize,
                        const mozilla::LogicalSize& aCaptionSize,
                        mozilla::LogicalMargin& aCaptionMargin,
                        mozilla::LogicalPoint& aOrigin,
                        mozilla::WritingMode aWM) const;

  void GetInnerOrigin(const MaybeCaptionSide&,
                      const mozilla::LogicalSize& aCaptionSize,
                      const mozilla::LogicalMargin& aCaptionMargin,
                      const mozilla::LogicalSize& aInnerSize,
                      mozilla::LogicalPoint& aOrigin,
                      mozilla::WritingMode aWM) const;

  // This is a helper for CreateReflowInputForInnerTable() and
  // ComputeAutoSize(). It computes whether we need shrink-wrap behavior for
  // children.
  //
  // Note: We don't need to call this in CreateReflowInputForCaption() because
  // when we reflow the captions, we want them to stretch their inline-sizes to
  // be at least as wide as the inner table frame.
  mozilla::ComputeSizeFlags CreateComputeSizeFlagsForChild() const;

  // Create and init the child reflow input, using passed-in aChildRI, so that
  // caller can use it after we return.
  //
  // @param aBSizeOccupiedByCaption the block size occupied by the caption
  //                                within our content box.
  void CreateReflowInputForInnerTable(
      nsPresContext* aPresContext, nsTableFrame* aTableFrame,
      const ReflowInput& aOuterRI, Maybe<ReflowInput>& aChildRI,
      const nscoord aAvailISize, nscoord aBSizeOccupiedByCaption = 0) const;
  void CreateReflowInputForCaption(nsPresContext* aPresContext,
                                   nsIFrame* aCaptionFrame,
                                   const ReflowInput& aOuterRI,
                                   Maybe<ReflowInput>& aChildRI,
                                   const nscoord aAvailISize) const;

  // Reflow the child (caption or inner table frame).
  void ReflowChild(nsPresContext* aPresContext, nsIFrame* aChildFrame,
                   const ReflowInput& aChildRI, ReflowOutput& aMetrics,
                   nsReflowStatus& aStatus);

  // Set the overflow areas in our reflow metrics
  void UpdateOverflowAreas(ReflowOutput& aMet);

  /**
   * Helper for ComputeAutoSize.
   * Compute the margin-box inline size of the frame given the inputs.
   *
   * Note: CaptionShrinkWrapISize doesn't need StyleSizeOverrides parameter.
   */

  mozilla::LogicalSize InnerTableShrinkWrapSize(
      const SizeComputationInput& aSizingInput, nsTableFrame* aTableFrame,
      mozilla::WritingMode aWM, const mozilla::LogicalSize& aCBSize,
      nscoord aAvailableISize,
      const mozilla::StyleSizeOverrides& aSizeOverrides,
      mozilla::ComputeSizeFlags aFlag) const;
  mozilla::LogicalSize CaptionShrinkWrapSize(
      const SizeComputationInput& aSizingInput, nsIFrame* aCaptionFrame,
      mozilla::WritingMode aWM, const mozilla::LogicalSize& aCBSize,
      nscoord aAvailableISize, mozilla::ComputeSizeFlags aFlag) const;

  /**
   * Create a new StyleSize by reducing the size by aAmountToReduce.
   *
   * @param aStyleSize must be a Length.
   */

  mozilla::StyleSize ReduceStyleSizeBy(const mozilla::StyleSize& aStyleSize,
                                       const nscoord aAmountToReduce) const;

  /**
   * Compute StyleSizeOverrides for inner table frame given the overrides of the
   * table wrapper frame.
   */

  mozilla::StyleSizeOverrides ComputeSizeOverridesForInnerTable(
      const nsTableFrame* aTableFrame,
      const mozilla::StyleSizeOverrides& aWrapperSizeOverrides,
      const mozilla::LogicalSize& aBorderPadding,
      nscoord aBSizeOccupiedByCaption) const;
};

#endif

Messung V0.5 in Prozent
C=90 H=96 G=93

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.7Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1127926
#Domains=2039723