OpenXML Filter: introduce font mappings for PPTX documents

Issue #958 resolved
Denis Konovalyenko created an issue

This is a follow up for issues #926, #937. The already available common font mapping solution has to be applied to the corresponding font properties of the PPTX documents.

Comments (5)

  1. Denis Konovalyenko reporter

    A bit more technical information on the areas where the font mapping can be applied:

    <lnDef> (§5.1.4.1.20); <rich> (§5.7.2.157); <spDef> (§5.1.4.1.27); <t>
       (§5.9.3.8); <txBody> (§5.8.2.26); <txBody> (§5.1.2.1.40); <txBody>
       (§5.6.2.33); <txBody> (§4.4.1.47); <txDef> (§5.1.4.1.28); <txPr>
       (§5.7.2.217)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    
    <userShapes> (§5.7.2.221) (User Shapes) (This element shall specify the shapes drawn on top of the chart.)
    > <absSizeAnchor> (§5.8.2.1) (Absolute Anchor Shape Size) | <grpSp> (§5.8.2.13) (Group Shape) | <relSizeAnchor> (§5.8.2.21) (Relative Anchor Shape Size)
    > <sp> (§5.8.2.22) (Shape)
    > <txBody> (§5.8.2.26) (Shape Text Body)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    
      <catAx> (§5.7.2.25); <chartSpace> (§5.7.2.29); <dateAx> (§5.7.2.39);
       <dispUnitsLbl> (§5.7.2.46); <dLbl> (§5.7.2.47); <dLbls> (§5.7.2.49);
       <dTable> (§5.7.2.54); <legend> (§5.7.2.94); <legendEntry> (§5.7.2.95);
       <pivotFmt> (§5.7.2.143); <serAx> (§5.7.2.176); <title> (§5.7.2.211);
       <trendlineLbl> (§5.7.2.213); <valAx> (§5.7.2.227)
    > <txPr> (§5.7.2.217) (Text Properties) This element specifies text formatting. The lstStyle element is not supported!
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    
    <theme> (§5.1.8.9) (Root element of DrawingML Theme part)
    > <objectDefaults> (§5.1.8.7)
    > <lnDef> (§5.1.4.1.20) | <spDef> (§5.1.4.1.27) | <txDef> (§5.1.4.1.28)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <layoutDef> (§5.9.2.16) (Layout Definition) (Root element of DrawingML Diagram Layout Definition part)
    > <clrData> (§5.9.2.7) (Color Transform Sample Data) | <sampData> (§5.9.2.26) (Sample Data) | <styleData> (§5.9.2.29) (Style Data)
    > <dataModel> (§5.9.2.10) (Data Model)
    > <ptLst> (§5.9.3.6) (Point List)
    > <pt> (§5.9.3.5) (Point)
    > <t> (§5.9.3.8) (Text Body)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <plotArea> (§5.7.2.146) (Plot Area)
    > <valAx> (§5.7.2.227) (Value Axis)
    > <dispUnits> (§5.7.2.45) (Display Units)
    > <dispUnitsLbl> (§5.7.2.46) (Display Units Label)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <plotArea> (§5.7.2.146) (Plot Area)
    ...
    > <area3DChart> (§5.7.2.4); <areaChart> (§5.7.2.5); <bar3DChart>
       (§5.7.2.15); <barChart> (§5.7.2.16); <bubbleChart> (§5.7.2.20);
       <doughnutChart> (§5.7.2.50); <line3DChart> (§5.7.2.97); <lineChart>
       (§5.7.2.98); <ofPieChart> (§5.7.2.127); <pie3DChart> (§5.7.2.141);
       <pieChart> (§5.7.2.142); <radarChart> (§5.7.2.154); <scatterChart>
       (§5.7.2.162); <ser> (§5.7.2.168); <ser> (§5.7.2.173); <ser> (§5.7.2.174);
       <ser> (§5.7.2.175); <ser> (§5.7.2.172); <ser> (§5.7.2.169); <ser>
       (§5.7.2.170); <stockChart> (§5.7.2.199)
    > <dLbls> (§5.7.2.49) (Data Labels)
    > <dLbl> (§5.7.2.47) (Data Label)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <pivotFmts> (§5.7.2.144) (Pivot Formats)
    > <pivotFmt> (§5.7.2.143) (Pivot Format)
    > <dLbl> (§5.7.2.47) (Data Label)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <plotArea> (§5.7.2.146) (Plot Area)
    > <catAx> (§5.7.2.25) (Category Axis Data) | <dateAx> (§5.7.2.39) (Date Axis) | <serAx> (§5.7.2.176) (Series Axis) | <valAx> (§5.7.2.227) (Value Axis)
    > <title> (§5.7.2.211) (Title)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <title> (§5.7.2.211) (Title)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    
    <chartSpace> (§5.7.2.29) (Chart Space) (Root element of DrawingML Chart part)
    > <chart> (§5.7.2.27) (Chart)
    > <plotArea> (§5.7.2.146) (Plot Area)
    ...
    > <ser> (§5.7.2.175); <ser> (§5.7.2.172); <ser> (§5.7.2.169); <ser>
       (§5.7.2.168); <ser> (§5.7.2.174)
    > <trendline> (§5.7.2.212) (Trendlines)
    > <trendlineLbl> (§5.7.2.213) (Trendline Label)
    > <rich> (§5.7.2.157) (Rich Text)
    > <tx> (§5.7.2.215) (Chart Text)
    > <lstStyle> (§5.1.5.4.12) (Text List Styles)
    > <defPPr> | <lvl*pPr>
    > buFont | defRPr
    

  2. Log in to comment