2007-06-12 06:10:23 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
1999-09-21 02:12:01 +00:00
|
|
|
|
|
|
|
#ifndef nsMathMLmmultiscriptsFrame_h___
|
|
|
|
#define nsMathMLmmultiscriptsFrame_h___
|
|
|
|
|
|
|
|
#include "nsCOMPtr.h"
|
|
|
|
#include "nsMathMLContainerFrame.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
// <mmultiscripts> -- attach prescripts and tensor indices to a base
|
|
|
|
//
|
|
|
|
|
|
|
|
class nsMathMLmmultiscriptsFrame : public nsMathMLContainerFrame {
|
|
|
|
public:
|
2009-09-12 16:49:24 +00:00
|
|
|
NS_DECL_FRAMEARENA_HELPERS
|
|
|
|
|
2006-03-26 21:30:36 +00:00
|
|
|
friend nsIFrame* NS_NewMathMLmmultiscriptsFrame(nsIPresShell* aPresShell, nsStyleContext* aContext);
|
1999-09-21 02:12:01 +00:00
|
|
|
|
2002-02-01 15:10:50 +00:00
|
|
|
NS_IMETHOD
|
2005-02-07 01:57:50 +00:00
|
|
|
TransmitAutomaticData();
|
2002-02-01 15:10:50 +00:00
|
|
|
|
2008-03-18 04:52:48 +00:00
|
|
|
virtual nsresult
|
2011-04-08 01:04:40 +00:00
|
|
|
Place(nsRenderingContext& aRenderingContext,
|
2011-09-29 06:19:26 +00:00
|
|
|
bool aPlaceOrigin,
|
2006-08-03 23:27:55 +00:00
|
|
|
nsHTMLReflowMetrics& aDesiredSize);
|
1999-09-21 02:12:01 +00:00
|
|
|
|
|
|
|
protected:
|
2006-03-26 21:30:36 +00:00
|
|
|
nsMathMLmmultiscriptsFrame(nsStyleContext* aContext) : nsMathMLContainerFrame(aContext) {}
|
1999-09-21 02:12:01 +00:00
|
|
|
virtual ~nsMathMLmmultiscriptsFrame();
|
|
|
|
|
2012-08-09 07:09:40 +00:00
|
|
|
virtual int GetSkipSides() const { return 0; }
|
2000-01-07 14:49:46 +00:00
|
|
|
|
2000-01-14 08:38:25 +00:00
|
|
|
private:
|
2000-01-26 06:49:38 +00:00
|
|
|
nscoord mSubScriptShift;
|
|
|
|
nscoord mSupScriptShift;
|
2002-02-07 04:38:08 +00:00
|
|
|
|
|
|
|
void
|
2005-02-07 01:57:50 +00:00
|
|
|
ProcessAttributes();
|
1999-09-21 02:12:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* nsMathMLmmultiscriptsFrame_h___ */
|