Beispiel #1
0
        //------------------------------------------------------------------------------

        public LayoutBuilder(Context context)
        {
            mContext = context;

            mStyle   = new Style();
            mLink    = null;
            mTooltip = null;
            mWord    = new StringBuilder(1024);

            mIndent = 0.0f;

            mDocument         = new BlockContainer(mIndent);
            mCurrentContainer = mDocument;
            mCurrentBlock     = null;
            mCurrentContent   = null;
        }
Beispiel #2
0
 public Layout(Context context, BlockContainer doc)
 {
     mContext  = context;
     mDocument = doc;
 }