We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot convert doc to swf in Chinese charhttps://drive.google.com/file/d/0B4bFD2hr7qvNb2FFMXhiZE8wb2M/view?usp=sharing

I am testing Aspose.Word,I’d convert doc to swf

and got a problem as follow link


I trying the sample code as bellow

public void HideControls()
    //ExSummary:Shows how to choose which controls to display in the embedded document viewer.
    Document doc = new Document(MyDir + "Document.doc");
    // Create an instance of SwfSaveOptions and set some buttons as hidden.
    SwfSaveOptions options = new SwfSaveOptions();
    // Hide all the buttons with the exception of the page control buttons. Similar flags can be used for the left control pane as well.
    options.TopPaneControlFlags = SwfTopPaneControlFlags.HideAll | SwfTopPaneControlFlags.ShowActualSize |
    SwfTopPaneControlFlags.ShowFitToWidth | SwfTopPaneControlFlags.ShowFitToHeight |
    SwfTopPaneControlFlags.ShowZoomIn | SwfTopPaneControlFlags.ShowZoomOut;
    // You can also choose to show or hide the main elements of the viewer. Hide the search control.
    options.ShowSearch = false;
    doc.Save(MyDir + "SwfSaveOptions.HideControls Out.swf", options);

Hi Nick,

Thanks for your inquiry. Could you please attach your input Word documents here for testing? I am not an expert in Chinese language, so please create and attach a screenshot which highlights the problematic areas in Aspose.Words generated output here for our reference. We will investigate the issue on our end and provide you more information.

Best regards,